I need help to migrate one app from 3.4.7 to 4.x. I need a step by step procedure; I have wamp 64 bits installed and running application under PHP 7.1.33 , no error; Need help for model new structure
What you can do is install cakephp 4 bake some models and controllers. Then you can see the difference. Also when turn debug to true it will throw deprecated errors.
Almost every file needs minor changes. Since in models need to add : void, :RulesChecker, Then things use Slightly different named classes that do the same thing. Like Email->send becomes Mailer->deliver
newEntity() becomes newEmptyEntity
Kind of annoying have to make all these small changes. I hope in the future they will not keep doing things like that. Because as an end user it doesnt add much value apart having to update every file with a few words here and there.
Good point @thomasg, since I saw all this set/get changes in 3 version I still use 3.1 as I started and frankly only a few times I saw something that may be interesting for me in v > 3.1 and it is easy to do “manually”
I am available to help you migrate on ver. 4.4.5
Please let me know, If you have something
Locally using wamp server;
Application is working properly on cake 3.4.7 (warning off)
Installed in wamp64/www/jmv
Cakephp 4.4.5 is installed in wamp64/www/jmv445 … I see first page Welcome to CakePHP 4.4.5 Strawberry
“Pages/home.php with your own version.” not done and no access to database yet.
I am now ready to receive your advice or first step.
I can give you access to any module, maybe the whole application or prefer do whatever steps you want me to do first.
… waiting for your order
P.S. Skype is possible