Web Application Development with Yii and PHP
暫譯: 使用 Yii 和 PHP 的網頁應用程式開發
Jeffrey Winesett
- 出版商: Packt Publishing
- 出版日期: 2012-11-22
- 售價: $1,870
- 貴賓價: 9.5 折 $1,777
- 語言: 英文
- 頁數: 332
- 裝訂: Paperback
- ISBN: 1849518726
- ISBN-13: 9781849518727
-
相關分類:
PHP
海外代購書籍(需單獨結帳)
買這商品的人也買了...
-
$1,600$1,568 -
$550$468 -
$530$350 -
$620$527 -
$450$297 -
$480$408 -
$800$760 -
$360$284 -
$320$250 -
$1,260RESTful Web APIs (Paperback)
-
$480$408 -
$500$425 -
$580$493 -
$580$452 -
$480$408 -
$680$537 -
$880$748 -
$580$493 -
$690$621 -
$600$468 -
$800$680 -
$720$562 -
$460$414 -
$620$489 -
$600$474
相關主題
商品描述
For PHP programmers with a yearning to add modernity and sophistication to their web applications, this book will be a revelation. A step-by-step tutorial to Yii, it talks you through the development of a complete real-world application.
Overview
- A step-by-step guide to creating a modern Web application using PHP, MySQL, and Yii
- Build a real-world, user-based, database-driven project task management application using the Yii development framework.
- Start with a general idea, and finish with deploying to production, learning everything about Yii inbetween, from "A"ctive record to "Z"ii component library.
In Detail
This book is a step by step tutorial in developing a real-world application using the incremental and iterative approach to software development. You learn about agile software development by leaning on the agile nature of the Yii application development framework. You touch on each aspect of the software development lifecycle by building a project task management application from concept through production deployment.
After a brief, general introduction to the Yii framework and outlining the software development approach taken throughout the book, the chapters break down in the same way as software development iterations do in real-world projects. After the 1st iteration, you will have a working and tested application with a valid, tested connection to a database.
In the 2nd and 3rd iterations, we flesh out our main database entities and domain object model and become familiar with Yii's object-relational-mapping (ORM) layer, Active Record. We also learn how to lean on Yii's auto-generation tools to automatically build our create/read/update/delete (CRUD) functionality against our newly created model. These iterations also focus on how Yii's form validation and submission model works. By the end of the third iteration you will have a working application that allows you to mange projects and issues (tasks) within those projects.
The 4th and 5th iterations are dedicated to user management. We learn about the built-in authentication model within Yii to assist in application login and logout functionality. We then dive into the authorization model, first taking advantage of a Yii's simple access control model, then implementing the more sophisticated role-based access control (RBAC) framework that Yii provides.
What you will learn from this book
- Auto-generate skeleton web applications as well as CRUD scaffolding for the domain object model using the built-in command-line interface
- Use Yii database migrations to version and manage your database changes
- Create user-based applications with Yii's authentication model
- Enhance your user-based application to control a user's access to feature functionality
- Write an administrative console application to extend the features provided by Yii's powerful command-line tools
- Integrate other frameworks and libraries into a Yii application to further extend its feature set
- Spend less time managing application configuration by taking advantage of Yii's sensible defaults and conventions.
- Learn how easy it is to implement a multi-user application by utilizing Yii's authentication and role-based authorization models
- Update your code to properly manage the user's last login time and store it in the database
商品描述(中文翻譯)
對於渴望為其網頁應用程式增添現代感和精緻度的 PHP 程式設計師來說,本書將是一個啟示。這是一本逐步教學 Yii 的書籍,將引導您開發一個完整的實際應用程式。
**概述**
- 使用 PHP、MySQL 和 Yii 創建現代網頁應用程式的逐步指南
- 使用 Yii 開發框架構建一個基於用戶的實際數據庫驅動的任務管理應用程式
- 從一般概念開始,最終部署到生產環境,並在此過程中學習 Yii 的所有知識,從 'A'ctive record 到 'Z'ii 組件庫
**詳細內容**
本書是一本逐步教學,旨在使用增量和迭代的方法開發實際應用程式。您將通過依賴 Yii 應用程式開發框架的敏捷特性來學習敏捷軟體開發。您將通過從概念到生產部署構建一個項目任務管理應用程式,觸及軟體開發生命週期的每個方面。
在簡要介紹 Yii 框架並概述本書所採用的軟體開發方法後,各章節將按照實際項目中的軟體開發迭代方式進行劃分。在第一次迭代後,您將擁有一個運行良好且經過測試的應用程式,並與數據庫建立有效的連接。
在第二次和第三次迭代中,我們將詳細說明主要數據庫實體和領域對象模型,並熟悉 Yii 的物件關聯映射(ORM)層,即 Active Record。我們還將學習如何利用 Yii 的自動生成工具,自動構建針對新創建模型的創建/讀取/更新/刪除(CRUD)功能。這些迭代還將重點介紹 Yii 的表單驗證和提交模型的運作方式。在第三次迭代結束時,您將擁有一個可以管理項目和這些項目中的問題(任務)的運行應用程式。
第四次和第五次迭代專注於用戶管理。我們將學習 Yii 中內建的身份驗證模型,以協助應用程式的登錄和登出功能。然後,我們將深入了解授權模型,首先利用 Yii 的簡單訪問控制模型,然後實施 Yii 提供的更複雜的基於角色的訪問控制(RBAC)框架。
**您將從本書中學到什麼**
- 使用內建的命令行介面自動生成骨架網頁應用程式以及針對領域對象模型的 CRUD 骨架
- 使用 Yii 數據庫遷移來版本控制和管理您的數據庫變更
- 使用 Yii 的身份驗證模型創建基於用戶的應用程式
- 增強您的基於用戶的應用程式,以控制用戶對功能的訪問
- 編寫管理控制台應用程式,以擴展 Yii 強大命令行工具提供的功能
- 將其他框架和庫整合到 Yii 應用程式中,以進一步擴展其功能集
- 通過利用 Yii 的合理默認值和慣例,減少管理應用程式配置的時間
- 學習如何利用 Yii 的身份驗證和基於角色的授權模型輕鬆實現多用戶應用程式
- 更新您的代碼以正確管理用戶的最後登錄時間並將其存儲在數據庫中