What this book covers
Chapter 1, Introducing Laminas for PHP Applications, presents the evolution of the architecture of Zend Framework up until it changed to Laminas, and discusses the lessons learned.
Chapter 2, Setting Up the Environment for Our E-Commerce Application, sees us set up the development environment for the example application that we will be building throughout this book.
Chapter 3, Using Laminas as a Library with Test-Driven Development, explains, using a simple example based on a reduced use case, how it is possible to use only one Laminas component in an existing PHP application.
Chapter 4, From Object-Relational Mapping to MVC Containers, covers the handling of databases with object-relational mapping, abstracting SQL statements, and the inversion of control for object-oriented PHP applications with the Laminas framework as a container.
Chapter 5, Creating the Virtual Store Project, presents the requirements of the e-commerce project we plan to build.
Chapter 6, Models and Object-Relational Mappers with Behavior-Driven Development, is where we use laminas-db
for mapping the entity-relationship model to an object model. We also learn how to create models using the behavior-driven development approach.
Chapter 7, Request Control and Data View, shows how to use the Laminas implementations for the controller and view layers in an MVC application.
Chapter 8, Creating Forms and Implementing Filters and Validators, introduces some Laminas components for handling data input.
Chapter 9, Event-Driven Authentication, covers one of the essential topics for developing secure applications: authentication.
Chapter 10, Event-Driven Authorization, covers another one of the essential topics for developing secure applications: authorization.
Chapter 11, Implementing a Product Basket, describes the implementation of a product basket, an essential component of a virtual store.
Chapter 12, Reviewing and Improving Our App, is dedicated to reviewing and improving the sample e-commerce application.
Chapter 13, Tips and Tricks, provides some tips and tricks that will help you as a developer to solve some problems that can eventually appear when constructing a web application.
Chapter 14, Last Considerations, delivers the conclusion of the book, outlining the possibilities that lie ahead with other components not used in our sample applications.