Codeigniter Series Part 1 : What is Codeigniter

Codeigniter is an Application Development Framework – a toolkit – for people who build web sites using PHP. Its goal is to enable you to develop projects much faster than you could if you were writing code from scratch, by providing a rich set of libraries for commonly needed tasks, as well as a simple interface and logical structure to access these libraries.

Codeigniter was first released to public in February 28, 2006. It was created by Rick Ellis (CEO of EllisLab, Inc.).  The framework was written for performance in the real world, with many of the class libraries, helpers, and sub-systems borrowed from the code-base of ExpressionEngine. It is currently developed and maintained by the ExpressionEngine Development Team.

ExpressionEngine is the company’s flagship software product. It is a general purpose content management system written in object-oriented PHP and using MySQL for data storage.  CodeIgniter lets you creatively focus on your project by minimizing the amount of code needed for a given task.

Codeigniter helps developers who lives in the real world of shared hosting accounts and clients with deadlines by documented framework. Its provides a rich set of libraries for commonly needed tasks, as well as a simple interface and logical structure to access these libraries. CodeIgniter lets you creatively focus on your project by minimizing the amount of code needed for a given task.

Unlike most other php framework, Codeigniter requires almost no configuration to get started with. Its looks so simple that you do not even really need to know much about PHP in other to understand how to use it. It is free, lightweight, and simple to install. In this post, we will know more deep about CodeIgniter before write code.

Nice, CodeIgniter is small and lightweight framework. The zipped download for version 1.5 is only 737 KB. You don’t need long time to download it. You should be able to download Codeigniter from Official website.

This, I copy from their help page: “Our goal for CodeIgniter is maximum performance, capability, and flexibility in the smallest, lightest possible package.

From a technical and architectural standpoint, CodeIgniter was created with the following objectives:

Dynamic Instantiation. In CodeIgniter, components are loaded and routines executed only when requested, rather than globally. No assumptions are made by the system regarding what may be needed beyond the minimal core resources, so the system is very light-weight by default. The events, as triggered by the HTTP request, and the controllers and views you design will determine what is invoked.

- Loose Coupling. Coupling is the degree to which components of a system rely on each other. The less components depend on each other the more reusable and flexible the system becomes. Our goal was a very loosely coupled system.

- Component Singularity. Singularity is the degree to which components have a narrowly focused purpose. In CodeIgniter, each class and its functions are highly autonomous in order to allow maximum usefulness.

…”

Nice feature, CodeIgniter is very flexible. We can apply at PHP 4.3.2 and above, or PHP 5. It will realy help us when our web hosting still don’t support PHP 5. CI support serveral database: MySQL, MySQLi, MS SQL, Postgre, Oracle, SQLite, and ODBC.

Ok, next post, we will learn how to install CodeIgniter.

Programming make easy