PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information

PHPBuilder.com: Creating a Database-driven Fuel PHP Application

Note: This article was originally published at PHPDeveloper on 20 October 2011.
PHPDeveloper

On PHPBuilder.com today they have another tutorial that involves the Fuel PHP framework (previously mentioned here). This time, though, they dive in a bit deeper and look at how to create a database-driven application using the database/ORM tools the framework comes bundled with.

In a recent article I introduced the Fuel PHP framework, which shows great promise despite its status as a relative newcomer to the crowded PHP framework market. While hopefully this introductory tutorial helped to acquaint you with fundamental Fuel concepts, it barely scratched the surface in terms of its impressive capabilities, so I thought it would be worthwhile to pen a follow-up article which examines a feature fundamental to almost any web application no matter how small: database integration.

He shows you how to configure your database connection settings, create your first model and work with the "oil" command line application to scaffold out the CRUD of interacting with the model.