Utilizing a current web site's assets in a new mobile version

I recently joined a friend of mine in developing his web app. He built it from scratch using the MVC pattern.

Now I'm trying to make a new (and separated in a sub domain) mobile site that's based on CodeIgniter, but I have no idea how to utilize the models my friend made, especially considering they don't follow CodeIgniter's rules, plus they have includes and dependencies on other files in them.

Any suggestions on how I could approach this?

Your help is much appreciated :)


Since your friend used the MVC pattern to develop the initial site, why not re-use his controller/model to serve up different views.

That way you're not re-writing code, messing with new frameworks, worrying about incompatibilities, etc. You just have to make the new views handle the data and look pretty on a mobile device.

Need Your Help

Placement of defensive structures in a game

language-agnostic artificial-intelligence algorithm

I am working on an AI bot for the game Defcon. The game has cities, with varying populations, and defensive structures with limited range. I'm trying to work out a good algorithm for placing defence

SKPhysicsBody size with resizeToHeight

ios sprite-kit skspritenode

I have a problem with size of physics body after resize of his skspritenode.