Top Fuel PHP interview questions and answers

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.

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.