Welcome Guest, Not a member yet? Register   Sign In
Upgrade from 1.7.2 to 2.1.0
#6

[eluser]CroNiX[/eluser]
Yes, but most changes can easily be done using a simple search and replace, like your "parent::__construct()" example. Since we are using PHP5 now and removed the PHP4 compatibility layer, some of these changes are necessary. There really aren't that many things that need to change and the ones that do are fairly simple.

The other major changes are that Controllers extend CI_Controller (instead of just Controller) and the same with models, they extend CI_Model instead of just Model. Again, very easy to do with search and replace. You can do your whole project with a single search/replace rather than all of the individual files. For most of my old apps that were upgraded, it took under an hour, depending on app complexity of course. Some were literally 10 minutes.


Messages In This Thread
Upgrade from 1.7.2 to 2.1.0 - by El Forum - 01-30-2012, 03:35 PM
Upgrade from 1.7.2 to 2.1.0 - by El Forum - 01-30-2012, 04:12 PM
Upgrade from 1.7.2 to 2.1.0 - by El Forum - 01-30-2012, 04:13 PM
Upgrade from 1.7.2 to 2.1.0 - by El Forum - 01-30-2012, 07:25 PM
Upgrade from 1.7.2 to 2.1.0 - by El Forum - 02-06-2012, 12:14 PM
Upgrade from 1.7.2 to 2.1.0 - by El Forum - 02-06-2012, 12:44 PM
Upgrade from 1.7.2 to 2.1.0 - by El Forum - 02-09-2012, 11:59 AM



Theme © iAndrew 2016 - Forum software by © MyBB