I'm new with CakePHP and I want to convert an existing PHP project into CakePHP. This project is already written using MVC, however the structure is not clear, models are not match with databases,different logic... (e.g. When I need to find something I cannot know where to look for.)
My 1st option is to read and understand deeply the code, see the data flow and then re-write most of the code into Cake. => Will take very long time.
I would like to ask, if there is any procedure/steps I could take to make it a little easier, something like keeping the old MVC files and structure, write code to map with Cake, keep the re-write to minimum, etc.
Thank you!