Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying PHP Web Development with Laminas
  • Table Of Contents Toc
  • Feedback & Rating feedback
PHP Web Development with Laminas

PHP Web Development with Laminas

By : Flavio Gomes da Silva Lisboa
4.5 (2)
close
close
PHP Web Development with Laminas

PHP Web Development with Laminas

4.5 (2)
By: Flavio Gomes da Silva Lisboa

Overview of this book

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.
Table of Contents (22 chapters)
close
close
1
B18382_FM
Lock Free Chapter
2
B18382_TOC_ePub
3
B18382_Preface
4
B18382_Part1
5
B18382_01
6
B18382_02
7
B18382_03
8
B18382_04
9
B18382_Part2
10
B18382_05
11
B18382_06
12
B18382_07
13
B18382_08
14
B18382_09
15
B18382_10
16
B18382_Part3
17
B18382_11
chevron up
18
B18382_12
19
B18382_13
20
B18382_14
21
B18382_Index
22
B18382_BM

11

Implementing a Product Basket

This chapter covers the implementation of a product basket, an essential component of a virtual store. In Chapter 9, Event-Driven Authentication, we learned about the laminas-session component and how it can be used to manage sessions and persist data between HTTP requests. In this chapter, we will use laminas-session to implement a product basket.

We will first start by learning how to implement inventory management. Next, we will understand how to refactor the customer home page with view helpers. After this, we will implement a product basket. Lastly, we will learn how to make a purchase order for an authenticated customer.

At the end of this chapter, you will be able to select products from a listing page, add these products to a basket, remove products from this basket, and make a purchase order. This purchase process includes customer registration, which is very similar to the employee registration we implemented in Chapter 9, Event...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon