Reputation: 2345
I want to know the simplest (in general) steps required to migrate our old web applications (both, back end and front end) to Code Igniter Framework.
Please share your ideas / experience in this !
The old web pages doesn't have any framework at all. They are just just basic procedural PHP codes.
Thanks, Bob
Upvotes: 1
Views: 443
Reputation: 5553
As the others have suggested, there's no set answer to this question. One things for sure though, to some extent each port will be a rewrite. Some apps more than others and that largely depends on how you're current apps are coded.
That being said, this is generally how I would approach this...
Upvotes: 1
Reputation: 449733
It's impossible to tell for sure without seeing your code, but my general opinion is that unless the old code is an absolutely excellent, high-quality, well-documented masterpiece, then the best thing is probably to rewrite the whole thing.
Old PHP code is unlikely to conform with a modern framework's structure and preferences, and is likely to use deprecated practices
Old HTML code is unlikely to match modern standards (CSS....)
I dare say that in the vast majority of cases, rewriting from scratch is less expensive than trying to fit this old wine into new skins.
Upvotes: 4