4
From Object-Relational Mapping to MVC Containers
This chapter continues to prepare you to use Laminas. Here, we will go through the last two stages:
- The handling of databases with object-relational mapping (ORM), abstracting SQL statements
- The inversion of control for object-oriented PHP applications with the Laminas framework as a container
First, we will explain the foundations of ORM implemented with the aid of laminas-db. Then, we will introduce you to the basics of Laminas by building an MVC application. These foundations are very important for the creation of an e-commerce application and learning them will be invaluable. You could jump to Chapter 5, Creating the Virtual Store Project, but you may feel like you are trying to attack ...
Get PHP Web Development with Laminas now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.