Welcome Guest, Not a member yet? Register   Sign In
Codeigniter 2.0?
#1

[eluser]Ludwig Mair[/eluser]
Hi,

i just think about to use Codeigniter 1.7.2 for a bigger Project. I notice that there is discussed in some blogs the Codeigniter 2.0.

My concern is now, if i start with my project now with the currrent Version, perhaps i am not able to update it anymore to Codeigniter 2.0 without a lot of changes and trouble.

Any ideas to this?

THanks

Ludwig
#2

[eluser]pickupman[/eluser]
Converting was pretty simple for me. I have a project just finishing up. I started with 1.7.2 and switched to 2.0. Basically did a find & replace for extends Model with extends CI_Model. Moved any of the core classes I extended from /application/libraries to /application/core. I wasn't using plugins, so it took me about 10mins or so to try each controller to make sure everything was loading correctly. Everything worked as expected.

There is a nice write up at [url="http://www.philsturgeon.co.uk/news/2010/05/upgrading-to-codeigniter-2.0"]Phil Sturgeon's blog[/url].
#3

[eluser]Ludwig Mair[/eluser]
Hi Phil,

first, thanks for your quick reply.
what you tell me sounds really positiv. Then, i guess will start with Codeigniter 2.0 instead of 1.7.2

Thanks a lot

Ludwig
#4

[eluser]pickupman[/eluser]
I am not Phil, just a fan of his. He's got some great code and ramblings on his blog. Good luck with 2.0, it's running nicely for me.
#5

[eluser]pbreit[/eluser]
And EllisLabs is apparently using CI 2.0 in its products (ExpressionEngine, et al). It's reasonably safe to go with 2.0 now although EllisLabs has stated that it is not 100% locked down.
#6

[eluser]Derek Allard[/eluser]
Yup. I'd recommend starting from CI2 codebase at this point. Its true that it isn't 100% locked down, but you can be fairly sure that nothing that is in there will break.
#7

[eluser]Ludwig Mair[/eluser]
Hi there,

after all the positiv comments i am certain to start with CI2.0.


Thanks a lot

Ludwig
#8

[eluser]punchi[/eluser]
Hi guys,

Many recomends switch to CI 2.0, but... why?? there's new features that 1.7.2 don't have?? im trying to see in http://bitbucket.org/ellislab/codeigniter/ what new features or like have the 2.0 version, but I dont see nothing new... any page with the differences?

thanks! =)
#9

[eluser]Jelmer[/eluser]
In the Changelog maybe?

Also Phil Sturgeon wrote a blog on updating to 2.0 and Elliot Haughin has a blogpost on it too.
#10

[eluser]punchi[/eluser]
thanks jelmer, sorry i didn't see it =P
still missing a feature related sessions =( working with them like a cookie isn't too good =/




Theme © iAndrew 2016 - Forum software by © MyBB