Online Search for Web development learning methods, found that there is a good writing on the page, just extract a part as a summary here. The main worry and Wayne Shi's answer.
https://www.zhihu.com/question/22646257
Recommended learning sequence: HTML, CSS, JS, Apache, PHP, MySQL
The latter three are need to install software, recommended Wamp, excellent one-stop environment configuration, wampserver, the Web development platform on Windows directly includes Apache, PHP, MySQL three software, save yourself a one-pack .
A lot of people in the comments asked Mac OS corresponding software, here to add: XAMPP installers and Downloads for Apache Friends
- First of all to learn HTML, CSS, these two things is a set of, very easy to understand, the w3school above the tutorial will be over again, remember to one after another, do not lazy, once you start lazy, you will become more and more lazy, and finally nothing. HTML tutorials, CSS tutorials
- The next step is to learn JS, JS compared to the first two will be more difficult, because JS is a formal programming language, the same, W3school tutorial all over again, JavaScript tutorial, the tutorial is over to buy books to see, strongly recommend a Super good primer: "JavaScript DOM programming art (2nd edition) (Jeremy Keith,jeffrey sambells) "Summary book review probation", seriously learn, read more, after reading to learn jquery, this time you can basically understand the language library, jquery also directly over W3school tutorial, jquery Tutorial. jquery will, basically your web development front-end has been introduced, if you learn a solid, repeated look, in fact, you can be competent front-end development work, but browser compatibility is not solved, but your goal is not front-end engineer, browser compatibility does not matter.
- In the second step when you learn JS, you may be exposed to some back-end things, yes, Ajax. This is required to return data from the backend. This time you have to start to learn PHP, the introduction of PHP than JS will be more troublesome, because running PHP need to have a lot of details to deal with, so a good introductory book is very important, this w3school above PHP can not help anything, recommend a book: "PHP and MySQL Web Development (Original book 4th edition) "([O] Willie, [O] Thomson)" Summary book Review Probation ", of course, you will encounter a variety of problems in the process, but if you learn this step, very welcome to your private messages I come to study, I absolutely help, now willing to learn too little children, and the master in high school, too difficult to It's expensive.
- Some points of attention, learning HTML, CSS, JS, as long as there is enough browser, do not need to install WAMP, editor recommended Sublime, more Google, more knock code, especially multi-knock code is very important, do not knock code you learn nothing. The rest reminds me to add.
1. HTML
Web site production based on the browser to open any page, to see its source code is seen in the HTML. Because HTML is the final form of Web page representation. All of the content of the site page needs to be displayed through HTML, so the basics of learning PHP must be html,html is simple, it doesn't even count as a programming language, but a markup language. HTML is some label, the content of the page is placed in a label.
2. CSS
Learn HTML, know how the content of the page is displayed. Then we can make the page more beautiful (after all, this is a look at the face of the Times ~), usually we see those beautiful web pages, most of them are through the CSS to beautify. CSS code is a number of style attributes, these style attributes are added to the HTML element, the corresponding HTML elements of the style will be changed by CSS, it will quickly learn, because writing HTML and CSS can be directly on the browser to see the effect, very interesting!
3. JavaScript
JavaScript is a bit more difficult than HTML and CSS, but getting started is easy, and it's going to be a lot easier to learn with tutorial exercises. Now JavaScript is fired relatively fire (libraries and frameworks fly, most of the use of jquery), but learning Good foundation is the most important, is called original aim. Learning to build a website, of course, must do hands-on, Consolidate good foundation. Learning JavaScript, many of the concepts in PHP are understood, because many things in the programming language are interlinked.
4. MySQL
For MySQL database, you can learn the basis on the line, to be proficient in the database to "delete and change" operation is enough. After learning PHP, and then to deepen the study of MySQL, this will be more effective. The database is not as difficult to understand as it is imagined.
5. LAMP
Lamp is Linux, Apache, MySQL, and PHP. In the experimental building of the experimental environment, has set up the lamp environment, learning PHP when the Lord will not waste time to toss up the environment, you can first see how the lamp collaboration. Start experimenting in the lab building, create a lamp environment, and save the code for a long time. When PHP learns about it, and then learns how to build the lamp environment and deploy it to the production environment, then it doesn't feel so abstract as lamp.
6. PHP
After the introduction of HTML, CSS and JavaScript, for programming already have their own understanding, at this time to learn PHP is much easier, at least know variables, statements, functions, objects and so on, the process of learning will be a lot of confidence. Learn the basic course experiment first, then follow the experiment building to do some small projects, practice the truth, deepen the understanding of PHP. At this time to see the code inside WordPress, you will find that most of the PHP code can read.
The following is the course address in the picture, all free, you can watch the tutorial side of the practical exercises.
1. Getting Started with web-html basics
2. Web-css Crash Tutorials
3. Web-javascript Foundation (new version)
4. Sql-mysql Reference Manual Chinese version
5. Linux-lamp Deployment and Configuration
6. php-php programming language
Web Development Learning Guide