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
Die Inhaltsangabe kann sich auf eine andere Ausgabe dieses Titels beziehen.
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.
„Über diesen Titel“ kann sich auf eine andere Ausgabe dieses Titels beziehen.
EUR 17,07 für den Versand von USA nach Deutschland
Versandziele, Kosten & DauerEUR 5,76 für den Versand von Vereinigtes Königreich nach Deutschland
Versandziele, Kosten & DauerAnbieter: Speedyhen, London, Vereinigtes Königreich
Zustand: NEW. Bestandsnummer des Verkäufers NW9789365892000
Anzahl: 1 verfügbar
Anbieter: PBShop.store UK, Fairford, GLOS, Vereinigtes Königreich
PAP. Zustand: New. New Book. Shipped from UK. Established seller since 2000. Bestandsnummer des Verkäufers GB-9789365892000
Anzahl: 1 verfügbar
Anbieter: GreatBookPricesUK, Woodford Green, Vereinigtes Königreich
Zustand: New. Bestandsnummer des Verkäufers 50288763-n
Anzahl: 1 verfügbar
Anbieter: AHA-BUCH GmbH, Einbeck, Deutschland
Taschenbuch. Zustand: Neu. nach der Bestellung gedruckt Neuware - Printed after ordering. Bestandsnummer des Verkäufers 9789365892000
Anzahl: 2 verfügbar
Anbieter: Rarewaves.com UK, London, Vereinigtes Königreich
Paperback. Zustand: New. Bestandsnummer des Verkäufers LU-9789365892000
Anzahl: 1 verfügbar
Anbieter: Revaluation Books, Exeter, Vereinigtes Königreich
Paperback. Zustand: Brand New. 440 pages. 7.50x1.00x9.25 inches. In Stock. This item is printed on demand. Bestandsnummer des Verkäufers __9365892007
Anzahl: 1 verfügbar
Anbieter: GreatBookPrices, Columbia, MD, USA
Zustand: As New. Unread book in perfect condition. Bestandsnummer des Verkäufers 50288763
Anzahl: 1 verfügbar
Anbieter: GreatBookPricesUK, Woodford Green, Vereinigtes Königreich
Zustand: As New. Unread book in perfect condition. Bestandsnummer des Verkäufers 50288763
Anzahl: 1 verfügbar
Anbieter: Rarewaves.com USA, London, LONDO, Vereinigtes Königreich
Paperback. Zustand: New. Bestandsnummer des Verkäufers LU-9789365892000
Anzahl: 1 verfügbar
Anbieter: GreatBookPrices, Columbia, MD, USA
Zustand: New. Bestandsnummer des Verkäufers 50288763-n
Anzahl: 1 verfügbar