Transform your web development skills by building powerful applications that are safe, scalable, and sophisticated
Key Features
- Creation of clean code based on components reusability to create large-scale enterprise applications
- Effective use of design patterns in an oriented-object software
- Division of a PHP web application structure in layers to build customized websites and applications as per business needs
Book Description
Laminas framework enables PHP web developers to create powerful web applications with an evolutive architecture. Developers would want to learn Laminas for building web applications based on reuse of loose coupled components.
Developers working with PHP will be able to put their knowledge to work with this practical guide to Laminas. The book provides a hands-on approach to implementation and associated methodologies that will have you up-and-running, and productive in no time. You'll learn how to create the basic structure of a PHP web application divided in layers, understand the MVC components of Laminas, and how you can take advantage of the Eclipse platform for developing with Laminas. You'll then build an e-commerce application on the technical requirements of a fictional business, and learn how to implement these requirements with Laminas components.
By the end of this book, you will be able to build a completely secured MVC application in PHP language using Laminas.
What you will learn
- Learn Object-relational mapping implemented with Laminas Database
- Grasp Behavior-Driven Development concepts and skills
- Create lean controllers & flexible views
- Build complete models and create components that are reusable
- Take the advantage of Eclipse platform for developing with Laminas
- Learn to generate HTML forms with Laminas Form
- Practice Test-Driven Development to write precise programs
Who This Book Is For
This book would be best for beginners in programming or developers with some experience who wish to learn how to create clean coded oriented-object web applications. It is desirable to have knowledge about basic PHP syntax, specifically about variables, control structures and functions.
Table of Contents
- Architecting PHP Application with Laminas
- Setting up Environment for eCommerce Application
- Using Laminas as a Library with Test-Driven Development
- From Object-Relational Mapping to MVC Containers
- Creating the Virtual Store Project
- Models and Object-Relational Mappers with Behavior-Driven Development
- Request Control and Data View
- Creating Forms and Implementing Filters and Validators
- Event Driven Authentication
- Event Driven Authentication 2
- Implementing a Product Basket
- Review and Improvements
- Tips and Tricks
- Last considerations