Fullstack PHP
579 pages
English
PDF
4.1

Fullstack PHP

Fullstack PHP

Author:

Year:

Summary:

This book is a practical guide to creating modern web applications using the PHP language. Unlike many textbooks that focus only on the backend, "Fullstack on PHP" covers the entire development cycle: from database design and writing server logic to building a responsive interface and deploying the finished product.

The book is intended for developers already familiar with the basics of PHP (variables, functions, working with arrays) who want to master professional fullstack development. You will learn how to organize application architecture using the MVC pattern, work with PDO and ORM (Doctrine), create RESTful APIs, implement authentication and authorization, and integrate the frontend using modern tools (Webpack, Vue.js or Alpine.js).

Chapter Contents:
Chapter 1. Modern PHP: typing, namespaces, Composer.
Chapter 2. Database design and working with MySQL via PDO and Doctrine.
Chapter 3. MVC framework from scratch: routing, controllers, Twig templating engine.
Chapter 4. REST API and JSON Web Tokens (JWT).
Chapter 5. Frontend for PHP developer: Webpack build, working with Vue.js and Axios.
Chapter 6. Form handling, validation and security (XSS, CSRF, SQL injections).
Chapter 7. Testing: PHPUnit, functional tests, TDD.
Chapter 8. Deployment: Docker, CI/CD, performance optimization.

Why should you read this book? Firstly, you will get a holistic view of fullstack development without a gap between "server" and "client". Secondly, all examples are based on real projects — you will be able to immediately apply the knowledge in your work. Thirdly, the author pays special attention to security and best practices, which is especially important for commercial development. The book contains over 500 pages of practical material with ready-made code, diagrams and step-by-step instructions.

Recommendations