I have an coldfusion application in production. I am getting more and more requests for certain functions to be available in a mobile friendly format. I do not need the entire site to be mobile friendly, just certain parts. I have researched and determined how to detect the devices and how to redirect mobile users. 2 questions:
1. What is the typical architecture for what I am needing. For example....currently I have:
webroot/mycfapp
Should I do this?:
webroot/mycfapp/mycfmobileapp Just add a subfolder? I am wanting to keep using the original authentication and other processes from mycfapp, but just have a section seperated that includes the mobile features.
What is a light weight accepted way to do this? I typically develop desktop apps so this is new for me.
2. Where should I store the variable that tells the application which format(desktop or mobile)? Should I keep that flag or variable in a session variable or cookie?
It seems the prevailing wisdom to keep the apps seperate and I am all for that. I just would like to design it with some thought before I begin coding anything.
Thanks