Pro PHP 8 MVC: Model View Controller Architecture-Driven Application Development (Paperback)

Pitt, Christopher

  • 出版商: Apress
  • 出版日期: 2021-05-27
  • 定價: $1,920
  • 售價: 9.5$1,824
  • 貴賓價: 9.0$1,728
  • 語言: 英文
  • 頁數: 367
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 148426956X
  • ISBN-13: 9781484269565
  • 相關分類: PHP
  • 立即出貨 (庫存=1)

買這商品的人也買了...

商品描述

Examine the building blocks that make any good MVC framework using PHP 8. This book exposes all the considerations that many developers take for granted when using a popular framework, and teaches you how to make this MVC framework your own.

You'll quickly get started writing your first bit of framework code, then, you build a variety of examples using aspects of an MVC framework, including a router, a template engine, a database library, a persistence engine (ORM), and a testing framework. In the next section, you'll implement sessions, caches, file systems, queues, logging, and mail. You'll wrap up by building a larger scale sample web application: a sales website for a company that sells rockets.

Along the way, this book lays bare all the secret parts of MVC to take with you to apply to your own PHP-based MVC projects.

What You Will Learn

  • Build PHP-based web applications using the model view controller (MVC) architecture
  • Write your first bit of framework code
  • Compare the code you write with how the popular frameworks do the same kinds of things
  • Create various aspects of applications, engines, and other frameworks
  • Wrap up with a sample case study application

Who This Book Is For

Experienced PHP and web developers. Some prior experience with PHP and web development at least recommended.

商品描述(中文翻譯)

本書將介紹使用 PHP 8 構建任何良好的 MVC 框架的基本組件。這本書揭示了許多開發人員在使用流行框架時視為理所當然的考慮因素,並教你如何將這個 MVC 框架變成你自己的。你將快速開始編寫你的第一個框架代碼,然後使用 MVC 框架的各個方面構建多個示例,包括路由器、模板引擎、數據庫庫、持久化引擎(ORM)和測試框架。在下一部分中,你將實現會話、緩存、文件系統、隊列、日誌記錄和郵件功能。最後,你將構建一個更大規模的示例網絡應用程序:一個銷售火箭的公司的銷售網站。在這個過程中,本書將揭示 MVC 的所有秘密部分,供你在自己的基於 PHP 的 MVC 項目中應用。本書適合有經驗的 PHP 和網絡開發人員。建議至少具備一些 PHP 和網絡開發的經驗。

作者簡介

Christopher Pitt is an experienced PHP and JavaScript/CSS web developer and writer, working at SilverStripe. He usually works on application architecture, though sometimes you'll find him building compilers or robots. He is also the author of several web development books and is a contributor on various open source projects such as AdonisJs and Masonite.

作者簡介(中文翻譯)

Christopher Pitt 是一位經驗豐富的 PHP 和 JavaScript/CSS 網頁開發人員和作家,目前在 SilverStripe 工作。他通常負責應用程式架構,但有時也會看到他在建立編譯器或機器人。他也是幾本網頁開發書籍的作者,並且是一些開源專案(如 AdonisJs 和 Masonite)的貢獻者。