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

Lisboa, Flávio Gomes Da Silva

  • 出版商: Packt Publishing
  • 出版日期: 2022-11-18
  • 售價: $1,490
  • 貴賓價: 9.5$1,416
  • 語言: 英文
  • 頁數: 394
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1803245360
  • ISBN-13: 9781803245362
  • 相關分類: PHP電子商務 E-commerce
  • 下單後立即進貨 (約3~4週)

商品描述

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

商品描述(中文翻譯)

主要特點:

- 基於組件的可重用性創建乾淨的代碼,以建立大型企業應用程序
- 在面向對象的軟件中有效使用設計模式
- 了解將PHP網絡應用程序結構分為層次以構建定制的網站和應用程序以滿足各種業務需求

書籍描述:

考慮到Zend框架的下一代,Laminas是一個高性能的PHP框架,用於創建具有演進架構的強大網絡應用程序。

本書採用實踐方法,為您提供使用Laminas框架所需的知識,以便基於鬆散耦合組件的重用來開始構建網絡應用程序。您將學習如何創建一個基於層次結構的PHP網絡應用程序的基本結構,了解Laminas的MVC組件,並能夠利用Eclipse平台作為使用Laminas開發的方法。逐步地,您將根據虛構業務的技術需求構建一個電子商務應用程序,並掌握使用Laminas組件實現這些需求的技巧。

通過閱讀本網絡開發書籍,您將能夠使用Laminas在PHP語言中構建完全安全的MVC應用程序。

您將學到什麼:

- 發現如何使用laminas-db實現對象關係映射
- 了解行為驅動開發概念以提高技能
- 創建精簡的控制器和靈活的視圖
- 構建完整的模型和可重用組件
- 探索使用Laminas開發的Eclipse平台
- 發現使用laminas-form生成HTML表單有多簡單
- 實踐測試驅動開發以編寫精確的程序

作者簡介

Flávio Lisboa is development analyst in SERPRO in several projects for the Brazilian government, instructor of development software courses, teacher of development software disciplines and member of Brazilian PHP community. He also was a programmer of desktop applications for restaurants and industrial kitchens and system analyst in the international board of Bank of Brazil. Sometimes he writes sci-fi romances like The One: the Solitude and the Harmony and Pandino, the Emperor.

作者簡介(中文翻譯)

Flávio Lisboa是巴西政府的多個項目中的開發分析師,也是SERPRO的開發軟體課程講師、開發軟體課程教師和巴西PHP社群的成員。他曾經是餐廳和工業廚房桌面應用程式的程式設計師,並在巴西銀行的國際委員會擔任系統分析師。有時他也會寫科幻愛情小說,例如《The One: the Solitude and the Harmony》和《Pandino, the Emperor》。

目錄大綱

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

目錄大綱(中文翻譯)

目錄


  1. 介紹 Laminas for PHP 應用程式

  2. 建立我們的電子商務應用程式環境

  3. 使用 Laminas 作為測試驅動開發的程式庫

  4. 從物件關聯對映到 MVC 容器

  5. 建立虛擬商店專案

  6. 使用行為驅動開發的模型和物件關聯對映器

  7. 請求控制和資料視圖

  8. 建立表單並實作過濾器和驗證器

  9. 事件驅動的身份驗證

  10. 事件驅動的授權

  11. 實作產品籃子

  12. 檢視和改進我們的應用程式

  13. 技巧和訣竅

  14. 最後的考量