Have a personal or library account? Click to login
PHP Web Development with Laminas Cover

PHP Web Development with Laminas

Build a fully secured and functional e-commerce application with PHP using the Laminas framework

Paid access
|Dec 2022

Learn how to develop modern object-oriented applications with PHP using test-driven development (TDD) and behavior-driven development (BDD) aided by mature reusable components

Key Features

  • Create clean code based on components’ reusability to create large-scale enterprise applications
  • Make effective use of design patterns in an object-oriented software
  • Understand the division of a PHP web application structure in layers to build customized websites and apps for various business needs

Book Description

Considered the next generation of the Zend framework, Laminas is a high-performance PHP framework for creating powerful web applications with an evolutive architecture.
This book takes a hands-on approach to equip you with the knowledge of the Laminas framework necessary to start building web applications based on the reuse of loosely coupled components. You'll learn how to create the basic structure of a PHP web application divided into layers, understand Laminas’ MVC components, and be able to take advantage of the Eclipse platform as a method for developing with Laminas. Step by step, you'll build an e-commerce application based on the technical requirements of a fictional business, and get to grips with implementing those requirements using Laminas components.
By the end of this web development book, you’ll be able to build a completely secured MVC application in PHP language using Laminas.

What you will learn

  • Discover how object-relational mapping is implemented with laminas-db
  • Understand behavior-driven development concepts to sharpen your skills
  • Create lean controllers and flexible views
  • Build complete models and reusable components
  • Explore the Eclipse platform for developing with Laminas
  • Find out how easy it is to generate HTML forms with laminas-form
  • Practice test-driven development to write precise programs

Who this book is for

This book is best suited for programming beginner or developers with some experience looking to create clean-coded object-oriented web applications. Knowledge of basic PHP syntax, specifically variables, control structures, and functions, will aid you in understanding the concepts covered.

Table of Contents

  1. Introducing Laminas for PHP Applications
  2. Setting Up the Environment for Our E-Commerce Application
  3. Using Laminas as a Library with Test-Driven Development
  4. From Object-Relational Mapping to MVC Containers
  5. Creating the Virtual Store Project
  6. Models and Object-Relational Mappers with Behavior-Driven Development
  7. Request Control and Data View
  8. Creating Forms and Implementing Filters and Validators
  9. Event-Driven Authentication
  10. Event-Driven Authorization
  11. Implementing a Product Basket
  12. Reviewing and Improving Our App
  13. Tips and Tricks
  14. Last Considerations
https://github.com/PacktPublishing/Laminas-Web-Development
PDF ISBN: 978-1-80324-501-0
Publisher: Packt Publishing Limited
Copyright owner: © 2022 Packt Publishing Limited
Publication date: 2022
Language: English
Pages: 394

People also read