CodeIgniter

CodeIgniter is an EllisLab of open source web framework written in PHP.

Construction

CodeIgniter is kept as lean as possible, resulting in a high performance is achieved and the learning curve compared to other frameworks is short. The central component is the Model-View- Controller (MVC) architecture. The use of model and view is not mandatory, but is strongly recommended for clarity. CodeIgniter contains a large number of library classes and helper functions that remove the developer standard tasks. Examples of this are XML -RPC, database access, input validation, sessions and file uploads. So Web applications can be developed quickly and safely. A major strength of CodeIgniter is the simple configuration. Usually you do not need much more than the database connection and define the base url.

Example

In the following example code when calling http://example.com/helloworld/test the method " test () " in controller "hello world" running. The files needed to be loaded automatically by CodeIgniter and the output of the method " test () " sent to the client. For forwarding this clean URLs the Apache module mod_rewrite is used, optionally also HTTP GET arguments can be used for the transfer of the controller and function names. This example makes it clear that the use of models, and views is not necessarily required. A model is in CodeIgniter, a PHP class that provides methods to perform certain database queries. The View represents the output component and can be filled according to the MVC principle by the controller with additional data.

If mod_rewrite is not available, the URL http://example.com/index.php/helloworld/test to load the above method.

Development

CodeIgniter is developed further in the future no longer by Ellis Labs; currently a new project owner is sought.

195581
de