This article analyzes and organizes what you need to learn in PHP development, hoping to help friends in need.
Learn web front-end:
Every website must be visible and usable. Any website can have no database or back-end program, but it must have a front-end page, and this is also the earliest form of the website - a static page that can only display text, pictures and other information.
Mastering the production technology of static web pages is a prerequisite for learning to develop websites. The learning here includes HTML, CSS, and JavaScript, which can be run directly using the browser.
HTML is responsible for the structure of web pages. It is used to specify which parts of the web page layout are text, which parts can contain pictures, audio files, and where video files are placed on the web page to be displayed.
CSS can put these text, pictures, videos and other information into a certain reasonable and beautiful style, and can define the size, color, picture size, etc. of the text.
Javascript can allow web pages to interact with people. Just like when you log in to a website, click the login button and it will jump. Put the mouse on the menu, and the menu will automatically display a drop-down. When browsing Taobao, put the mouse on On product pictures, the pictures will be enlarged and so on.
Back-end learning:
We only talk about our PHP here. If HTML and CSS are the visible parts, then PHP is the invisible part. It is responsible for processing the data later and returning it to the user.
When the website develops from a static page to a back-end program, then the website has business logic. To put it simply, it's like a calculator. You enter data on the front end and click submit. PHP handles the calculation for you and then returns to the front end. Then you see the result. It should be noted that PHP cannot run directly in the browser. It needs the support of the
Apache environment. It is placed in the Apache server and then accessed using the browser. This requires everyone to configure it during the learning process. It is very important. Simple.
Database
Database is essential knowledge for learning any language. Here we can just learn MySQL and master the basic add, delete, modify and query operations of the database, and then gradually deepen it.
The above is the detailed content of What to learn in php development. For more information, please follow other related articles on the PHP Chinese website!