Best PHP 7 Object Oriented Modular Programming books
About This Book
- This is the most up-to-date book in the market on PHP
- It covers the new features of version 7.x, best practices for server-side programming, and MVC frameworks
- The recipe-based approach will allow you to explore the unique capabilities that PHP offers to web programmers
What You Will Learn
- Use advanced PHP 7 features, such as the Abstract Syntax Tree, Uniform Variable Syntax, Scalar Type Hints, Generator Delegation, Anonymous Classes, and the Context Sensitive Lexer
- Discover where and when PHP 5 code needs to be re-written to avoid backwards-compatibility breaks
- Improve the overall application security and error handling by taking advantage of classes that implement the new throwable interface
- Solve practical real-world programming problems using PHP 7
- Develop middle-wareclasses that allow PHP developers to gluedifferent open source libraries together seamlessly
- Define and Implement PSR-7 classes
- Create custom middleware using PSR-7 compliant classes
- Test and debug your code, and get to know the best practices.
It is a condensed, code-rich scripting and syntax handbook for the PHP scripting language. PHP 7 Quick Scripting Reference presents the essential PHP script in a well-organized format. You won’t find any technical jargon, bloated samples, drawn out history lessons or witty stories in this book. What you will find is a Web scripting language reference that is concise, to the point and highly accessible. The book is packed with useful information and is a must-have for any PHP programmer or Web developer.
What you’ll learn
- Discover what is new in PHP 7 and how to get started with it
- Work with variables, operators, strings, arrays, conditionals, loops and other language constructs
- Group and reuse code with functions, methods and namespaces
- Use object-oriented features such as classes, inheritance, abstract classes and interfaces
- Import files and retrieve user data
- Make use of type declarations and type conversions
- Test variables, create references and use overloading methods
- Store user data with cookies and sessions
- Deal with errors through error handling, exception handling and assertions.
PHP: The Basics is an introductory book which provides a brief explanation of the basic syntax of the PHP language. While it is not the intent of this book to make the reader a PHP expert, it does provide examples of basic programming concepts.
What You Will Learn
- Mathematical Operations
- Logical Operations
- Conditional Statements
- Loops (for, while, foreach)
- Arrays (Single, Multi-dimensional, Associative)