Fitting an established site into a CI framework

Posted by David on Programmers See other posts from Programmers or by David
Published on 2012-12-07T10:19:33Z Indexed on 2012/12/07 11:18 UTC
Read the original article Hit count: 257

I manage a rather large, feature full nightmare of a site which has no end of feature creep settings/options/etc.

Up to now its been coded in a procedural/functional way and would like to move to an OO,MVC setup. I'm quite new to it all but have done alot of research and feel that CodeIgniter is a code choice of framework to use to help quicken the transfer. Before looking at a framework, I started constructing a list of objects to create classes out of:

  • photos
  • users
  • forum topics
  • forums
  • blogs
  • blog posts
  • comments

The trouble I have now, is I do understand where these generic/universal objects fall into the CI MVC setup. What is the best way to organise this kind of stuff? These classes can generally be used on multiple models/views/controllers.

© Programmers or respective owner

Related posts about php

Related posts about object-oriented