Answer the question
In order to leave comments, you need to log in
What approach to learn web programming (html+js+php) to use?
Hello. I am a noob, but I want to become a cool pro. The fact is that now I have a small crisis in learning web programming. I got acquainted and practiced in layout (html, css, less), in js (more precisely in jquery), now I'm studying PHP, and I understand that porridge is starting to form in my head. The study and practice takes several months, this direction is set by the boss, but recently the process has seriously stalled. I will say right away: the teacher from the head is not very good. Actually the question is: what approach to use for the most effective development of the web? What should you pay special attention to, what did you use?
Answer the question
In order to leave comments, you need to log in
You set a task for yourself - you complete it. That's the whole move. You should not be afraid to set tasks and set them "on the stretch", i.e. so that the task contains an element that has not yet been used.
My path is as follows:
First of all, I created a site with a simple user authorization.
The second thing I found was a simple layout of the site, and pulled this authorization there, made hidden sections, etc.
The third thing I moved the whole thing from a simple function.php file to classes, looked at how it works where in classes, in general, I got used to OOP.
The fourth step was the analysis of the MVC model on the opencart online store engine, in which, in my opinion, the mvc model is clearly expressed.
Next - real tasks and into battle
Learn the basics of html + css layout. What could do the simplest pages. When learning php and js, you will constantly come across html structures, so you need to be well versed in them.
If divided by steps, then I did it like this:
1. HTML + CSS htmlbook.ru/samhtml tutorial on this site is enough to understand the basics
2. PHP + SQL, I advise you to look for video lessons in this case. Personally, I perceive information better when I watch an hour of lectures on occasion than when I give an hour lecture.
3. JavaScript learn.javascript.ru is a very good tutorial in my opinion. Enough for the basics. But you can also search for video tutorials.
4. jQuery is considered to be better to learn javascript first, and then jquery
5.Ajax
You need to know the basic syntax of any of the languages initially in BLOCKS with mini-tasks.
For example:
JS - structure, variables, basic operations with variables, cycles / conditions / arrays
(THIS IS NOT jquery !!!!)
PHP - the same ... + working with the base (files and sockets - then, no complicated functions from the manual!!!!)
HTML - page structure, basic elements, forms (NO HTML5 at the beginning!!!)
Then, when everything is more or less clear, you start applying this knowledge together in one project.
The simplest way to consolidate the material is to submit a form of 3-4 different data types with validation AND on the client AND on the server and output with the ability to search, paginate and sort by various criteria. (for example, the "reviews and ratings" functionality)
The main "whales" for quick work with user information:
HTML - layout and visualization of information,
JS - "live" HTML interface (object manipulation), checking, processing and sending data to the server,
PHP (mysql) - working with data on the server
and I first studied the basics of php, then html, then js, after I mastered the languages themselves, I created my own mvc framework in php, it's not difficult, interesting and useful. In the process of creating the framework, I wrote a simple blog, then we were given the task of writing a simple social network with messages on this framework in just 2 days. All this allowed me to understand mvc, how to delve into mysql and be more confident in php, js, html
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question