Previous words
Why do front-end engineers learn PHP? Is it because of the recruitment requirements? It's just one thing.
At first, I was against the study of PHP, after all, JavaScript has enough to drink a pot of it, then to learn PHP, may let themselves drunk. However, in learning the date object of JavaScript dates, it is found that using the native date () object is only the client time, and what we actually need is the server time, which is one of the reasons to learn PHP
ES6 many new syntax, in fact, in PHP is already exist, such as constants. So learning PHP syntax, you can use the analogy method, the JavaScript syntax has a deeper understanding, this is the reason for learning PHP two
Nodejs is using JavaScript to write back-end technology, so learning PHP, Nodejs learning is helpful, this is the reason for learning PHP three
In the study of Ajax, if you can not write a simple backend to match the front end, it is impossible to really understand the Ajax, this is the reason for learning PHP four
Of course, if you want to pull JavaScript like yourself, to pick up the details of PHP, is not scientific, after all, my goal is the front end. So, I learned the basic syntax of PHP and the content related to the front end.
Small matches to the PHP knowledge system to comb and summarize, summarized into the following directory
Basic syntax
Basic syntax
Operator
Statement
Variable
Variable
Variable Range
Constant
Name space
Data type
Data Type Overview
Function
Array functions
String functions
Object oriented
Classes and objects
Magic method
Three major features
Key words
Object manipulation
Simple Graphics Area Calculator example
Common functions
Regular expression syntax
Regular-expression functions
Error handling
Date and time
File operations
Database development
MySQL extension function
PDO Base Operation
PDO preprocessing statements
Memcache
PHP Operation Memcache
PHP Learning Directory