Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Agile Web Application Development with Yii1.1 and PHP5

You're reading from   Agile Web Application Development with Yii1.1 and PHP5 For PHP developers who know object-oriented programming, this book is the fast track to learning the Yii framework. It takes a step-by-step approach to building a complete real-world application ‚Äì teaching by practice rather than theory.

Arrow left icon
Product type Paperback
Published in Aug 2010
Publisher Packt
ISBN-13 9781847199584
Length 368 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Toc

Table of Contents (19) Chapters Close

Agile Web Application Development with Yii 1.1 and PHP5
Credits
About the Author
About the Reviewers
Preface
1. Meet Yii FREE CHAPTER 2. Getting Started 3. The TrackStar Application 4. Iteration 1: Creating the Initial TrackStar Application 5. Iteration 2: Project CRUD 6. Iteration 3: Adding Tasks 7. Iteration 4: User Management and Authentication 8. Iteration 5: User Access Control 9. Iteration 6: Adding User Comments 10. Iteration 7: Adding an RSS Web Feed 11. Iteration 8: Making it Pretty - Design, Layout, Themes, and Internationalization(i18n) 12. Iteration 9: Modules - Adding Administration 13. Iteration 10: Production Readiness Index

Creating a new application


To create a new application, we are going to use a little powerhouse of a tool known as yiic that comes packaged with the framework. This is a command-line tool that one can use to quickly jumpstart a brand new Yii application. It is not mandatory to use this tool, but it saves a lot of time and guarantees that the proper folder and file structure is in place.

To use this tool to create your first Yii application, open up a shell window, and navigate to a place in your filesystem where you will want to 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'? [Yes|No] 
    Yes 
       mkdir /WebRoot/demo
       mkdir /WebRoot/demo/assets...
lock icon The rest of the chapter is locked
Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Agile Web Application Development with Yii1.1 and PHP5
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Modal Close icon
Modal Close icon