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 the Issue CRUD operations


Now that we have our AR classes in place, we can turn to building the functionality required to manage our project issues. As the CRUD operations on project issues are the main goal of this iteration, we'll again lean on the Gii code generation tool to help create the basics of this functionality. We did this in detail for the projects in Chapter 5. We'll remind you of the basic steps for issues again here.

Navigate to the Gii generator menu at http://localhost/tracks tar/index.php?r=gii, and choose the Crud Generator link. Fill out the form using Issue as the value for the Model Class field. This will auto-populate the Controller ID to also be Issue. The Base Controller Class and Code Template fields can remain their predefined default values. Click the Preview button to get a list of all of the files that the Gii tool is proposing to create. The following screenshot shows this list of files:

You can click each individual link to preview the code to be generated...

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 ₹800/month. Cancel anytime
Modal Close icon
Modal Close icon