Learning FuelPHP for Effective PHP Development

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

Learning FuelPHP for Effective PHP Development

Ross Tweedie

Use the flexible FuelPHP framework to quickly and effectively create PHP applications
Mapt Subscription
FREE
$29.99/m after trial
eBook
$12.60
RRP $17.99
Save 29%
Print + eBook
$29.99
RRP $29.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$12.60
$29.99
$29.99p/m after trial
RRP $17.99
RRP $29.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Code Files
Preview in Mapt

Book Details

ISBN 139781782160366
Paperback104 pages

Book Description

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.

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

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

Read More Reviews

Recommended for You

Responsive Web Design with HTML5 and CSS3 Book Cover
Responsive Web Design with HTML5 and CSS3
$ 23.99
$ 4.80
Mastering Web Application Development with AngularJS Book Cover
Mastering Web Application Development with AngularJS
$ 26.99
$ 5.40
AngularJS Web Application Development Blueprints Book Cover
AngularJS Web Application Development Blueprints
$ 29.99
$ 21.00
Bootstrap Site Blueprints Book Cover
Bootstrap Site Blueprints
$ 26.99
$ 18.90
Web Application Development with Yii 2 and PHP Book Cover
Web Application Development with Yii 2 and PHP
$ 21.99
$ 15.40
Git: Version Control for Everyone Book Cover
Git: Version Control for Everyone
$ 23.99
$ 16.80