Write solid, secure, object-oriented code in the new PHP 8. In this book you will create a complete three-tier application using a natural process of building and testing modules within each tier. This practical approach teaches you about app development and introduces PHP features when they are actually needed rather than providing you with abstract theory and contrived examples.
In Learn PHP 8, programming examples take advantage of the newest PHP features; you’ll follow a learn-by-doing approach, which provides you with complete coding examples. “Do It” exercises in each chapter provide the opportunity to make adjustments to the example code. The end-of-chapter programming exercises allow you to develop your own applications using the algorithms demonstrated in the chapter.
Each tier is logically and physically separated using object-oriented and dependency injection techniques, thus allowing independent tiers that can be updated with little or no effect on the other tiers. In addition to teaching good programming practices through OOP, there is a strong emphasis on creating secure code.
As each chapter is completed, you’ll have the opportunity to design and create an application reinforcing the concepts learned.
What You Will Learn
- Program PHP 8 web applications
- Use interfaces, containers, and platforms
- Apply modular programming
- Manage data objects and use My SQL and other databases Work with multi-functional and secure user interfaces
- Handle logging exceptions and more
Who This Book Is For
Those new to web development, specifically PHP programming. Also, this book can be useful to those who have some PHP/web development experience who are new to PHP 8.
Table of Content
1. Introduction to PHP 8.- 2. Interfaces, Platforms, Containers: Three-Tiers Programming.- 3. Modular Programming.- 4. Secure User Interfaces.- 5. Handling and Logging Exceptions.- 6. Data Objects.- 7. Authentication.- 8. Multifunctional Interfaces.
About the author
Steve Prettyman is a college instructor on PHP programming, web development, and related technologies. He is and has been a practicing web developer and is a book author.