Learning FuelPHP for Effective PHP Development
Год: 2013
Автор: Ross Tweedie
Издательство: Packt Publishing
ISBN: 978-1-78216-037-3
Язык: Английский
Формат: PDF/EPUB/MOBI
Качество: Изначально компьютерное (eBook)
Интерактивное оглавление: Да
Количество страниц: 104
Описание:
In DetailPHP 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.
ApproachThe book follows a standard tutorial approach, which will enable readers to use the FuelPHP framework efficiently while developing PHP applications.
Who this book is forIf 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.
Preface
Chapter 1: What is FuelPHP?
A brief history of FuelPHP
Features of FuelPHP
What to look forward to in Version 2.0
Chapter 2: Installation
Preparing the development environment
Getting and installing FuelPHP with curl and Oil
Chapter 3: The Architecture
Environments, constants, and configuration
Models, views, and controllers
Chapter 4: Demo Application
Getting started
Creating a database table
Migrations and Oil
Models
Controllers
Views
Generating an administration system using Oil
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
Chapter 6: Advanced Topics
What modules are and how to use them
Tasks
Routing
Unit testing
Profiling
Chapter 7: Welcome to the Community
FuelPHP and GitHub
Getting help and support
FuelPHP on social media
Parting words
Index