Description
In today's fast-paced development landscape, ensuring code quality and bug-free software through testing is essential. This book is your practical guide to mastering test-driven development (TDD) in the PHP 8 ecosystem, empowering you to write better code from the very beginning.
Embark on a structured learning journey, starting with setting up your PHP 8 testing environment and understanding the core principles of TDD using PHPUnit and Composer. You will then learn about writing tests for fundamental PHP concepts, including functions, file system operations, array handling, and web interactions like forms and sessions. Through the practical exercise of building a book registration application, you will learn to apply TDD with different data storage solutions, from simple file systems to relational databases (MySQL) and document databases (MongoDB). Progressing further, you will discover how to implement TDD in object-oriented PHP 8, covering design patterns, database interactions with PDO, API development, and even exploring testing considerations for security, authentication, and authorization.
By the end of this book, you will possess the skills and confidence to implement TDD effectively in your PHP 8 projects. This book equips you with the skills to write cleaner, more maintainable code, and ultimately leads to more stable and maintainable applications, making you a highly competent PHP 8 developer.
What you will learn
● The foundations of PHP programming and TDD.
● Master core PHP 8 syntax, functions, and web handling.
● Create applications based on SQL and NoSQL databases.
● Apply PHP 8 OOP, design patterns, PDO, and REST API basics.
● Abstract storage, secure code, and implement authentication/authorization.
Who this book is for
This book is for PHP developers, including beginners with basic PHP syntax knowledge, and intermediate developers seeking to adopt TDD and improve their application architecture. Familiarity with fundamental web development concepts will be beneficial for understanding the practical examples.
Table of Contents
1. Meeting and Installing PHP
2. PHP Foundations
3. Function Driven Registration with File System Storage
4. Function Driven Registration with Relational Database Storage
5. Function Driven Registration with Document Database Storage
6. PHP OOP
7. Object-oriented Registration with File System Storage
8. Object-oriented Registration with Relational Database Storage
9. Object-oriented Registration with Document Database Storage
10. Abstracting the Application Storage
11. Refactoring the Application with Secure Development
12. Authentication and Authorization
"Sinopsis" puede pertenecer a otra edición de este libro.
Dr. Flávio Gomes da Silva Lisboa holds a PhD and a master's degree in social studies of science and technology from the Federal Technological University of Paraná. He holds a degree in computer science with a specialization in object-oriented programming and Java technology.
"Sobre este título" puede pertenecer a otra edición de este libro.
EUR 17,10 gastos de envío desde Estados Unidos de America a España
Destinos, gastos y plazos de envíoEUR 9,23 gastos de envío desde Reino Unido a España
Destinos, gastos y plazos de envíoLibrería: Speedyhen, London, Reino Unido
Condición: NEW. Nº de ref. del artículo: NW9789365892000
Cantidad disponible: 1 disponibles
Librería: PBShop.store UK, Fairford, GLOS, Reino Unido
PAP. Condición: New. New Book. Shipped from UK. Established seller since 2000. Nº de ref. del artículo: GB-9789365892000
Cantidad disponible: 1 disponibles
Librería: PBShop.store US, Wood Dale, IL, Estados Unidos de America
PAP. Condición: New. New Book. Shipped from UK. Established seller since 2000. Nº de ref. del artículo: GB-9789365892000
Cantidad disponible: 1 disponibles
Librería: GreatBookPricesUK, Woodford Green, Reino Unido
Condición: New. Nº de ref. del artículo: 50288763-n
Cantidad disponible: 1 disponibles
Librería: Rarewaves.com UK, London, Reino Unido
Paperback. Condición: New. Nº de ref. del artículo: LU-9789365892000
Cantidad disponible: 1 disponibles
Librería: AHA-BUCH GmbH, Einbeck, Alemania
Taschenbuch. Condición: Neu. nach der Bestellung gedruckt Neuware - Printed after ordering. Nº de ref. del artículo: 9789365892000
Cantidad disponible: 2 disponibles
Librería: GreatBookPrices, Columbia, MD, Estados Unidos de America
Condición: New. Nº de ref. del artículo: 50288763-n
Cantidad disponible: 1 disponibles
Librería: Revaluation Books, Exeter, Reino Unido
Paperback. Condición: Brand New. 440 pages. 7.50x1.00x9.25 inches. In Stock. This item is printed on demand. Nº de ref. del artículo: __9365892007
Cantidad disponible: 1 disponibles
Librería: GreatBookPrices, Columbia, MD, Estados Unidos de America
Condición: As New. Unread book in perfect condition. Nº de ref. del artículo: 50288763
Cantidad disponible: 1 disponibles
Librería: GreatBookPricesUK, Woodford Green, Reino Unido
Condición: As New. Unread book in perfect condition. Nº de ref. del artículo: 50288763
Cantidad disponible: 1 disponibles