PHP development practice authoritative guide-reading summary

Source: Internet
Author: User
PHP development practice authoritative guide-reading summary from the beginning of this year, it has been four months to learn PHP intermittently. At first, I learned PHP carefully for a few days and set up a personal blog for WordPress. this is also in line with the practical philosophy of the technical personnel. Recently, I reviewed the PHP development practice authoritative guide, summarized it, and sorted out my learning methods and experiences. As my main PHP development practice authoritative guide-reading summary

It has been four months since the beginning of this year to learn PHP intermittently.
At first, I learned PHP carefully for a few days and set up a personal blog for WordPress. this is also in line with the practical philosophy of the technical personnel.

Recently, I reviewed the PHP development practice authoritative guide, summarized it, and sorted out my learning methods and experiences.
Because I am mainly engaged in Java/Java Web development, I simply sum up PHP, many of which are comments and opinions on languages and other high-level aspects.
If there are any mistakes, I still hope to correct them.

Chapter 2-basic PHP knowledge and XHTML
This section describes the development history and language features of PHP, briefly introduces some basic knowledge of PHP-related technologies XHTML and CSS, and provides several entry-level examples.
This allows beginners to quickly understand the value of PHP and stimulate their interest in learning, paving the way for further reading of the following chapters and mastering PHP.

Chapter 2-PHP environment setup and tools
This is the biggest headache for most beginners.
Step 1 of every language and technology is to build an environment and write a Hello World program.

Factors involved in the environment
A. Language & platform, Java/. Net/PHP
B. The operating system, Windows/Linux, and system version may also be a factor
C. IDE, text editor, Eclipse/Netbeans/WAMP/PHPStudio, etc.

Chapter 2-basic PHP syntax
Describes PHP syntax, such as file structure, three methods for writing comments, syntax identifier, variable type and scope, operators, for, and other statements.
Each language has its own syntax. they have many similarities, especially in the C Series.
What worries us is that the similarities between different languages are easy to confuse.
For example, it is also a for loop, and the writing method is similar but different. can you quickly write a C/C ++/Java/C #/PHP/JavaScript for loop?

Chapter 2-PHP array
Arrays in PHP are a very important data structure, which is very powerful and difficult to grasp.
Compared with C ++, Java, and other languages.

Chapter 2-PHP object-oriented
The core concepts of object-oriented are relatively unified, with classes, objects, abstractions, inheritance, and polymorphism, but each language has its own implementation mechanism,
Has its own set of syntax and keywords.

There are no conflicts between object-oriented and process-oriented methods for solving problems, and they deserve to be mastered and applied.
They all come from the real world and have the value of existence and application.

Chapter 2-string processing and regular expressions
Describes more than 20 string functions and several regular expression rules in PHP.

String is one of the most common and important data types in various languages ).
These APIs and implementation algorithms are similar in various languages, because they all come from the real world and are independent of the business logic and industry background.

Chapter 2-file system
The file system is part of the operating system.
Each language has its own set of APIs to interact with the operating system.
Good APIs can avoid differences between underlying operating systems and file systems.

From the language perspective, syntax, development environment, class library, string, array, object-oriented, file system, etc,
Most of the concepts of each language are very similar, and each language is not very unique.
Therefore, it is relatively easy to master the concept and learning method of a language and switch to another language technology.
It is easy to get started. it is another matter to go into depth.
The learning difficulty of each language is different. my personal feeling is that PHP is much easier than Java.

Chapter 2-MySQL database
This section describes the background, installation, SQL syntax, and how PHP interacts with MySQL.
This is also a routine for Learning Java.

Chapter 2-database abstraction layer-PDO and ADOdb
PHP and database interaction APIs have multiple implementations, and cross-database platforms are an important goal.
Hibernate is typical in Java.

Chapter 2-Cookie and Session
Two storage mechanisms: Cookie is the basis of the Session and has different uses. The key is security.

Chapter 2-PHP template technology Smarty
The template technology is powerful, with the advantage of separating user interfaces and business data to improve reusability.
The disadvantage is that a line is changed to multiple lines, and the conciseness is lost.

One technology is introduced to solve one or more problems, but many times the technology introduced has many problems,
For example, the cost of learning technology and the defects of this technology.
Therefore, we must first investigate and weigh the advantages and disadvantages of introducing technologies.

Chapter 2-PHP graphics processing and application
The background outputs the image to the front-end interface, and the graphic verification code and stock trend chart (do not go to stock trading) are required.

Chapter 2-PHP and XML
Interaction between two languages and technologies.

Chapter 2-PHP and cURL
CURL is a file transfer tool that uses the URL syntax to work in the command line mode.
If you are interested, please study carefully.

Chapter 2-Development of PHP function modules
Paging, upload, online payment, and other common modules.
There are still many common modules. it is necessary to summarize the implementation ideas of these modules and help improve development efficiency.

Chapter 2-project development and design
Describes some project development specifications, code management tool SVN, debugging tool Zend Debugger, and so on.

Chapter 2-OA management system development
A project practice case is used to fully apply the content described in the previous chapters.
From Theory to Practice, ground gas.

Chapter 2-Appendix
Detailed descriptions of configuration files such as Apache http. conf and PHP php. ini are of great reference value.

Read: http://fansunion.cn/category/reader/book

(Reading Notes-17th-Yong Zheng dynasty, reading notes-16th-talents & Workplace & Management, reading notes-13th-Financial & Business & difficulties & actions, reading Notes-6th-Workplace & Sales & psychology)

Link: http://FansUnion.cn/articles/2376

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.