tags:

views:

379

answers:

2

i want to port my application to CodeIgniter but i am wondering whether i should use their v2.0 or v1.72 (then when they release 2.0, upgrade it).

i have never used a framework before so i don't exactly know what implies when upgrading a framework: what does it mean practically - i just move the folders and it will work? or do i have to change a lot of settings, file structure etc? could someone enlighten me about the upgrade process.

and what would you use: v.1.72 or v2.0?

if i'm using the latest version, is there a good documentation for it somewhere so you can read about how to use the new features: packages, drivers and so on.

thanks

+1  A: 

If you are selling this app or making something mission critical then of course v1.7.2 is the best choice. That said I have PyroCMS running on v2.0 and since some of my bug-fixes were merged it seems stable enough.

Phil Sturgeon
+1  A: 

You can read about some of the changes in 2.0 here.

I would image the upgrade process should be straightforward as long as you do not use any features that are different/removed such as plugins. Just take your models, controllers, etc and drop them into the 2.0 framework. Then regression test you whole app, fixing any problems as you see them...

Justin Ethier
Thanks for the link to my article, but the CI upgrade process is a little more complicated than that. You need to convert all helpers to plugins, rename references to Model to CI_Model and plenty of other shit. Expect an article soon.
Phil Sturgeon
Erf I meant plugins to helpers. I wrote that at about 02:00.
Phil Sturgeon
@Phil, i c u everywhere..on SO...on CI...on your Blog...stop haunting me!
never_had_a_name
It's been said before, but I am the hepatitis of CodeIgniter. I am EVERYwhere.
Phil Sturgeon