Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

PHP Learning Roadmap The most complete PHP self-study guide


Jun 01, 2021 Article blog



For the vast number of zero-based PHP self-scholars, often do not know how to systematically learn PHP, resulting in a waste of a lot of time. This article will bring you the most detailed php learning road map, but also will be attached to the corresponding authoritative tutorial, so that the vast number of PHP self-scholars take many detours.


PHP learning roadmap

 PHP Learning Roadmap The most complete PHP self-study guide1 Click to see a clear and large picture

Phase 1: Getting started with the web page


Learning goals:

Can meet the basic requirements of enterprises, can freely copy any website page, and solve browser compatibility, PC and mobile compatibility issues. Ability to use Javascript verification technology for stress-free front-end engineer positions.



Point of knowledge:

1) Html (Master)

html text layout, tables and hyperlinks, forms, and frames


2) CSS

css syntax and properties, box model, DIV-CSS layout


3) Html5 and CSS3 (mastered)

html5、css3


4) Bootstrap (Focus)

Bootstrap's placement, global CSS style, CSS components


5) Javascript (Focus)

Introduction to JS, JS syntax, JS introduction, JS built-in objects, BOM model, DOM model, event programming


6) Jquery (focus)

jquery selectors, DOM and jquery objects, property operations, jquery effects, event operations, document processing, jquery plug-in mechanisms



Tutorials for this phase:

HTML micro-class
CSS micro-class
Bootstrap tutorial
Javascript micro-class

jQuery micro-class


Phase 2: Getting started with PHP


Learning goals:

Through this stage of learning, we can master the use of process-oriented programming methods, solve some of the logic of the general business, the realization of form transfer value, file programming, session technology, image processing and other matters. Give yourself the ability to build initial dynamics.



Point of knowledge:

1) PHP environment construction (master)

The difference between static and dynamic websites, the access process of WEB programs, building domain name-based virtual hosts, custom environment building, building wamp environments, environment experiences - installing discuz forums


2) PHP Core (Focus)

Variables and constants, data types and operators, process control, functions, file inclusions, operators, strings, arrays


3) Mysql Foundation (Focus)

SQL operations, column types and column properties, character sets, table relationships, mysql three queries, advanced data operations, data backup and restore, mysql user rights management, PHP operations Mysql


4) PHP Typical Technology (Focus)

http protocol, form transfer, file processing, session technology, GD image processing


5) Project Combat (Master)

bbs forum back-end implementation



Tutorials for this phase:

PHP micro-class
MySQL Getting Started Tutorial

PHP development environment construction and deployment


Phase 3: PHP Intermediate


Learning goals

At this stage, we should learn to use OOP thought and MVC design to realize the framework capability of handwritten PHP project. H as the ability to realize the mainstream functions of dynamic websites, such as infinite polar classification, page data retrieval, content collection and so on. M aster advanced techniques such as static pages and mail processing. Have the ability to build mainstream small and medium-sized websites.



Point of knowledge:

1) PHP Object-Oriented (Master)

Object-oriented foundation, object-oriented, object-oriented three characteristics, PHP inheritance, object traversal, object serialization, reflection mechanism, namespace


2) PDO (familiar)

PDO basic operation and addition and deletion check, PDO property control, PDO pre-processing, PDO exception handling, PDO packaging


3) ICFrarme Framework (Focus)

MVC design mode, frame construction


4) Smarty template (familiar)

Template technology principles, Smarty quick start, Smarty template design, Smarty programming, Smarty caching technology


5) Project upgrade (focus)

Mail technology, page static, regular expression, content acquisition, perfect function



Tutorials for this phase:

Object-oriented programming courses
Smarty tutorial

PHP is often summarized with regular expressions


Phase 4: PHP Advanced


Learning goals:

Ability to use the ThinkPHP framework for rapid project development. T he RBAC rights management function in the background can be realized, and the technology of code management, front background interaction, multi-table connection, data analysis, polling technology and website optimization can be mastered. Through this phase of learning, you will have the ability to develop large and medium-sized web sites and office OA systems.


Point of knowledge:
1) SVN (Master)

SVN overview and installation, SVN usage details, configuration of multi-warehouse and permission control, SVN server configuration and management, hook program


2) XML (familiar)

XML Syntax, SimpleXML, XPath, Case-Online Dictionary


3) Ajax (Master)

Ajax Quick Start, Ajax Objects, Send Get, Post Request, Transfer Data with XML, JSON, Ajax Cross Domain Request, Ajax Case-Pagination, Chat Room


4) ThinkPHP (Focus)

ThinkPHP Quick Start, ThinkPHP Controller, ThinkPHP View, ThinkPHP Model, ThinkPHP Utility


5) Linux (Focus)

linux installation, shell usage, VI editor, users, groups, file management, Lamp environment building


6) Optimization technology (focus)

Database optimization, Sphinx full-text index, Memcache, URL optimization


Tutorials for this phase:
SVN tutorial
AJAX tutorial
XML tutorial
ThinkPHP Development Manual

Linux tutorial


Phase 5: PHP Enterprise Development


Learning goals:

Use the ThinkPHP framework to implement the mainstream business logic of the real marketplace (e.g. property filtering items, product search, shopping carts, etc.), and realize the QQ login, payment, interface development and other functions commonly used in the mall. And master the marketplace server architecture advanced knowledge such as clustering, load balancing, distributed!

After this stage of learning, will master the development of large mainstream shopping malls, at the same time have the portal, mall system, office system and other projects can be system performance tuning ability.


Point of knowledge:

1) Redis (Master)

Nosql common product introductions, installation startups, data type presentations, PHP support redis, security certification and advanced cases, persistence mechanisms, master-to-master configurations


2) Nine interface programming (focus)

Payment, distribution, WeChat, SMS, mail, maps, Baidu API, Tencent API, local data interface


3) MongoDB (Focus)

MongoDB awareness, basic and common commands, index and user management, data export and backup, master copy and sharding, PHP supports MongoDB


4) Mysql Read and Write Separation (Focus)

Principles, log-bin explanations, configuration steps, code read-write separation, ThinkPHP use read-write separation


5) Server Architecture (Focus)

WEB server cluster, Nginx load balancing, Session sharing, reverse proxy server


Tutorials for this phase:
Redis tutorial

MongoDB tutorial


Phase 6: PHP Expansion


Learning goals:

1, master phP open source product use, and can carry out rapid, in-depth secondary development. After learning, you can master a variety of enterprise portals, government agencies, educational institutions, media organizations, personal webmasters and other sites of rapid development.


2, master the hybrid development method to develop mobile app, the APP can be compatible with Android phone and IOS mobile phone, after learning to achieve PC-side website (or enterprise OA platform) content in the mobile phone side synchronous viewing and update!



Point of knowledge:

1) WebApp (Focus)

Framework foundation, PhoneGap underlying implementation, Hyrid hybrid development, application JS SDK class library


2) CMS in-depth development (focus)

Understand the cms system, skilled application of dedecms system labels, the use of dedecms to develop a67 movie network, the application of dedecms data collection


3) Hadoop (understanding)

Hadoop installation and configuration, HDFS configuration, Hadoop getting started case, PHP writing MapReduce


4) Mysql Advanced (Focus)

Foreign keys and paradigms, view and transaction security, triggers, functions, stored procedures, indexes


5) Js Advanced (Focus)

js common events, js object-oriented, js closures, js function calls



Tutorials for this phase:

Hadoop tutorial
PHPCMS tutorial