Migration from 1.3 to 2.x - app with different folder structure


#1

Hi,

i am trying to migrate an app from 1.3 to 2.x . Therefore i have found this migration guide:

https://book.cakephp.org/2.0/en/appendices/2-0-migration-guide.html

Now, my problem is the folder structure from the app, shown at the screenshot below.
The folder structure ist different to the folder structure in this guide. When i give the upgrade shell - which is included in cakephp 2.x – a try, the upgrade shell only works with an „app“-folder.
I tried to refactoring my app. But when i move the right folders in an created „app“-folder, i get the error that my core.php can‘t be found, and i don‘t know how to fix it. Can‘t find the right code in my project.

Is that the right way for a migration?
What i did wrong?
Is there a better was to do it?

Thnx Bavra

Screenshot: http://picpaste.de/Structure_Folder_App-V9AYCJ77.jpg


#2

I wouldn’t try to tell you what to do or not do, but you could consider making a brand new application in the 3.* series and write new code. Just my opinion. I had that happen in laravel, instead of chain updating or upgrading I insalled the ver 5.5 and just plugged away at moving 5.1 to 5.5. Re-used a lot of the code.

If it’s not a huge application, you could achieve it in 3 or 4 days. Yek I even changed a jsp servlet application to php in the past, took about 2 weeks.