Fuel PHP interview questions

Read Top Fuel PHP interview questions and answers

  • Q1.

    What is FuelPHP?

    FuelPHP is free open source web framework written in PHP scripting language.FuelPHP is based on HMVC ( Hierarchical Model View Controller) design pattern.

    FuelPHP also supports a more router based approach where you might route directly to a closure which deals with the input uri, making the closure the controller and giving it control of further execution.

  • Q2.

    What is the current Stable version of FuelPHP?

    As on August 2017 Version: 1.8 is the current stable version of FuelPHP. You can download it free from

  • Q3.

    What is the minimum requirement for installing FuelPHP?

    In order to install FuelPHP 1.8, your server must meet below requirements

    • PHP Version >= 5.3.3
    • Mbstring PHP extension installed and enabled
    • Mcrypt PHP extension installed and enabled
    • Fileinfo PHP extension installed and enabled
    • PHPUnit version 3.7 or greater is required if you want to run unit tests.
  • Q4.

    List out template engines supported by FuelPHP.

    FuelPHP supports drivers for following template Engines.You are free to use any one of below for development.

    • Mustache
    • Markdown
    • Smarty
    • Twig
    • Haml
    • Jade
    • Dwoo
    • Phptal
  • Q5.

    List some features of FuelPHP.

    FuelPHP Features List

    • An (H)MVC framework
    • Modular and extendable
    • Inbuilt Security modules.
    • Oil: the power of the command line interface
    • Base classes for Controllers and Models
    • Powerful yet lightweight ORM
    • Inbuilt Authentication
    • Multiple template parser for your Views

    Read more from https://fuelphp.com/features

  • Q6.

    What is a Presenter in FuelPHP?

    Presenter: A Presenter is a class that contains the logic that is needed to generate your view (or views). When the controller is done with your user input and is done with whatever actions it needed to take, it turns execution over to the Presenter to retrieve and process whatever data is needed for the view. A Presenter shouldn’t do any data manipulation but can contain database calls and any other retrieval or preparation operations needed to generate the View’s data.

    Note: Presenters are optional. If you don’t need them, you can use Views directly, and keep the pre-processing logic in your controller.

    Read More https://fuelphp.com/docs/general/presenters.html

  • Q7.

    List Reserved Routes in FuelPHP

    In Fuel, there are 4 reserved routes. They are _root_, _403_, _404_ and _500_.

    • _root_ – The default route when no URI is specified.
    • _403_ – The route used when the application throws an HttpNoAccessException that isn’t caught.
    • _404_ – The route used when the application throws an HttpNotFoundException that isn’t caught.
    • _500_ – The route used when the application throws an HttpServerErrorException that isn’t caught.
  • Q8.

    What are inbuilt security features comes with FuelPHP

    Fuel takes security very seriously, and as a result, has implemented the following measures to ensure the safety of your web applications:

    • Output encoding
    • CSRF protection
    • XSS filtering
    • Input filtering
    • SQL injection
Ask a Question