Over the last weekend I was asked to develop a quick functional website to be used as an interim site while a more feature rich was being developed. I though this would be the perfect opportunity to get to know the CodeIgniter framework.
Previously, any site I developed was built using Joomla! and extensions. And, while it would have been quite simple to continue using Joomla! and then developing a custom component for the client to perform the desired actions, I decided that such a system was just a bit too feature rich (over-the-top) to be used as a ‘temporary solution’.
Enter CodeIgniter…
Having never used CodeIgniter before, I found the setup incredibly simple and the learning curve more of a slight incline. After having downloaded version 1.7.1 of the framework I was up and running in no time. The built-in ‘Hello World’ example makes it even easier to get started.
While CodeIgniter is a very light-weight framework, it is still very powerful. There are loads of utility classes and helpers that take common complexity out of developing a site.
The best part is the easy to follow, concise documentation. Unlike some other systems and frameworks, CodeIgniter‘s documentation is straight to the point. Explaining how to include the functionality, and what each of the available methods do. I only have one criticism on the documentation – the method signatures are not quite excplicit enough. While it does go on to explain the parameters each method accepts, it is sometimes buried in a descriptive sentence rather than being listed. However, this didn’t really impede my development process.
The site I built was relatively simple, consisting of a couple of forms and file lookups. After further digging around in the documentation I found several HTML helper functions that will produce syntactically correct HTML tags for a variety of form fields, text properties and even DOCTYPE declarations!
I also found the built-in form validation techniques expecially handy. Rather then developing complex rules to validate a form on the client-side using javascript or AJAX, CodeIgniter provides simple and powerful server-side validation and makes it easy to re-populate an errornous form as well as control the look and feel of error messages.
CodeIgniter makes use of the latest development techniques by conforming to the MVC (Model-View-Controller) paradigm. This paradigm provides a great level of abstraction and is recommend for any developer.
Overall, I found the CodeIgniter framework very easy to use and am happy with the level of built-in functionality id provides. I am very happy with the resulting site I have developed and am very proud to announce that it is W3C compliant HTML and CSS as well as passing Accessibility Tests!
Take a look at the site.
recent comments