Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPMaster.com:
Getting Started with Fuel CMS, Part 2
Dec 20, 2012 @ 17:07:08

PHPMaster.com has published the second article in their working with Fuel CMS series (part one here). This time he focuses on working with modules and creating self-contained blocks of reusable functionality.

In the previous article you learned about the basics of Fuel CMS: how to create views and simple pages. Most websites these days are not that simple though, they have a blog, a gallery, etc. In this part, I’ll explain how Fuel CMS modules work and create a basic guestbook module to demonstrate.

He starts off by introducing the concept of a "module" and what kind of functionality that represents in the Fuel CMS ecosystem. Then he gets into the actual code, showing you how to create a model that connects to a "guestbook_comments" table and a controller to handle a request to "view" and "add" (save) them.

tagged: fuelcms tutorial introduction series contentmanagement cms modules

Link:


Trending Topics: