In this Wrox Blox, you'll learn how to build a microsite manager with CodeIgniter. The microsite manager will include an administrative dashboard that will allow users to create folders and pages and manage media files. It also discusses recreating the microsite at any point with a variety of site publishing tools. CodeIgniter offers a viable PHP solution to MVC development and is becoming popular among PHP developers. Table of Contents:
Introducing CodeIgniter 2
What's Model-View-Controller? 3
Why Bother with MVC? 4
Installing and Configuring CodeIgniter 5
The Root Folder 6
The system/ Folder 6
The system/application Folder 7
Tweaking the Configuration 8
Getting Started 10
The Login Area 11
Creating the Template View 12
Creating the Login Form 14
Reworking the index() Function 15
Creating the MAdmins Model 16
Creating the verifyUser() Function 17
Autoloading the MAdmins Model 17
A Small Note about Creating Your First User 18
Creating the Admin Dashboard 18
Creating the Dashboard Controller 19
Building the Admin Area 22
Setting up the Site Builder 35
Conclusion 39
About Thomas Myer
Usage Rights for Wiley Wrox Blox
Any Wrox Blox you purchase from this site will come with certain restrictions that allow Wiley to protect the copyrights of its products. After you purchase and download this title, you:
- Are entitled to three downloads
- Are entitled to make a backup copy of the file for your own use
- Are entitled to print the Wrox Blox for your own use
- Are entitled to make annotations and comments in the Wrox Blox file for your own use
- May not lend, sell or give the Wrox Blox to another user
- May not place the Wrox Blox file on a network or any file sharing service for use by anyone other than yourself or allow anyone other than yourself to access it
- May not copy the Wrox Blox file other than as allowed above
- May not copy, redistribute, or modify any portion of the Wrox Blox contents in any way without prior permission from Wiley
If you have any questions about these restrictions, you may contact Customer Care at (877) 762-2974 (8 a.m. - 5 p.m. EST, Monday - Friday). If you have any issues related to Technical Support, please contact us at 800-762-2974 (United States only) or 317-572-3994 (International) 8 a.m. - 8 p.m. EST, Monday - Friday).
About the Author: Thomas Myer is a technical book author, consultant, and web developer. In 2001, he founded Triple Dog Dare Media in Austin, Texas. Triple Dog Dare Media focuses its attention on helping companies create CodeIgniter-based applications like content management, portals, and ecommerce systems. Thomas Myer is the author of No Nonsense XML Web Development with PHP (Sitepoint, 2004) and Lead Generation on the Web (O'Reilly 2007). His new book, Professional CodeIgniter from WROX will hit the book stores July 2008. He has also authored dozens of technical and business articles for IBM DeveloperWorks, Amazon Web Services, AOL, Darwin Magazine, and others.