Web Application Development with Yii and PHP
Jeffrey Winesett
- 出版商: Packt Publishing
- 出版日期: 2012-11-22
- 售價: $1,840
- 貴賓價: 9.5 折 $1,748
- 語言: 英文
- 頁數: 332
- 裝訂: Paperback
- ISBN: 1849518726
- ISBN-13: 9781849518727
-
相關分類:
PHP
海外代購書籍(需單獨結帳)
買這商品的人也買了...
-
$1,600$1,568 -
$550$468 -
$530$451 -
$620$527 -
$450$383 -
$480$408 -
$790$751 -
$360$284 -
$320$250 -
$1,260RESTful Web APIs (Paperback)
-
$480$408 -
$500$395 -
$580$458 -
$580$452 -
$480$408 -
$680$578 -
$880$695 -
$580$458 -
$690$587 -
$600$468 -
$800$624 -
$720$562 -
$460$414 -
$620$527 -
$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開發框架,逐步指南創建現代Web應用程序。
- 使用Yii開發框架構建一個基於用戶的、數據庫驅動的項目任務管理應用程序。
- 從一個普遍的想法開始,最終部署到生產環境,學習Yii的所有內容,從'A'ctive record到'Z'ii組件庫。
詳細內容:
這本書是一個逐步教程,以增量和迭代的方式開發一個現實世界應用程序。通過依賴Yii應用程序開發框架的敏捷性,您將了解敏捷軟件開發。通過從概念到生產部署逐步構建項目任務管理應用程序,您將接觸到軟件開發生命周期的每個方面。
在簡要介紹Yii框架並概述本書中採用的軟件開發方法之後,各章節按照現實項目中的軟件開發迭代方式進行分解。在第一次迭代之後,您將擁有一個具有有效且經過測試的與數據庫的連接的應用程序。
在第二和第三次迭代中,我們完善主要的數據庫實體和領域對象模型,並熟悉Yii的對象關係映射(ORM)層,Active Record。我們還學習如何依賴Yii的自動生成工具自動構建我們對新建模型的創建/讀取/更新/刪除(CRUD)功能。這些迭代還關注Yii的表單驗證和提交模型的工作方式。到第三次迭代結束時,您將擁有一個可以在項目中管理項目和問題(任務)的工作應用程序。
第四和第五次迭代專門用於用戶管理。我們了解Yii內置的身份驗證模型,以協助應用程序的登錄和登出功能。然後,我們深入研究授權模型,首先利用Yii的簡單訪問控制模型,然後實施Yii提供的更複雜的基於角色的訪問控制(RBAC)框架。
您將從本書中學到的內容:
- 使用內置的命令行界面自動生成骨架Web應用程序以及對領域對象模型的CRUD脚手架。
- 使用Yii數據庫遷移來版本化和管理數據庫更改。
- 創建基於用戶的應用程序,使用Yii的身份驗證模型。
- 增強基於用戶的應用程序,以控制用戶對功能的訪問。
- 編寫管理控制台應用程序,擴展Yii強大的命令行工具提供的功能。
- 將其他框架和庫集成到Yii應用程序中,進一步擴展其功能集。
- 通過利用Yii的合理默認值和慣例,節省管理應用程序配置的時間。
- 通過利用Yii的身份驗證和基於角色的授權模型,實現多用戶應用程序的實現。
- 更新代碼以正確管理用戶的最後登錄時間並將其存儲在數據庫中。