CodeIgniter is one of the most popular PHP frameworks around. It uses the Model-View-Controller Architectural design pattern and itâ€™s considered by lots of PHP developers as one of the best framework solution for small to medium projects. It has some great features that we are going to talk about them in this article.
Why use a framework ?
“Frameworks make my life easier.” said most of the programmers asked this question.
In order to make a good, cleanly coded, reliable, high performance, fast and maintainable application you need to do a lot of analysis and intensive software engineering and architectural design tasks first. Luckily, lots of those tasks will be previously done by a framework so you can focus on the development of your application.
Most of PHP frameworks available support the MVC pattern, good file organization, have loads of utilities and libraries, are well secured, have performance abilities e.g. caching and benchmarking and much more awesome capabilities. CodeIgniter has the mentioned features and more that we will talk about now.
CodeIgniter uses Model-View-Controller pattern which is the most used architectural design pattern in web application. It can also be turned into supporting the more advanced Hierarchical Model View Controller(HMVC) pattern by installing the popular CodeIgniter HMVC Extension.
Itâ€™s true that bad documentation can ruin a good product. But CodeIgniter has a great a well detailed documentation files that takes you from the first steps of knowing the basics about the framework to a full reference for each class, helper & driver with simple examples provided.
While being stuck at something with CodeIgniter and didn’t find the answer in the documentation, just donâ€™t panic. There is a developersâ€™ community full of CI gurus who are always willing to help. You may even find that your question has been answered before.
Since performance has been a major concern for each web developer, CodeIgniter is optimized to boost you code performance. In addition, it contains a beautiful caching class that you should check and use.
CodeIgniter contains wide variety of helper functions that were created to help you write cleaner code and save time and effort doing repetitive tasks. For example, there is form, form validation, array, path, security and more that you can check at the documentation part of CodeIgniterâ€™s documentation section of the official website.
Books to read