Agile Web Application Development with Yii 1.1 and PHP5 phần 1 pdf

37 387 0
Agile Web Application Development with Yii 1.1 and PHP5 phần 1 pdf

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

[...]... Fixing the owner and requester fields Enforcing a project context Implementing a filter [ iii ] 93 93 94 95 95 96 98 98 10 1 10 1 10 2 10 3 10 4 10 5 10 5 10 6 10 7 10 7 11 1 11 2 11 2 11 3 Preface Yii is a high-performance, component-based application development framework written in PHP It helps ease the complexity of building large-scale applications It enables maximum reusability in web programming, and can significantly... form field Returning back to the owner and requester dropdowns Generating the data to populate the drop-down menu Adding User and ProjectUserAssignment fixtures Making one last change Finishing the rest of the CRUD Listing the issues Altering the ProjectController 11 3 11 4 11 5 11 7 11 7 11 8 11 9 12 2 12 4 12 7 12 8 12 9 12 9 Making some final tweaks Getting the status and type text to display Adding the text... the database Introducing the Yii authentication model Changing the authenticate implementation Updating the user last login time Displaying the last login time on the home page Summary Chapter 8: Iteration 5: User Access Control Iteration planning Running our existing test suite accessControl filter [ iv ] 13 0 14 7 14 7 14 8 14 9 15 0 15 7 15 9 16 0 16 0 16 5 16 8 16 9 17 0 17 1 17 2 17 3 17 3 Table of Contents Role-based... Adding the feed links Summary 19 0 19 1 203 205 207 208 210 211 213 215 215 216 218 218 220 2 21 224 225 227 229 232 237 239 239 240 2 41 2 41 244 245 246 247 249 2 51 [v] Table of Contents Chapter 11 : Iteration 8: Making it Pretty - Design, Layout, Themes, and Internationalization(i18n) Iteration planning Designing with layouts Specifying a layout Applying and using a layout Deconstructing the main.php layout... component-based, web application framework written in PHP 5 Yii makes it easier to create and maintain large-scale web applications It also makes them more efficient and extensible Let's take a quick look at each of these characteristics of Yii in turn Yii is easy To run a Yii- powered web application, all you need is the core framework files and a web server supporting PHP 5 .1. 0 or higher To develop with Yii, ... create your application' s folder structure For the purpose of this demo application, we will assume the following: • YiiRoot is the folder where you have installed Yii • WebRoot is configured as the document root of your web server • From your command line, change to your WebRoot folder and execute the following: % cd WebRoot % YiiRoot/framework/yiic webapp demo Create a Web application under '/Webroot/demo'?... accelerate the development process As mentioned previously, if you stick with Yii' s built-in conventions, you can get your application up and running with little to no manual configuration Yii is also designed to help you with DRY development DRY (Don't Repeat Yourself) is a key concept of agile application development All Yii applications are built using the Model-View-Controller (MVC) architecture Yii enforces... understand what is happening behind the scenes What this book cover Chapter 1 Meet Yii introduces Yii at a high level We learn the importance and utility of using application development frameworks, and the characteristics of Yii that make it incredibly powerful and useful Chapter 2—Getting Started walks through a simple Hello, World! style application using the Yii Framework Chapter 3—The TrackStar Application. .. third-party frameworks into a Yii application by integrating the Zend Framework's Web Feed library to create simple RSS feed within our application Chapter 11 —Iteration 8: Making It Pretty: Design, Layout, Themes and Iternationalization (i18n) delves deeper into the presentation tier of Yii, introducing layout views, themes as well as internationalization and localization in Yii Chapter 12 —Iteration 9: Modules... high demands placed on today's web applications AJAX-enabled widgets, web service integration, enforcement of an MVC architecture, DAO and relational Active Record database layer, sophisticated caching, hierarchical role-based access control, theming, internationalization (I18N), and localization (L10N), are just the tip of the Yii iceberg As of version 1. 1, the core framework is now packaged with an . Agile Web Application Development with Yii 1. 1 and PHP5 Fast-track your web application development by harnessing the power of the Yii PHP Framework Jeffery Winesett BIRMINGHAM - MUMBAI Agile. controller 10 Stitching these together: Yii request routing 11 Blog posting example 11 Object-relational mapping and Active Record 13 Active Record 14 The view and controller 14 Summary 15 Chapter. context 11 2 Implementing a lter 11 3 Download from Wow! eBook <www.wowebook.com> Table of Contents [ iv ] Adding a lter 11 3 Specifying the ltered actions 11 4 Adding some lter logic 11 5 Adding

Ngày đăng: 09/08/2014, 12:22

Từ khóa liên quan

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan