English 中文(简体)
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.





相关问题
CHATGPT Integration [closed]

Can anyone please let me know the steps to integrate ChatGPT in to a website using Api with python I am expecting Chat GPT integration process in to a website for my process. So please let me know the ...

using perforce with team foundation server

Does Team Foundation Server 2008 or upcoming 2010 work with perforce as the SCM tool? I haven t been able to find any documentation on the web indicating whether or not this configuration is supported?...

Adding Crystal Reports support into LAMP product

We have a newly documented feature request, from sales and support, to integrate Crystal Reports into our LAMP product. (It s more like LAPP, really, with Postgres and PHP.) I have to admit, ...

how to connect to hotmail server?

i am developing a website in wich i want to connect to hotmail server to read and send emails through my website but i am not able to connect to server..i am using pop3 and smtp i am getting error as ...

How can I use exit codes to run shell scripts sequentially?

Since cruise control is full of bugs that have wasted my entire week, I have decided the existing shell scripts I have are simpler and thus better. Here is what I have so far svn update /var/www/...

热门标签