+91 90691 39140 | +1 253 214 3115 | info@hub4tech.com | hub4tech

Codeigniter Interview Questions and Answers

Explain what is CodeIgniter?

Codeigniter is an open source framework for web application. It is used to develop websites on PHP. It is loosely based on MVC pattern, and it is easy to use compare to other PHP framework.

What are the features of codeigniter?
  • Codeigniter is free to use,its an open source framework.
  • Model-View-Controller Based System.
  • Extremely Light Weight.
  • Full Featured database classes with support for several platforms..
  • CodeIgniter is Extensible.The system can be easily extended through the use of your own libraries, helpers, or through class extensions or system hooks.
  • Excelent documentation.
  • Full Featured database classes with support for several platforms,Security and XSS Filtering,Error Logging.
List out different types of hook point in Codeigniter?

Different types of hook point in Codeigniter includes

  • post_controller_constructor
  • pre_controller
  • post_sytem
  • pre_system
  • cache_override
  • display_override
  • post_controller
Explain Codeigniter File Structure?

following are the folder structure :-

  • application
  • o cache
    o Config
    o Controllers
    o core
    o errors
    o helpers
    o hooks
    o language
    o libraries
    o logs
    o models
    o thirdparty
    o views

  • system
  • o core
    o database
    o fonts
    o helpers
    o language
    o libraries

Explain what are hooks in CodeIgniter?

Codeigniter’s hooks feature provides a way to change the inner working of the framework without hacking the core files. In other word, hooks allow you to execute a script with a particular path within the Codeigniter. Usually, it is defined in application/config/hooks.php file.

Copyright ©2015 Hub4Tech.com, All Rights Reserved. Hub4Tech™ is registered trademark of Hub4tech Portal Services Pvt. Ltd.
All trademarks and logos appearing on this website are the property of their respective owners.