《Agile Web Application Development with Yii 1.1 and PHP5》

作者:Jeffrey Winesett

出版日期:2010-08-11

语言:English

版本:第1版

页数:368页

描 述

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.

By the end of the 5th iteration, all of the basics of a task management application are in place. The next several iterations are focused on the nice-to-haves. We add user comment functionality, introducing a reusable content portlet architecture approach in the process. We add in an RSS Web feed and demonstrate how easy it is to integrate other third-party tools within a Yii application. We take advantage of Yii’s theming structure to help streamline and design the application, and then introduce Yii’s internationalization (I18N) features so the application can be adapted to various languages and regions without engineering changes.

Finally, we turn our focus to production deployment. We introduce ways to optimize performance and security to prepare the application for a real-world production environment.

Learn the Yii development framework by taking a test-driven, incremental, and iterative approach to building a real-world task management application

What you will learn from this book
Take a “test first” approach to software development using the Yii testing framework
Auto-generate skeleton web applications as well as CRUD scaffolding for the domain object model using the built-in command-line interface
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 mange the user’s last login time and store it in the database
Achieve pre- and post-action method request processing using controller filters
Tap into the CActiveRecord validation workflow to allow for pre- and post-validation processing of your model data
Greatly increase re-use, consistency, and ease of maintenance of the application by developing small content blocks called portlets
Make your application accessible to the world with internationalization (l18N) features and enhance the looks of your application using the Yii theming model

Approach
This is a step-by-step tutorial for developing web applications using Yii. This book follows the test-first, incremental, and iterative approach to software development while developing a project task management application called “TrackStar”.

Who this book is written for

If you are a PHP programmer with knowledge of object oriented programming and want to rapidly develop modern, sophisticated web applications, then this book is for you. No prior knowledge of Yii is required to read this book.

About the Author

Jeffrey Winesett

Jeffrey Winesett is director of application development at Control Group, Inc. in New York City. He has been building large-scale web-based applications for over 10 years and has been a champion of the Yii framework since its initial alpha version. He frequently publishes articles on specific Yii topics and uses Yii + PHP whenever possible on development projects.

下载地址:http://www.ibooktree.com/resource/1374554152862.html

转载于:https://blog.51cto.com/ibooktree/1303191

Agile Web Application Development with Yii 1.1 and PHP5相关推荐

  1. WEB Application Development Integrator : 应用设置

    2.1.       系统安装 应用 Oracle EBS WEB Application Development Integrator WEB ADI在Oracle EBS 11.5.10.* 版本 ...

  2. Web Application Stress Tool(WAS)性能测试

    摘要:这篇文章讨论了性能测试对于成功发布一个网络应用的重要性,集中讨论了微软的Web Application Stress (WAS)这个用于测试Duwamish Online的性能的工具. 内容 介 ...

  3. VS2008 Web Application和Web Site的区别_转载

    MSDN 原文(英文)地址:http://msdn.microsoft.com/en-us/library/aa730880(VS.80).aspx 以下是主要内容的中文翻译: Visual Stud ...

  4. ASP.net 網站和Web Application的區別(轉)

    WebApplication编程模型的优点: ●网站编译速度快,使用了增量编译模式,仅仅只有文件被修改后,这部分才会被增量编译进去. ●生成的程序集 WebSite:生成随机的程序集名,需要通过插件W ...

  5. VS2008 Web Application和Web Site的区别[转]

    MSDN 原文(英文)地址:http://msdn.microsoft.com/en-us/library/aa730880(VS.80).aspx 以下是主要内容的中文翻译: Visual Stud ...

  6. php7 电子书 下载,PHP 7: Real World Application Development

    [作者]Doug Bierer,Altaf Hussain,Branko Ajzele [出版社]电脑/网络 [出版日期]1481854190000 Use new features of PHP 7 ...

  7. 2020-4-24 Open Web Application Security Project (OWASP)

    英文 中文 The Open Web Application Security Project (OWASP) is a nonprofit foundation that works to impr ...

  8. ABP框架官网例子实践(2)(ASP.NET core+Multi Page Web Application)

    ABP框架官网例子实践(1)(ASP.NET core+Multi Page Web Application) 第三步:开始在Application中进行编写代码 1.为app service定义一个 ...

  9. Visual Studio中Website和Web Application Project的区别

    Visual Studio 2005/2008/2010中均有两种Web开发模型,分别是Website(网站)和Web Application Project(Web应用程序项目),许多初学者都不是很 ...

最新文章

  1. pip 和 conda 源更改
  2. python怎么用lambda和map函数_Python之lambda匿名函数及map和filter的用法
  3. c 连接mysql怎么增删改_C++ API方式连接mysql数据库实现增删改查
  4. 苹果正在训练Siri 未来或将更好理解口吃用户
  5. cloudare mysql 密码修改_ubuntu18.04安装mysql,开启远程登录,修改默认端口
  6. c语言商品管理系统文件,c语言商品管理系统(文件应用).doc
  7. python应用系列教程——python使用socket创建udp服务器端和客户端
  8. Atitit 使用js nodejs进行图像处理ocr的解决方案attilax总结
  9. 谈电子信息系统机房设计规范——访中国电子工程设计院副总工程师钟景华
  10. IT行业都有哪些职位
  11. 基于QT的推箱子小游戏设计
  12. 高级程序员和普通程序员有哪些区别?
  13. 计算机网络 --- IP地址的详细分类
  14. 我们不应该歧视任何的编程语言,因为他们都是萌娘
  15. 2022年最新有关“绿色消费积分”制度的行业利好
  16. 原装苹果手机_苹果手机换个屏水这么深!嘉兴警方揭开“原装屏”真相
  17. Serialize的使用
  18. CMS与前端页面SSI技术
  19. python_傅里叶变换(DFT、FFT、STFT)
  20. 基于C6748 DSP+FPGA电能质量检测仪设计和实现

热门文章

  1. 因中间件问题重重,谷歌暂停Chrome的量子安全功能
  2. 施耐德电气的 Modicon PLC 中被曝严重漏洞,已有缓解措施
  3. Linux 应用市场易受RCE和供应链攻击,多个0day未修复
  4. csharp:Convert Image to Base64 String and Base64 String to Image
  5. CentOS 7.5安装部署Jewel版本Ceph集群
  6. php自定义函数记录一
  7. 运维利器screen
  8. Java 多线程编程两个简单的例子
  9. 软考网络规划设计师考试要求
  10. hdu4616_Game_树形DP