Question 1. What Is Fuelphp?
Answer :
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.
Question 2. What Is The Current Stable Version Of Fuelphp?
Answer :
As on August 2017 Version: 1.8 is the current stable version of FuelPHP. You can download it free from here.
Question 3. What Is The Minimum Requirement For Installing Fuelphp?
Answer :
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
- File info PHP extension installed and enabled
- PHPUnit version 3.7 or greater is required if you want to run unit tests.
Question 4. List Out Template Engines Supported By Fuelphp?
Answer :
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
Question 5. List Some Features Of Fuelphp ?
Answer :
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
Question 6. What Is A Presenter In Fuelphp?
Answer :
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.
Question 7. List Reserved Routes In Fuelphp.
Answer :
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.
Question 8. What Are Inbuilt Security Features Comes With Fuelphp?
Answer :
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
Question 9. Is Fuelphp Open Source?
Answer :
Yes, it is Open Source.
Question 10. What Is Current Stable Version Of Fuelphp?
Answer :
Version: 1.8, Dated: April 9, 2016.
Question 11. What Is Minimum Php Version Required For Fuelphp?
Answer :
PHP 5.4+
Question 12. Is Fuelphp Support Multilingual?
Answer :
Yes, it supports Multilingual.
Question 13. What Is Official Website Of Fulephp?
Answer :
fuelphp.com
Question 14. What Are Key Features Of Fuelphp?
Answer :
- URL routing system
- RESTful implementation
- HMVC implementation
- Form Data validation
- ORM (Object Relational Mapper)
- Vulnerability protections like XSS, CSRF, and SQL Protection and encode output.
- Caching System
Question 15. What Is Full Form Of Hmvc?
Answer :
Hierarchical-Model-View-Controller
Question 16. What Is Hmvc?
Answer :
HMVC is an evolution of the MVC pattern.
Question 17. What Are Benefits Of Hmvc?
Answer :
- Modularization
- Organization
- Reusability
- Extensibility
Question 18. How To Get Query In Fuelphp?
Answer :
$user Query To Execute = Model Article::query ()
->select (‘users’)
->where (‘blocked’, ‘=’, 1);
Echo $user QueryTo Execute->get query ();
Question 19. How To Check That Redis Server Is Running?
Answer :
Try
{
$redis = Redis::instance();
}
Catch (RedisException $e)
{
//here error will come
}
Question 20. How To Use Join With Condition?
Answer :
$queryObj = Services Model_Org::query()
->related(‘org’)
->related(‘profile_image’)->related( array( ‘comments’ => array( ‘where’ => array( array(‘visible’ , ‘=’ , ‘0’) )
) ))
->where (‘rating’,’!=’, ‘null’)
->order_by (‘rating’,’desc’)
->get ();
PHP Interview Questions
PHP Tutorial
MySQL Interview Questions
MySQL Tutorial
PHP and Jquery Interview Questions
PHP+MySQL Interview Questions
PHP and Jquery Tutorial
MYSQL DBA Interview Questions
PHP Interview Questions
CakePHP Tutorial
PHP5 Interview Questions
CodeIgniter Tutorial
CakePHP Interview Questions
MySQL Interview Questions
PHP7 Tutorial
CodeIgniter Interview Questions