CodeIgniter Forums
CI3 or CI4 - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: Choosing CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=8)
+--- Thread: CI3 or CI4 (/showthread.php?tid=75293)



CI3 or CI4 - janroz - 01-22-2020

Hello everybody!


I have to program a small and quite simple application. I need to decide whether to use CI3 or CI4. Is CI4 already suitable for it? 

Thank you!


RE: CI3 or CI4 - jameslittle - 01-22-2020

I've got one live site and another upcoming project on CI4 4.0.0 RC3. Knowing that Codeigniter 4 is moving from RC to general release in the next 5-6 weeks has given me confidence to move all my current and future development to CI4. In general, it's very stable now and wicked fast.

That said, for somebody who has been using CI2 and CI3 for years, there was definitely a learning curve... so factor that into your decision. While the basic features and concepts are the same, CI4 is a complete rebuild and just about everything is done a little differently.

If you do a production project in CI4 right now, I'd encourage you to use the Appstarter library and lean on Composer to manage  upgrades and updates. That way you can upgrade to 4.0.0 as soon as it's available.

https://codeigniter4.github.io/userguide/installation/installing_composer.html


RE: CI3 or CI4 - JNapolitanoIT - 01-22-2020

CodeIgniter 4. CodeIgniter 3 is what you may consider to be quite antiquated by today's standards. CodeIgniter 4 should (hopefully) be releasing its first stable version by February 24th.

Why you ask?

- CodeIgniter 4 follows the trends of newer technology.

- It is easier to extend than CodeIgniter 3. Yes in version 3 you could use MY_Controller's and such, but extending CodeIgniter 4's services are far superior.

- Support for version 4 will last substantially longer. I forget how long version 3 will be supported but version 4 will be supported far longer into the future.

It is far better to prepare for the future by using the newest iterations of the framework.

I hope this helps you decide Smile


RE: CI3 or CI4 - janroz - 01-22-2020

(01-22-2020, 12:48 PM)jameslittle Wrote: I've got one live site and another upcoming project on CI4 4.0.0 RC3. Knowing that Codeigniter 4 is moving from RC to general release in the next 5-6 weeks has given me confidence to move all my current and future development to CI4. In general, it's very stable now and wicked fast.

That said, for somebody who has been using CI2 and CI3 for years, there was definitely a learning curve... so factor that into your decision. While the basic features and concepts are the same, CI4 is a complete rebuild and just about everything is done a little differently.

If you do a production project in CI4 right now, I'd encourage you to use the Appstarter library and lean on Composer to manage  upgrades and updates. That way you can upgrade to 4.0.0 as soon as it's available.

https://codeigniter4.github.io/userguide/installation/installing_composer.html

Thank you very much for your answer. I've been using CI for more than 12 years. Last years I had pause with it so I lost focus :-) I will go with CI4, I looked at docs and I like it.


RE: CI3 or CI4 - janroz - 01-22-2020

(01-22-2020, 12:57 PM)JNapolitanoIT Wrote: CodeIgniter 4. CodeIgniter 3 is what you may consider to be quite antiquated by today's standards. CodeIgniter 4 should (hopefully) be releasing its first stable version by February 24th.

Why you ask?

- CodeIgniter 4 follows the trends of newer technology.

- It is easier to extend than CodeIgniter 3. Yeas in version 3 tou could use MY_Controller's and such, but extending CodeIgniter 4's services are far superior.

- Support for version 4 will last substantially longer. I forget how long version 3 will be supported but version 4 will be supported far longer into the future.

It is dar better to prepare for the future by using the newest iterations of the framework.

I hope this helps you decide Smile

You're right. It's better to be prepared for the future. CI3 is good but in these days obsolete. Looked deeply in docs and It looks very good, I like it.


RE: CI3 or CI4 - crimsonkid - 01-27-2020

I just hope that CI4 is going to be release as soon as possible. By the way, does ci4 can be developed for production now even if its not yet released? I saw the last commit of changes was around 2019.


RE: CI3 or CI4 - dave friend - 01-29-2020

(01-27-2020, 10:45 PM)crimsonkid Wrote: I saw the last commit of changes was around 2019.

Where are you looking? There are commits almost every day. https://github.com/codeigniter4/CodeIgniter4