The top 10 in this article may be ranked in no particular order, nor good or bad. There is no best, only better. They all demonstrate their experiences in different areas, it just depends on which aspect you are more interested in.
TOP10 Detailed PHP
I personally think this is a book that is particularly suitable for beginners, combined with Band of Brothers or I have watched the technical videos of Backing Network and other websites for a while in Xidan Book Building, and also borrowed books from friends. I regret that I could not collect 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 Laravel Framework Key Technology Analysis
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 The description is very complete.) The above is a powerful framework that supports more new features, such as Composer, Artisan, dependency injection, Traits, routing, PSR-4 naming convention, component-based module expansion, multi-level cache usage, distribution, 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 also 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 the theme, and selects the core best practices to explain. 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 simplicity and ease of use of the 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, such as solving the problem of poor scalability of PHP code through object-oriented methods, using network programming to expand the practical scope of PHP, and spending considerable space on the analysis of PHP source code. Complete a php extension project, this is the in-depth aspect. Although there are some places...
TOP2 High-performance PHP application development
A well-received book on PHP performance optimization, which achieves the purpose of tuning performance by introducing the principles of PHP and related toolsets. 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.
The above is the detailed content of Which php book is better?. For more information, please follow other related articles on the PHP Chinese website!