Fuel PHP interview questions

  1. What are inbuilt security features comes with FuelPHP
  2. List Reserved Routes in FuelPHP
  3. What is a Presenter in FuelPHP?
  4. List out template engines supported by FuelPHP.
  5. What is the current Stable version of FuelPHP?
  6. What is FuelPHP?
  7. List some features of FuelPHP.
  8. What is the minimum requirement for installing FuelPHP?
Fuel PHP interview questions

Read Top Fuel PHP interview questions and answers

Download Fuel PHP interview questions PDF

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

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.

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

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

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

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.

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

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.