A definitive guide to PHP development-reading summary

Source: Internet
Author: User
Tags php template
A definitive guide to PHP development-reading summary

Starting this year, learning PHP on and off has been 4 months.
At first, a serious study of PHP a few days, on the WordPress build a personal blog, which is also in line with the practical concept of technical people.

Recently, review the PHP Development Practice authoritative Guide, do some summary, organize their own learning methods and experience.
Since I am mainly engaged in Java/java web development, PHP is simply summed up under, many places are the language and other higher levels of evaluation and views.
There is something wrong with it, and I also look at it.

1th Chapter-php Basic knowledge and XHTML
This paper introduces the history and language features of PHP in detail, briefly introduces some basic knowledge of PHP related technology XHTML and CSS, and gives some examples of getting started.
This allows beginners to quickly understand the value of PHP, stimulating the interest of learning, for further reading the later chapters and mastering PHP to pave the groundwork.

2nd Chapter-php Environment Construction and tools
Most beginners actually have the most headaches.
Every language and technology, the 1th step towards practice, is to build the environment, write a Hello World program.

Factors involved in the environment
A. Language & platform, java/.net/php
B. Operating system, Windows/linux, system version may also be a factor
C.ide, text editor, Eclipse/netbeans/wamp/phpstudio, etc.

The basic grammar of the 3rd chapter-php
Introduces the syntax of PHP, such as the file structure, 3 ways to write comments, syntax identifiers, types and scopes of variables, operators, for and other statements.
Each language has its own grammar, and there are many similarities, especially the C-series language.
What bothers me is that the similarities of each language are easy to confuse.
For example the same for loop, which is similar but different, can you quickly write the c/c++/java/c#/php/javascript for loop?

The 4th Chapter-php Array
The array in PHP is a very important data structure, relatively strong, and it is difficult to master.
Relative to C++/java and other languages.

5th Chapter-php Object-oriented
Object-oriented core concepts are relatively uniform, class/object/abstract/inheritance/polymorphism, but each language has its own implementation mechanism,
Have their own set of grammar and keywords.

Object-oriented and process-oriented 2 ways to solve problems, not contradictory, are worth mastering and application.
They all originate from the real world and have the value of existence and application.

The 6th chapter-string processing and regular expressions
It introduces more than 20 kinds of string functions and some regular expression rules in PHP.

Strings are the most common and important data types in various languages (one).
These APIs and implementation algorithms are similar in a variety of languages because they all originate from the real world, independent of business logic and industry backgrounds.

7th-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.
A good API can mask the difference between the underlying operating system and the file system.

We now look at the language perspective, syntax, development environment, class library, string, array, object-oriented, file system, etc.
Most of the concepts in each language are very similar, and the uniqueness of each language is not too much.
Therefore, it is relatively easy to master the concept of a language, learn methods, and switch to another language technology.
Getting started is easy, in-depth or another matter.
The learning difficulty of each language is still different, and the personal feeling is that PHP is much easier than Java.

8th Chapter-mysql Database
Introduces background, installation, SQL syntax, how PHP interacts with MySQL.
When you learn Java, it's also a routine.

9th chapter-Database Abstraction Layer-pdo and ADODB
There are many implementations of PHP and database interaction APIs, and a cross-database platform is an important goal.
Hibernate is more typical in Java.

10th Chapter-cookie and session
2 storage mechanisms, cookies are the basis of the session, all have their own different uses, the key is security issues.

The 11th Chapter-php template Technology Smarty
Template technology is powerful and benefits from separating the user interface and business data to improve reusability.
The downside is that a line becomes more than one line and loses its simplicity.

The introduction of a technology to solve one or more problems, but many times the introduction of the technology itself has a lot of problems,
such as the cost of learning technology, the technical shortcomings.
Therefore, the introduction of technology to first research, the pros and cons.

12th Chapter-php Graphics processing and application
Background output image to the front-end interface, graphics verification code, stock chart (do not go to stocks AH) and other needs.

13th Chapter-php and XML
Interaction between 2 languages and technologies.

14th Chapter-php and Curl
Curl is a file transfer tool that works with URL syntax in the command line mode.
If you are interested, please study hard.

15th chapter The development of-php function module
Frequently used modules such as paging, uploading, and online payment.
There are many common modules, it is necessary to summarize the realization of these modules, which helps to improve the development efficiency.

The 16th chapter-Project Development and design
Introduces some specifications of project development, code management tools SVN, Debugging Tools Zend Debugger and so on.

17th Chapter-OA Management System development
With a project practice case, the contents of the previous chapters are fully applied.
From theory to Practice, Earth gas.

18th Chapter-Appendix
The detailed description of Apache http.conf and PHP php.ini and other configuration files has a strong reference value.

Related reading: Http://fansunion.cn/category/reader/book

(Reading notes-17th-Yongzheng Dynasty, Reading notes-16th-Talent & workplace & Management, reading notes-13th-finance & difficulties & Actions, Reading notes-6th-Workplace & Sales & Psychology)

Original 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.