Learning FuelPHP for Effective PHP Development

Use the flexible FuelPHP framework to quickly and effectively create PHP applications

Learning FuelPHP for Effective PHP Development

Learning
Ross Tweedie

Use the flexible FuelPHP framework to quickly and effectively create PHP applications
$17.99
$29.99
RRP $17.99
RRP $29.99
eBook
Print + eBook
$12.99 p/month

Want this title & more? Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.
Code Files
+ Collection
Free Sample

Book Details

ISBN 139781782160366
Paperback104 pages

About This Book

  • Scaffold with oil - the FuelPHP command-line tool
  • Build an administration quickly and effectively
  • Create your own project using FuelPHP

Who This Book Is For

If you are a PHP developer who is looking to learn more about using the FuelPHP framework for effective PHP development, this book is ideal for you. If you are interested in this book, you should already have a basic understanding of general PHP development.

Table of Contents

Chapter 1: What is FuelPHP?
A brief history of FuelPHP
Features of FuelPHP
What to look forward to in Version 2.0
Summary
Chapter 2: Installation
Preparing the development environment
Getting and installing FuelPHP with curl and Oil
Summary
Chapter 3: The Architecture
Environments, constants, and configuration
Models, views, and controllers
Summary
Chapter 4: Demo Application
Getting started
Creating a database table
Migrations and Oil
Models
Controllers
Views
Generating an administration system using Oil
Summary
Chapter 5: Packages
What is a package?
Recommended packages
Using the Auth package for user authentication
Composer
An introduction to building your own package
Letting people know about your package
Summary
Chapter 6: Advanced Topics
What modules are and how to use them
Tasks
Routing
Unit testing
Profiling
Summary
Chapter 7: Welcome to the Community
FuelPHP and GitHub
Getting help and support
FuelPHP on social media
Parting words

What You Will Learn

  • Install FuelPHP
  • Set up a project and use Git source control
  • Use the FuelPHP oil tool to auto-generate Models, Views, and Controllers
  • Perform migrations to bring different environments in line with one another
  • Deploy existing packages to perform common functionality
  • Enable user authentication with the Auth package
  • Create your own packages to share functionality

In Detail

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.

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.

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.

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.

The book concludes with an introduction to the PHP community.

Authors

Table of Contents

Chapter 1: What is FuelPHP?
A brief history of FuelPHP
Features of FuelPHP
What to look forward to in Version 2.0
Summary
Chapter 2: Installation
Preparing the development environment
Getting and installing FuelPHP with curl and Oil
Summary
Chapter 3: The Architecture
Environments, constants, and configuration
Models, views, and controllers
Summary
Chapter 4: Demo Application
Getting started
Creating a database table
Migrations and Oil
Models
Controllers
Views
Generating an administration system using Oil
Summary
Chapter 5: Packages
What is a package?
Recommended packages
Using the Auth package for user authentication
Composer
An introduction to building your own package
Letting people know about your package
Summary
Chapter 6: Advanced Topics
What modules are and how to use them
Tasks
Routing
Unit testing
Profiling
Summary
Chapter 7: Welcome to the Community
FuelPHP and GitHub
Getting help and support
FuelPHP on social media
Parting words

Book Details

ISBN 139781782160366
Paperback104 pages
Read More

Recommended for You

FuelPHP Application Development Blueprints
$ 26.99