Home >Backend Development >PHP Tutorial >What books should I read to learn PHP?

What books should I read to learn PHP?

藏色散人
藏色散人Original
2019-05-30 15:25:475710browse

The purpose of this article is to recommend 10 PHP books in a comprehensive manner, and other book series such as Linux/NGINX/Mysql will not be discussed for the time being.

What books should I read to learn PHP?

Preface

Most books on PHP are about basic grammar. I want to buy a good book. It’s very important, haha, it seems a little difficult. Sometimes a book can determine your height, your interests, and even your salary... The biggest impact may be on entry-level, junior, and advanced PHP programmers.

The top 10 in this article may be ranked in no particular order, nor good or bad. There is no best, but the most is better. They all demonstrate their experiences in different areas, it just depends on which aspect you are more interested in. Also, you don’t have to buy all the books. Of course, it depends on whether you have ample pockets or are a business leader. It would be better to buy them all. Why do we only recommend PHP books here?

Because I have been searching for books related to PHP since I entered the industry. In fact, many people say that there is nothing to learn in PHP. If you really want to learn a language in depth and you are interested in it, I think there is still a lot of content that can be learned, but it is not limited to PHP.

In the web field, PHP is the best language in the world, and it is PHP that continues to create the myths of many large Internet companies. I still prefer PHP, like this domain name (shijiehsangzuihaodeyuyan).

TOP10 PHP in detail

I personally think this is a book that is particularly suitable for beginners. Combined with technical videos such as Band of Brothers or Backing Network, I have been in Xidan Books I have been reading The Mansion for a while, and I also borrowed a friend’s book to read it. It’s a pity that I didn’t keep this book myself.

TOP9 PHP and MySQL Programming (Fourth Edition)

This is a book in the basic field of PHP, compared to the National Library, Xidan and other bookshelves PHP books, this one is more advanced. Chapters 16 to 38 will benefit you a lot. At least compared to just combining the basics, syntax, usage, and practicing with a small project, this allows you to learn safe PHP programming, MVC and Zend framework, MySQL storage engine and data types, stored procedures, and MySQL triggers. , indexing and searching, transactions, etc.

TOP8 Analysis of key technologies of Laravel framework

Entering the world of frameworks, starting from 2016, it is recommended to use Laravel/Thinkphp5.0 (Thinkphp5.0, There is no book, but Wang Fang’s explanation is very complete.) The above powerful framework supports more new features, such as Composer, Artisan, dependency injection, Traits, routing, PSR-4 naming convention, component-based module expansion, and multi-level cache use , distributed, etc.

TOP7 PHP Design Patterns

The purpose of PHP design patterns is not to comprehensively introduce various categories of software design patterns, nor to develop a new design pattern or terminology , but to highlight some existing well-known design patterns. What makes this book unique is that it introduces some design patterns that I think are helpful in developing dynamic WEB applications, and shows how to implement these design patterns in PHP. I still want to recommend learning design patterns in JAVA. Compared with Java, the object-oriented development process is far more mature than PHP, so there are many books on design patterns, such as Dahua Design Patterns, which is a good book.

TOP6 PHP Application Security Programming

This book is a bit biased towards security learning. Perhaps just like the title, it may also be applicable to every programmer. I have such a mentality that I want to be a hacker, so I recommend this book for security reasons, especially since 2015 and 2016, there have been more and more problems with websites being hacked. The main content of this book includes: removing application security vulnerabilities and defending against PHP Attacks, improve the security of servers running PHP code, implement strict authentication and encrypted applications, prevent cross-site scripting attacks, systematically test application security, resolve existing vulnerabilities in third-party applications, etc.

TOP5 In-depth PHP object-oriented, pattern and practice

The knowledge explained in this book (objects, advanced features, object tools, objects and design, patterns, etc.) It is not only applicable to PHP, it is applicable to all languages ​​​​that support object-oriented technology (such as Java, Python, Ruby, etc.). This is the most valuable thing about this book. It is not specific to one language, but to multiple languages. In terms of languages, in addition to PHP, JAVA is often mentioned in the book. If you have ever been exposed to JAVA, a strongly typed language, then you will be able to appreciate the difference between static languages ​​and dynamic languages ​​during the reading process, and you will be able to understand No matter what language is used to realize the requirements, in the end, all can achieve the same goal - applying object-oriented technology to solve the problem.

TOP4.PHP and Mysql high-performance development

This book is very new. It was newly published in September 2016, just in time to buy it at a discount on JD.com. Generally speaking, it is a good book in the PHP industry, but I didn’t like the first chapter very much. This book takes "PHP and MySQL high-performance application development" as its theme, and selects the core best practices to explain. It is a summary of the experience of an old programmer with more than ten years of PHP development experience. First, it summarizes some doubts and difficulties in PHP programming from the language level, and then focuses on PHP buffering, network programming, caching technology, command line, debugging, testing, user verification strategy, code reconstruction and other knowledge; then focuses on explaining MySQL driver, storage engine, performance optimization, memcached, sphinx full-text search engine and other important topics.

TOP3.PHP System Core and Best Practices

This book is highly recommended. I have read it again and again. It is also in the domestic PHP book series. Among them, the most praised one. And it's very practical. As mentioned in the preface of the book, this is a book for PHP programmers who want to break through bottlenecks.

Due to the characteristics of the language, the simple and easy-to-use PHP language has led to the uneven quality of programmers and codes. PHP personnel who have worked for one to two years are synonymous with template workers.

This book has broadened the horizons of developers to a certain extent. For example, it uses object-oriented methods to solve the problem of poor scalability of PHP code, and uses network programming to expand the practical scope of PHP, and it spends a considerable amount of space. Analyze the PHP source code and complete a PHP extension project. This is the in-depth aspect.

TOP2 High-Performance PHP Application Development

A well-received book on PHP performance optimization, which introduces the principles of PHP and related tool sets to achieve adjustment. for optimal performance. It analyzes and studies the front-end and back-end of web applications and systematically improves their performance and operating efficiency. This book also introduces the application of PHP coding best practices and how to use tools to apply caching techniques. In addition, the book also covers the optimization of web servers and database optimization.

TOP1 Modern PHP

Introduces great new PHP features. The author also wrote the slimphp micro-framework, the PHP way. A good PHP coding style can be subtle.

I believe that many domestic PHP developers do not understand the features of PHP5.4 and later. There are still many domestic companies using version 5.3. This conservative thinking is very detrimental to the technical growth of domestic PHP developers. , although the new features discussed in this book are available in the new version of the manual, you may not be able to see that this book has made a good summary.

The above is the detailed content of What books should I read to learn PHP?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:memcache security relatedNext article:memcache security related