Loading...

Creating a QuickStart Blog with CodeIgniter

Share Icon

ISBN: 978-0-470-41338-8

September 2008

43 pages

Description
In this Wrox Blox, you will learn how to build a QuickStart blogging tool with CodeIgniter. The blogging tool will include an administrative dashboard that will allow users to create and manage posts and categories. If you’re a PHP developer, CodeIgniter will help you build Rails-like applications without learning a new language. Use MVC and agile technologies, model and schema for products, helpers and libraries, Ajax and Scriptaculous, to create applications like content management, blogs, and forums.

 

Table of Contents

Introducing CodeIgniter 2

What’s Model-View-Controller? 2

Why Bother with MVC? 4

Installing and Configuring CodeIgniter 5

The Root Folder 6

The system/Folder 7

The system/application Folder 7

Tweaking the Configuration 8

Getting Started 10

The Public-Facing Site 12

Creating the Template View 14

Creating the Home Page View 16

Creating the Category View 19

Creating the Blog Details View 20

Creating the Login Form 22

Verifying Logins 23

Creating the MAdmins Model 24

Creating the verifyUser() Function 24

A Small Note about Creating Your First User 25

Creating the Admin Dashboard 25

Creating the Dashboard Controller 26

Building the Admin Area 28

Creating the Rest of the Admin Functions 34

Summary 38

About Thomas Myer 39

 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.
Series