开发者

Deploying a framework to a already ready project in PHP

I have a fully ready web app which we developed in php. It s full开发者_如何学编程y procedural as I didn't know I could use OOPS to make things efficient (since was a beginner in PHP). Now i have all the files and my friend introduced CodeIgniter, I want to know how do i convert the project and deploy it in this framework. Please suggest a few tips which can reduce the development time.


There is no standard way of doing this. You'll need to sift through your app, extract classes, demarcate portions of your code which handle database interactions, business logic and page design, and even reorganize some database tables (the way the framework expects the database to be structured). This 4 year old presentation may be a good starting point: http://www.slideshare.net/crnixon/dealing-with-legacy-php-applications

P.S. Welcome to SO!

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜