开发者

CakePHP to CodeIgniter conversion

I want to convert an application from CakePHP to Code Igniter. Has anyone tried to do this? With my CakePHP applica开发者_如何学Gotion almost all the coding has been done in the controller layer, with the models pretty much exactly as they come out of baking.


CakePHP is newer, more feature rich and heavier than Code Igniter (CI is designed to have a much smaller footprint) so you will most likely find yourself creating functionality in CI to match cake's.

CakePHP also handles some core capabilities differently than CI. For example, routing functionality is handled via a dedicated class rather than per controller as in CI (via _remap).

I have never seen a tool that helps to automate such a conversion as it's rarely, if ever, done.

Taking all that into account, I believe the best approach is to rebuild your application from the ground up, drawing on your existing code and database schema.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜