CodeIgniter and Ecommerce
Ecommerce is a thriving business and in addition with different open source CMS platforms there are website frameworks that support online stores. For example PHP Zend framework is said to be a foundation for building your Ecommerce website in a simple and productive manner. Obviously a good online store is a productive ground but is Zend as beneficial as it claims? Some veteran Zend developers are now shifting their base to more pliable PHP frameworks such as CodeIgniter. This is because the developers claim that the learning curve of Zend is far more complicated, steep and requires a lot more work.
CodeIgniter is comparably simple to use, has speedy development time, much easier to learn and has a superb documentation. Take for example we created livephuket.com which is an accommodation booking Ecommerce site based in Phuket, Thailand that is entirely based upon CodeIgniter framework.
While developing an Ecommerce site using CodeIgniter you can customize PHP 5 for this. But CodeIgniter is not a strict follower of PHP 5 framework but runs on PHP 4 and 5 as well. If youâ€™re running it with PHP 5, it will try to detect it and if you use PHP 5 then several of the chunks of codes will be automatically reloaded.
Advantage of working with PHP 5 is this that we can custom code unique models for specific functions from its code libraries. All the goodness of PHP 5 is embedded inside the codes.
Kohana and Ecommerce
CodeIgniterâ€™s only PHP 5 version of framework is Kohana. Being a PHP 5 only framework, Kohana has many advantages over CodeIgniter. In fact Zend framework intensifies its qualities when combined with CodeIgniter. So next time you want to build an Ecommerce site using Zend, punch it with CodeIgniter.
Pros of CodeIgniter
However old school developers stick with CodeIgniter for the following reasons:
- CodeIgniter has easier documentation.
- User base of CodeIgniter is more secure and substantial.
- CodeIgniter is comprised of unit testing facility.
- There are ignited codes or add-ons with CodeIgniter that compensates for the missing aspects of the platform.
Cons of CodeIgniter
Session handling process of CodeIgniter needs higher R&D. A cookie at the client-side stores the session data and that restricts you to a limited use of data (of magnitude 4kb). However thereâ€™s a way out of this problem where you can store session data at server-side database. To help you in this matter thereâ€™re quite a number of add-ons that let you store session data at your server-side database.
Please give us your feedback and regarding any query upon CodeIgniter, Kohana or blend of Zend and CodeIgniter we welcome queries. Feel free share your suggestions and thoughts.
Header Source : http://bit.ly/1Pxf1mX
Barry Davis is a Technology Evangelist who is joined to Webskitters for more than 5 years. A specialist in Website design, development & planning online business strategy. He is passionate about implementing new web technologies that makes websites perform better.