Introduction to CodeIgniter & PHP Frameworks

Agenda


  • What is a Framework?

  • Libraries vs. Frameworks

  • Advantage of using Framework

  • What is Codelgniter?

  • Why use Codegniter?

What is a Framework?

  • Frameworks are of key importance for developing large-scale object-oriented software systems. They promise higher productivity and shorter time-to-market through design and code reuse.
  • Software frameworks include support programs, compilers, code libraries, tool sets, and application programming interfaces (APIs) that bring together all the different components to enable development of a project or solution.

Libraries vs. Frameworks

  • Inversion of control – In a framework, unlike in libraries or normal user applications, the overall program’s flow of control is not dictated by the caller, but by the framework.
  • Default behavior – A framework has a default behavior.
  • Extensibility – A framework can be extended by the user usually by selective overriding or specialized by user code to provide specific functionality.
  • Non-modifiable framework code – The framework code, in general, is not allowed to be modified, excepting extensibility. Users can extend the framework, but not modify its code.

Advantage of using Framework

  • Efficiency – Pre-built functions – Hours and hundreds of lines of code to write – Easier, faster, and consequently efficient.
  • Security – Big security implementations. – Community
  • Cost – Free – Code Faster
  • Support – Documentation – Community Forums – Stackoverflow!

What is Codelgniter?

  • CodeIgniter is a PHP framework, easy to learn, suitable for beginners.
  • It needs no extra configuration.
  • You do not need to use the command line.
  • It is extremely light.
  • You don’t need to learn a templating language.
  • It is suitable for small or big projects. All in all, you just need to know some PHP to develop the applications you want.
  • by providing a rich set of libraries for commonly needed tasks, as well as a simple interface and logical structure to access these libraries.

Why use Codelgniter?

  • CodeIgniter is Free
  • CodeIgniter is Light Weight
  • CodeIgniter is Fast. We challenge you to find a framework that has better performance than CodeIgniter.
  • CodeIgniter Uses M-V-C – CodeIgniter uses the Model-View-Controller approach
  • CodeIgniter is Thoroughly Documented
  • CodeIgniter has a Friendly Community of Users

 




Categories: Codeigniter

Leave A Reply

Your email address will not be published.

error: Alltutorial.in content is protected !!