background preloader

CodeIgniter

Facebook Twitter

Apprendre CodeIgniter de A à Z. Codeigniter Love - 88% People Agree (430 opinions) Features Of Codeigniter 2.0 | codesamplez.com. At the end of January,2011, Codeigniter has released their new version, 2.0 . As expected, they made a number of major changes, added some awesome features on this new version. Besides, they made some other changes also on development work-flow etc recently. In this article, my concern is to make existing Codeigniter developers familiar with this new version and its features/enhancements, also with the other recent changes.

However, new Codeigniter developers can may get some idea too. PHP Version Supports: From this new version, 2.0, Codeigniter is going to support only php 5+ . Directory Structure Changes: Before, Codeigniter had the directory structure like this: application directory was in {root}/system/applications/ and other system files was in {root}/system/ directory. Codeigniter 2 plugins: If you were using plugins in Codeigniter. Codeigniter 2 routing enhancement: There is 2 more useful enhancements on codeigniter 2. Condeigniter 2.0 Supports caching: References: Top 10 Reasons Why You Should Use a PHP Framework | PHP and Stuff. PHP Frameworks have been receiving a lot of attention in the past few years from the web development community. What’s this hype all about? If you look at PHP Job listings, you will often see “MVC Framework Experience” as one of their requirements. It is becoming one of those must-have skill sets for web developers. There are pretty good reasons behind all of this.

In this article we will explore why you, as a PHP programmer, should be using a PHP Framework. 1. Code and File Organization Just because you created an “/inc” folder and made a “functions.php” file does not mean your code is organized. When you setup a PHP Framework, it already has a certain folder structure. Once you get used to this model, you will never want to go back.

Unfortunately for some command line champions that still use vi, this can be a challenge. 2. PHP is a great language for web development and provides countless number of tools and libraries. The list goes on. 3. PHP itself works like a template engine. 4. 5. 6. Code — Elliot Haughin. Internationalization (i18n) library for CodeIgniter. This April 15, 2009 update fixes the issues reported before: - Mark: autoloading of language files wasn't working - François: language segment was sometimes added to a link when there was already one - Frank: it wasn't possible to use the library methods in a controller's constructor Thank you all for your feedback. Jérôme Jaglale Apr 15, 2009 #1 Thanks Jerome, get an error and not sure why, simply replaced the old files with new ones, changed the MY to FW as I had before when all was fine. BS Apr 16, 2009 #2 BS, please remove the hook in config/hooks.php, it's not needed anymore.

Jérôme Jaglale Apr 16, 2009 #3 When I try to switch to /es/ I get this error: Unable to load the requested language file: language/profiler_lang.php There is no file by that name, and language folder is setup the same as worked with previous version... what did I miss this time? BS Apr 16, 2009 #4 Oops, i forgot to mention, this breaks scaffolding links (edit/add/etc), were you aware? BS Apr 16, 2009 #5 Apr 17, 2009 #6.