Learning FuelPHP for Effective PHP Development


Learning FuelPHP for Effective PHP Development
eBook: $17.99
Formats: PDF, PacktLib, ePub and Mobi formats
$15.29
save 15%!
Print + free eBook + free PacktLib access to the book: $47.98    Print cover: $29.99
$29.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Overview
Table of Contents
Author
Reviews
Support
Sample Chapters
  • Scaffold with oil - the FuelPHP command-line tool
  • Build an administration quickly and effectively
  • Create your own project using FuelPHP

Book Details

Language : English
Paperback : 104 pages [ 235mm x 191mm ]
Release Date : November 2013
ISBN : 1782160361
ISBN 13 : 9781782160366
Author(s) : Ross Tweedie
Topics and Technologies : All Books, Web Development, Open Source

Table of Contents

Preface
Chapter 1: What is FuelPHP?
Chapter 2: Installation
Chapter 3: The Architecture
Chapter 4: Demo Application
Chapter 5: Packages
Chapter 6: Advanced Topics
Chapter 7: Welcome to the Community
Index
  • Chapter 1: What is FuelPHP?
    • A brief history of FuelPHP
    • Features of FuelPHP
      • (H)MVC
      • Modular and extendable
      • Security
      • Oil – the power of the command line
      • ORM
      • Base controller classes and model classes
      • The authentication package
      • Template parsers
      • Documentation
    • What to look forward to in Version 2.0
      • Global scope and moving to dependency injection
      • Singleton
      • Multiton
      • Dependency injection container
      • Coding standards
      • Package management and modularization
      • Backwards compatibility
      • Speed boosts
    • Summary
    • Chapter 2: Installation
      • Preparing the development environment
        • Apache
        • PHP
        • Database interactions
        • Source control – introducing Git
          • Further information about Git
      • Getting and installing FuelPHP with curl and Oil
        • Clone from GitHub
          • Continuing the installation
        • Setting up your project
        • Using submodules to easily update the FuelPHP core and packages
        • Committing your code
        • Composer – the package manager
        • Configuration
        • Running in the production environment
        • Performing migrations
      • Summary
      • Chapter 3: The Architecture
        • Environments, constants, and configuration
          • Server and Apache configuration
          • The bootstrap PHP file
          • Configuration
          • Constants
        • Models, views, and controllers
          • Views and ViewModels
          • Models
          • Controllers
            • Template
            • Rest
            • Hybrid
        • Summary
        • Chapter 4: Demo Application
          • Getting started
          • Creating a database table
            • Entries
            • Categories
            • Users
            • categories_entries
          • Migrations and Oil
          • Models
          • Controllers
          • Views
          • Generating an administration system using Oil
          • Summary
          • Chapter 5: Packages
            • What is a package?
            • Recommended packages
              • OAuth
              • OAuth2
              • Mandrill
              • Sprockets
            • Using the Auth package for user authentication
              • SimpleAuth
              • ORMAuth
              • OPAuth
            • Composer
            • An introduction to building your own package
              • Setting up a repository
              • Working the package as a submodule
              • Structuring your package
              • Configuring your package
              • Using your package
            • Letting people know about your package
            • Summary
            • Chapter 6: Advanced Topics
              • What modules are and how to use them
                • Namespaces
                • The module folder structure
                • Using the module from the main application
              • Tasks
              • Routing
              • Unit testing
                • So what is unit testing?
                • PHPUnit
                • Running unit tests
                • Creating unit tests
                • Grouping unit tests
                • Configuration and module testing
              • Profiling
              • Summary

                Ross Tweedie

                Ross Tweedie is a developer who specializes in creating applications using PHP and FuelPHP. He is passionate about using FuelPHP to test new ideas and concepts effectively. He is using open source technologies to enable people to collaborate with one another. His background is both in design and development, and he has experience in a wide range of industries.

                Submit Errata

                Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.

                Sample chapters

                You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

                Frequently bought together

                Learning FuelPHP for Effective PHP Development +    MySQL 5.1 Plugin Development =
                50% Off
                the second eBook
                Price for both: $31.95

                Buy both these recommended eBooks together and get 50% off the cheapest eBook.

                What you will learn from this book

                • 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.

                Approach

                The book follows a standard tutorial approach, which will enable readers to use the FuelPHP framework efficiently while developing PHP applications.

                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.

                Code Download and Errata
                Packt Anytime, Anywhere
                Register Books
                Print Upgrades
                eBook Downloads
                Video Support
                Contact Us
                Awards Voting Nominations Previous Winners
                Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
                Resources
                Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software