开发者

Deploying a framework to a already ready project in PHP

开发者 https://www.devze.com 2023-03-24 00:44 出处:网络
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

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

精彩评论

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