What is the learning sequence of HTML, CSS, JavaScript, PHP, and MySQL?

Source: Internet
Author: User
Tags getting started with php php server php programming language
Thank you for your answers! A few days ago, I had a strong interest in creating a website. Are these things on the title a complete set of knowledge required to build a website? Are there other things to learn? How to arrange the learning sequence? Thank you! PS: I heard that there is another apache, which seems to be a server software. Do you need to study it separately? Thank you for your answers!
A few days ago, I had a strong interest in creating a website.
Are these things on the title a complete set of knowledge required to build a website?
Are there other things to learn?
How to arrange the learning sequence?
Thank you!

PS: I heard that there is another apache, which seems to be a server software. Do you need to study it separately? Reply: If you have been patient for more than a year, I will recommend HTML, css, js, apache, php, mysql

The last three are software packages. We recommend wamp, an excellent one-stop environment configuration, WampServer, and the web development platform on Windows. It directly includes three software: apache, php, and mysql, and saves the need to install them one by one.
Many people asked the corresponding software in mac OS in their comments. Here, I will add: XAMPP Installers and Downloads for Apache Friends.

  1. First of all, I want to learn about HTML and css. These two things are a set of things that are easy to understand. I will go through the tutorials on w3school once. Remember to go through them one by one and never be lazy, once you start to get lazy, you will become more and more lazy and never learn anything. HTML tutorial, CSS tutorial
  2. The next step is to learn js. js is much harder than the first two, because js is a formal programming language. Similarly, w3school's tutorials are all over again. JavaScript tutorialsAfter completing the tutorial, I can buy books and read them. I strongly recommend a great beginner book: JavaScript DOM programming art (version 2nd) (Jeremy Keith, Jeffrey Sambells). [Abstract: Book Review trial]Learn it carefully. Read more. Learn jquery after reading it. At this time, you can basically understand the language library. jquery also goes through the w3school tutorial and jQuery tutorial.. Jquery will be ready. Basically, you are getting started with the front-end of web development. If you have learned a lot and read it over and over again, you will be competent for front-end development, however, browser compatibility cannot be solved, but you are not a front-end engineer. It doesn't matter whether you understand browser compatibility.
  3. When you are learning js in step 2, you may be exposed to some backend things, that is, ajax. this requires the backend to return data. at this time, you have to start learning php. Getting started with php is more troublesome than js. Because running php requires a lot of details to handle, a good getting started book is very important, the php above w3school can't help much. I recommend a book: php and mysql web Development (formerly known as version 4th) ([Australian] Willi, [Australian] Tomson) [Abstract: Book Review trial]Of course, you may encounter various problems in this process. However, if you have learned this step, you are welcome to trust me to learn it. I am absolutely helpful, at present, there are too few children willing to study, and the subject is only in high school, which is so commendable.
  4. Note: When learning HTML, css, and js, you only need a browser. You do not need to install wamp. The editor recommends sublime. You can use google and code more, in particular, it is very important to think about code multiple times. You can't do anything without coding. let's try other things.

For those who talk about joining the xxx camp, ignore them and learn from win directly. php and apache are very compatible with win, so they can learn from the basics without having to touch linux. of course, if your website is eventually launched, you still need to contact the linux server for deployment. when deployment is required, it is a waste of time to get started with linux in advance. these are the basic knowledge points that PHP engineers need to learn. PHP is the best programming language in the world (Escape ~~~).

WordPress, the most popular blog system on the earth, is the most successful proof of PHP. I believe many people have access to PHP through WordPress ~~ There are also good and stable blog systems such as Typecho in China, and there are also many forums written by PHP, such as Discuz! And PHPWind. CMS systems written in PHP Include PHPCMS and dedeCMS. PHP is widely used on websites ~

If you want to get started with PHP, refer to the learning sequence for the knowledge points mentioned by the subject, from the php r & D engineer of the lab building. Learning path.
1. HTML 1. HTML
As the foundation for website creation, the browser opens any web page and views its source code as HTML. Because HTML is the final form of website pages. All the content on the website page needs to be displayed in HTML. Therefore, the foundation for learning PHP is HTML. HTML is very simple. It cannot even be regarded as a programming language, but a markup language. HTML is some tags, and the content of the page is placed in one tag.
2. CSS
After learning HTML, you can see how the page content is displayed. Can we make the page more beautiful? (after all, this is an era of face-watching ~), Most of the beautiful website pages we see are beautified by CSS. CSS codes are all style attributes. When these style attributes are added to the HTML element, the style of the corresponding HTML element will be changed by CSS and will be learned quickly, it is very interesting to write HTML and CSS on the browser!
3. JavaScript
JavaScript is a little more difficult than HTML and CSS, but it is easy to get started, and it will be easier to learn with the tutorial. Today, JavaScript is quite popular (libraries and frameworks are full of space, and jQuery is the most popular). However, a good foundation for learning is the most important thing. It is the so-called changing things. To learn how to build a website, you must work hard to consolidate the foundation. I learned JavaScript and understood many concepts in PHP, because many things in programming languages are the same.
4. MySQL
For the MySQL database, you can learn the basics first. It is enough to skillfully perform the [add, delete, modify, and query] operation on the database. After learning PHP, you can learn more about MySQL. Databases are not as difficult as you might think.
5. LAMP
LAMP is Linux, Apache, MySQL, and PHP. In the experiment environment of the experiment building, the LAMP environment has been set up. When learning PHP, you don't have to waste time building the environment. You can first check how LAMP works together. When you start the experiment in the lab building, a LAMP environment is created and the code can be saved for a long time. After learning PHP, I will learn how to build a LAMP environment and deploy it to the production environment. In this case, I will not think LAMP is so abstract.
6. PHP
After getting started with HTML, CSS, and JavaScript, you already have your own understanding of programming. At this time, learning PHP is much easier. At least you know the variables, statements, functions, objects, and so on, you will also have a lot of confidence in the learning process. First, I learned the basic course experiment, and then followed the lab building to do more small projects, practice the truth, and deepen my understanding of PHP. Now let's look at the code in WordPress and we will find that most PHP code can be understood. I want to modify the WordPress theme in a small case ~. You can customize the WordPress function ~ \ (Too many rows )/~

The following is the course address shown in the figure. All courses are free of charge. You can view the tutorial and practice.
1. Web-HTML Basics
2. Web-CSS quick tutorial
3. Web-Javascript BASICS (new version)
4. SQL-MySQL reference manual Chinese Version
5. Linux-LAMP deployment and Configuration
6. PHP-PHP programming language As a developer, I have been exploring the fire pit, engaged in web development for many years, trained countless bugs, and killed countless bugs until I was born. I have something to say: Try to learn first to make yourself feel fulfilled.

PHP is really a wonderful language, and he will be happy to bring you an entry. When you learn something about it, you will find that you already have a bunch of kindergarten children-like languages, what are HTML, javascript, xml, SQL, and so on? You also know the server configuration and some superficial system knowledge. When you learn other languages, such as c/c ++, java, python, ruby, and so on, one day you will be overwhelmed by the ugly appearance of php, if you want to see whether there is a beautiful mind under this ugly appearance, you will see its source code. As a result, you find that you are not clear about the Compilation Principle and data structure, you'll see this again. When you are learning happily, the company calls and says there is something wrong with the server. You suspect it is a configuration problem, and you will explore the server like an adventurer, you also find that you need to have a clear understanding of the system for better server configuration. Your beloved web server system should be linux, you have read a lot of books about linux, kernel parsing, and network protocol implementation principles .. A wild King Kong warrior was born.

There are many programmers on the Internet who despise the chain. It seems that php is in a relatively low grade, fortunately, the contempt chain is just the crystallization of attacks and relaxation between some coops when writing code and writing crazy, and then spread around by the ignorant ape, at least I think so. Programming Language is just a tool. It is more important to strengthen your internal skills. each language has its own suitable field. If you have to use a steel saw to cut firewood, I am happy to make friends with such people. What is the learning sequence of HTML, CSS, JavaScript, PHP, and MySQL?

That's right. The learning sequence you listed is very correct. I learned from my computer and finally built my own website. D2CN is mine.

HTML is a Web markup language and a language that the browser can read. If you want your webpage to be visible to others, you must learn HTML. Not to mention whether or not you want to build a website, as long as you want the browser to correctly display what you write, you need to understand HTML.
HTML editing tool is the starting point is very low, ms word can be done. You can save it as an HTM document and open it in notepad to see the HTML code, which is easy to understand. Buy an HTML book.

When I get started with HTML, I just know how to get started with webpage editing. To build a website, you need to understand CSS. CSS Chinese name: "stacked style sheet ". To put it simply, CSS is strictly not a language, but it uses the HTML Tag Method and is nested in a webpage. Syntax is relatively direct, most of which are document formatting terms. The format class can be customized or called externally (nested ). If it is external nesting, you will basically use the website building knowledge. But it doesn't matter. These can still be simulated on your local computer, and you don't really need a server.

JavaScript is also a Javascript code segment embedded in HTML with the HTML Tag code. The syntax is Javascript syntax. The reason is that HTML functions are actually limited. Most of them are static presentations without interaction capabilities. JavaScript allows some special effects on webpages. Early Browsers Do not support JavaScript, but the current Browsers Do Not.
I would like to thank some friends for correcting my descriptive mistakes. At that time, the typing was too urgent and the words were taken by surprise. Thank you.

The above three codes are only interpreted and run based on the browser, and can be completely independent of the server. You can write in a folder on your local computer. You can also use a browser to play these things in this folder without the support of the server.

The above three codes are even more powerful, and the page is just one or some pages. Without the support of programs or databases, even if these pages are pretty, they will not be able to generate a large scale response to external data requests. At this time, the Dynamic page (Dynamic Webpage) is required. To implement Dynamic Webpage, you need to use Dynamic programming languages such as Php or Aspx, as described below.

Php programming languages cannot be executed by browsers, but can be run by Web server software (such as Apache) installed with php interpretation plug-ins. Send the result to the client browser according to the program settings when running on the server. The result can be an HTML page. In other words, the server is running the php program, but on the client, you only receive one html page, in this way, you can see what the server wants to show you in your browser. This action can interact with each other. You can ask the server for your request. The server will return specific HTML content (including Javascript and CSS) based on programming ). It can be the content in the database or other types of content, as long as php can be implemented. The syntax structure of php is similar to that of C or Java. It is not difficult to understand Php with a little programming experience.

With php, there is no dynamic web page that relies solely on php statements. It is usually used with databases, that is, Mysql. Mysql is only one of the common database systems. It is free of charge on UNIX-like systems and has good performance. Therefore, many users use Mysql. Many commercial websites use UNIX-like servers with Mysql to avoid copyright disputes and costs.
Mysql cannot be a language. It is just a database system. SQL is the basic standard language for accessing and querying database servers in the database industry. You need to learn this before preparing an appropriate query. In general, in your example, set the database query parameters in php and write the query statement. The php server sends a query request to the mysql server, and the mysql server returns the query result to you. Php then, based on the query results, after proper processing and HTML tagging, returns to the client browser to complete a page operation.

Congratulations, now you see Dynamic webpage, as you have seen so many words that I have actually been known to be in their database mysql, when you click my answer title, you actually send a request to zhihu's server, which is received by zhihu's server, query data (php can be used for this query), get this answer, and send it to php on the Apache server for processing. php gets this result and sends the answer at the same time, you can also view the author's name and materials and start formatting (HTML) and beautifying (CSS + JavaScript ). You can also obtain the same effect by clicking others' answers, but the answer content is different, which is the meaning of Dynamic Webpage.

Finally, you don't need to know how to set up a server immediately. There are also many virtual hosts. You can rent a free trial. However, to build a website, you must know the language above. A beginner can also answer this question...

Half a year ago, I started to learn HTML, CSS, and JavaScript For a single game. Of course, the results of the game can be imagined, but it aroused my enthusiasm for learning Web.
After the competition, I started learning about things. At that time, I followed a video tutorial to learn the most basic HTML and CSS. I bought a book for JavaScript and wrote several pages.
However, the website requires the backend. I checked it and found that Apache, PHP, and MySQL have a good relationship. I bought the PHP and MySQL Web development document and found a rough idea.
Then I started to build my blog, set up a server environment on my computer, and set up various configurations. At the beginning, it was really big. After writing about it, I hope everyone can see their work (or semi-finished product o), find Sina SAE, and put their blog on it, nothing can stamp it: http: http://zjzhome.sinaapp.com .

At this time, we found that half a year has passed .................. In addition, there is still a long way to go, and all kinds of knowledge attack you."

Bytes ------------------------------------------------------------------------------------------------------------------------------

After reading the Answer time, after such a long period of time, someone will pay attention to it and update it. It was too bad.

HTML, CSS, and JavaScript are closely linked, and they can be learned together. You don't have to separate them. The frontend and backend interaction of ajax requires the backend. php needs to learn how to store some data for a long time and does not want to store files. It must be connected to the database...

Let's talk about the blog and try again, which is much better than the previous one (how bad the previous one was ...)

Finally, make a small advertisement (the main purpose of the update): Small Group: 319465338 HTML, CSS, and JavaScript. We suggest you try to learn Node. js and Mongodb do not have to learn PHP and MySQL
Are these things on the title a complete set of knowledge required to build a website?
It depends on your needs. What kind of website do you want to build?

Are there other things to learn?
There are still a lot to learn, but it is enough to build a small website. It depends on the requirements.

How to arrange the learning sequence?
If you want to learn together, you should first learn together and then learn together.

But I do not recommend that you learn so much at the same time. In general, the website should be divided into Front-end (Front-end, HTML + CSS + JS), Back-end (Back-end), and server communication code, PHP or other back-end languages), server O & M (don't worry about it first, see the next question), and artists. One person will be exhausted unless you are really amazing.

At the beginning, the frontend and backend always have to select one. Every one is a bottomless pit, so don't come in. If you find someone, you can consider setting up a team. One person learns the frontend and one person learns the backend.

I heard that there is another apache, which seems to be a server software. Do you need to study it separately?
In the early days, I had to find a cloud host, such as Sina cloud or Baidu cloud, or a cheaper PHP server to practice on my own. There was no need to maintain my own server. We recommend that you learn more later. At the same time, learning is demand-oriented, regardless of sequence.
Yes. For the purpose of work, there is a clear division of labor between the front and back ends. If it is a commercial project, a person from the front-end to the back-end will be exhausted.
However, the purpose of learning is different. No matter which direction you decide to focus on, the global view will bring great help.
Therefore, determine a project and complete it by any means. For details, refer to recruitment and recruitment, learn on demand, and expand the knowledge points used by the project, this is much more reliable than reading various tutorials.
Programming is a martial art, and it can only be integrated through hands-on. These are not linear dependencies but mesh dependencies. In reality, we always learn at the same time in a specific project. To use a CMS to build a site, first you need to know about the server, because CMS requires a runtime environment. Of course, you can use an integrated environment like wamp in the early stage. Then you need to understand a backend language, such as php, which can help you modify some templates. In addition, in order to make your website more beautiful, you need to beautify your website, and then you need knowledge in CSS and HTML. If you want your website to become more interactive, you need some JavaScript knowledge so that you can handle some interactions. If you do not know anything about this, the CSS + HTML portal is lower, you can first, and then you can complete PHP + MySql.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.