Home > Article > Backend Development > Some ideas for systematically learning PHP
This article mainly introduces some ideas for systematically learning PHP, which has certain reference value. Now I share it with everyone. Friends in need can refer to it
As a new PHPer, I am eager to If you want to improve your coding skills, there are currently few experts on the market who can point out a relatively reliable way for novices.
First of all, in the face of the many messy functions in PHP, how to sort out the relationship between them? After a period of thinking, I came up with a learning path for your reference. .
As a scripting language, PHP is the most basic CURD of data, which probably involves: 1. SQL operations of the database; 2. PHP connection operations to MYSQL;
These are very simple. Just look at the DOME and the manual and you have them all done. Next, if you think about it carefully, in fact, what PHP handles is nothing more than how to process the data according to business needs after it is taken out of the database.
I’m talking about PHP Before processing data, we have to talk about PHP's data types.
PHP data types are divided into eight types;
一.Integer and floating point, Boolean, string; (basic type)
Two, Array and object; (Mixed type)
Three.null and resource type; (Special type)
Here is a comparison of the six types of JS
1. Numeric value, Boolean, string;
2 null and undefined;
3. Object;
Why should we talk about PHP data types here? Because I found that in daily operations, understanding data types plays a key role in sorting out the many functions of PHP. I didn’t want to think about these things at first.
It’s a pity that there are no existing tutorials on the market to provide ideas on how to classify the many functions in the PHP manual;
No nonsense Say, according to the data type of PHP, we can divide the functions into the following categories:
Commonly used logical functions:
1.Functions for string operations ;
II.Functions for array operations;
Commonly used file operation functions
III.Function for file upload operation;
IV.cookie andsession
五. File-related functions and classes that automatically create files;
OOP encapsulation of commonly used classes
6.GD library operation;
How to learn php experience sharing
##
The above is the detailed content of Some ideas for systematically learning PHP. For more information, please follow other related articles on the PHP Chinese website!