If you want to be a senior PHP development engineer, the most basic knowledge is of course needless to say and must be mastered. But what kind of knowledge structure do you need to be a PHP development engineer? The editor below will give you a summary. You can compare it to see if you can become a senior PHP development engineer.
1.Linux
Common Linux commands
1. File processing command
2. Permission management command
3. Help command
4. File search command
5. Compression and decompression commands
6. Command usage skills
7. Text editor Vim
Master the common command operations of Linux, learn the basic use of Linux, and be familiar with text editors under Linux.
Linux system management
1. Software package management
2. User and user group management
3. Service and process management
Master the common system management operations of Linux systems.
Linux network application
1. Basic network settings
2. Network file sharing
Master the common network configuration files and commands of Linux systems, and be familiar with file sharing services SSH and FTP.
LAMP environment compilation and Apache configuration
1. LAMP environment compilation
2. Apache basic options and application cases
Master the source code package compilation structure LAMP environment, and learn the basic configuration and typical configuration of Apache Internet application configuration.
2. Object-oriented programming
Introduction to object-oriented programming
1. The relationship between classes and objects
2. Object-oriented programming
Object-oriented is PHP5 The new function is also the way to write code in PHP in the future. Master the application of object-oriented in the industry, and understand some basic object-oriented declaration syntax.
How to abstract a class
1. Class declaration
2. Member attributes
3. Member methods
Instantiate objects through classes
1. Create objects
2. Allocation of object types in memory
3. Access to members in objects
4. Special object reference “$this”
5. Construction methods and destructor methods
Master The application of objects in programs, the allocation form in memory, and the access methods of members in objects, as well as the construction and destruction and the use of the keyword $this, must be mastered.
Encapsulation
1. Setting private members
2. Access to private members
3. __set(), __get(), __isset() and __unset()
4 . Four methods
To use object-oriented, you must use its three major features, and encapsulation is one of them. Master the meaning of encapsulation, its application, and various magic methods related to encapsulation.
Inheritance
1. Application of class inheritance
2. Access type control
3. Overloading parent class methods in subclasses
Inheritance is also the three major object-oriented One of the features requires mastering the meaning and application of inheritance, access control and overloading methods.
Common keywords and magic methods
1. Application of final keyword
2. Use of static and const keywords
3. Cloning objects
4. Common in classes Method __toString()
5. Handle error calls through the __call() method
6. Automatically load classes
7. Object serialization
In PHP object-oriented programming, it will To use some common keywords and some common magic methods, you need to master them all and use them flexibly.
Abstract classes, interfaces and polymorphism
1. Abstract methods and abstract classes
2. Interface technology
3. Application of polymorphism
Understand the role of abstract classes and interfaces , and master their declarations and applications, focusing on the application of polymorphism.
System functions related to classes and objects
1. System functions related to classes
2. System functions related to objects
The functions related to classes and objects provided in PHP are not There are many, but they are more commonly used
Compilation of common functional classes
1. Paging class
2. Verification code class
3. Image processing class
4. File upload class
5. Data verification class
By writing these classes, it will not only make it easier for you to use these functional classes in all PHP projects, but also summarize the object-oriented technology.
3. Abstract layer PDO
Database supported by PDO
1. PDO application and supported database
Master the application principles and driver settings of PDO, as well as PDO Installation methods, and you can create PDO objects in a variety of ways, and you need to understand the members in the PDO object.
Create PDO objects
1. Call constructors in various ways
2. Member methods in PDO objects
Use PDO objects
1. Adjust the behavior of PDO Properties
2. PDO handles data type conversion between PHP programs and databases
3. PDO error handling mode
4. Use PDO to execute SQL statements
You need to master the various properties in PHP Apply, set and read, as well as the error handling mode of PDO, and also need to understand the execution of SQL statements through PDO.
PDO support for prepared statements
1. Understand the PDOStatement object
2. Prepare statements
3. Bind parameters
4. Execute prepared queries
5 . Obtain data
The preprocessing object of PDO can complete various operations between the PHP program and the database. You need to know how to use PDO to prepare prepared statements, bind parameters, execute prepared statements, obtain access to data and big data objects, and use PDO to complete transaction processing operations.
PDO transaction processing
PDO transaction processing method
4. Script JavaScript
JavaScript syntax
1. Overview of JavaScript applications
2. Variables and operators in JavaScript scripts
3. JavaScript flow control and functions
4. Creation and application of arrays and objects in JavaScript
You can learn all the syntax of JavaScript, use it in conjunction with HTML and CSS, and write some common scripts on pages.
DOM Programming
1. Introduction to the application of DOM and DHTML
2. Application of various events and event handlers
3. Properties and methods of the window object
4. Application of document document object
5. Use of its location, body, form, screen and other objects
Learn the flexible application and event processing of DOM in the page, as well as the properties and methods of various DOM objects. As well as the writing of all special effects in the web page.
五.Ajax
Ajax application
1. Ajax overview
2. Ajax definition
3. Using Ajax to create an Ajax engine
4. Ajax Web Application mode (asynchronous)
5. Application in AJAX development
6. Writing and applying custom Ajax classes
7. Using Ajax to complete XML operations
8. Applying Json technology in Ajax
9. Application of Ajax3.0
You need to understand the way of asynchronously transmitting data, and master the creation of AJAX objects and the application of properties and methods in AJAX objects.
6.Ajax and JQuery framework application
Use of JQuery
1. Overview of JQuery
2. Core methods of JQuery
3. JQuery selector
4. Properties of JQuery
5. Filtering and document processing of JQuery
6. CSS application of JQuery
To master the application of adding JQuery in HTML files, you can use the core methods in JQuery, as well as common options The use of browsers and some commonly used JQuery methods.
JQuery's Ajax application
1. JQuery events
2. JQuery effects
3. Using AjAX applications in JQuery
Ajax is the key technology implemented by JQuery. Master JQuery Several implementation methods.
7. Design pattern
MVC pattern
1. Introduction to MVC pattern
2. View
3. Controller
4. Model
5. Modules and operations
6. Main entry file
7. MVC pattern application
You need to master the MVC design pattern, including the application of views, controllers, and models. It is best to be able to use other design patterns.
8. Code specifications
PHP coding specifications
Database specification settings
Template writing specifications
1. Scope of application
2. Development tools
3. PHP file format
4. Comment specifications
5. Blank lines and spaces
6. Use of strings
7. Naming principles
8. Language structure
9. Number table Table design
10. Index design principles
11. SQL statement design
12. Template design specifications
9. Version control
github and svn
10. Framework
Understand some frameworks, such as Laravel, Yii, CodeIgniter, ThinkPHP, etc.
Summary:
Although there are only ten short points, it still costs money A lot of things to accomplish and absorb. The title of PHP development engineer is not easy to come by. I hope you will gain some insights after reading this article and it will help you become a senior PHP development engineer.
Related recommendations:
Essentials for becoming a successful programmer
A brief discussion on the future of PHP programmers
The above is the detailed content of Knowledge structure of PHP development engineer. For more information, please follow other related articles on the PHP Chinese website!