On Saturday, May 11, 2013 9:29:05 PM UTC+2, advantage+ wrote:
From 1.x to 2.x you had to go in and recode say for example Requesthandler-> became $this->request so you have to manually go thru each controller and change all that.
$this->date became $this->request->data
The migration shell does that pretty well if your code is not somehow strange formatted. And even if there are a few missing these can be easy and quickly identified and fixed. If there are things the shell can't catch for some reason it is no big deal to run a search and replace in your IDE /editor directly or write a small script to do the task app wide.
Not sure what the new model structure will be but on a site with 85 models it might take a bit of time.
It has been possible to upgrade a 1.3 app with more than 500 tables within 2 1/2 weeks to 2.0.
The rewrite of the model layer is as far as I know in progress but I'm pretty sure it's is not going to end up with breaking backward compatibility completely. For example if it returns objects, fine, there is array access.
However, I'm looking forward to migrate my first plugin and app to it when it is done. I've already tried that a few weeks ago but 3.0 has been far to unstable to get that done yet. I really want namespaces - now!
This email may contain material that is confidential, privileged and/or work product for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.
Cake Development Corporation.
-- Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment