Book Image

Learning FuelPHP for Effective PHP Development

By : Ross Tweedie
Book Image

Learning FuelPHP for Effective PHP Development

By: Ross Tweedie

Overview of this book

<p>PHP frameworks have been around for a number of years. FuelPHP was one of the first frameworks built for PHP 5.3. It makes use of more advanced features of the language to allow you to focus on delivering features and code for your projects. FuelPHP allows you to quickly build prototypes using scaffolding and command-line tools, thus allowing you to concentrate on the fun part of trialling ideas and concepts.</p> <p>This practical guide will show you how to use FuelPHP to quickly create projects more quickly and effectively. You will learn everything you need to know when creating projects with FuelPHP, including how to adapt the project as ideas change and develop.</p> <p>This guide is packed with several tutorials that will help you to build a powerful and engaging application, and in the process you will learn more about FuelPHP. This book explores how to install and build a FuelPHP project in a step- by- step approach.</p> <p>Starting with an exploration of the features of FuelPHP, this book then delves into the creation of a simple application. You will then move on to scaffolding your application using the powerful FuelPHP Oil command-line tool. Next, you will be introduced to packages and modules, and also cover routing, which allows for cleaner URL structures.</p> <p>The book concludes with an introduction to the PHP community.</p>
Table of Contents (14 chapters)

Chapter 4. Demo Application

Now that we are through with the introduction to the FuelPHP framework, it's time to build something. We will run through the Oil command-line tool migration, putting it all together in the example application. In this chapter we will be creating a simple blogging application much like WordPress.

In their own words, WordPress is becoming the operating system of the Web. According to founder Matt Mullenweg:

"WordPress now powers 18.9% of the Web, has over 46m downloads"

Visit the following link for more information on the article:

http://thenextweb.com/insider/2013/07/27/wordpress-now-powers-18-9-of-the-web-has-over-46m-downloads-according-to-founder-matt-mullenweg/

Now, WordPress has a focus much larger than blogging or simple journals. Although a simple application or website, creating a simple blog will demonstrate a lot of the FuelPHP features—from database migrations, pivoting ideas, and code to full temporal models to store revisions of journal entries.

Before...