Monday, May 25, 2015

Re: Migrate from Cake 2.x

Thanks José, compliments of OO!

Em quarta-feira, 20 de maio de 2015 17:24:25 UTC-3, José Lorenzo escreveu:
One way is to extend the form helper and override the _domId() function:


On Wednesday, May 20, 2015 at 1:39:35 PM UTC+2, gersonfs wrote:
Hello!

Is there a way to use the input id attribute from CakePHP 2 in CakePHP 3? Like define a custom method for generate id attribute value? Or better yet, use the FormHelper 2.x version of CakePHP.

CakePHP 3 break all my javascript files based on id attribute. I did not see any observations on this change in migration guide at the Form Helper session.

I use CakePHP since the 0.x version, over 200 projects done, and never an update has been so problematic. I hope this does not happen in the next major releases.

I completely understand that our ORM was outdated and it needed an upgrade facing OO. It's also great to have PHP 5.4 features. Although updates have affected 99% of my code: models and forms/javascript.

Thanks!

--
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.
For more options, visit https://groups.google.com/d/optout.

No comments: