here's my plan to build a site w a mobile site:
1) develop all my core modules with robust api's. 2) build a pair of ui modules for each above module. These ui modules are just ui's for the api's of the above module. There will be two ui modules for each above module: one for the normal site and one for the mobile site. 3) use a device detection library and if the client is a mobile device, then use the mobile ui/theme.
I'll build a 'friends' module with an api that allows for adding friends, deleting friends, etc... This module has no ui. Then I'll build a normal site ui module and a mobile site ui module that will all for controlled interaction w the ui.
what do you guys think? Anyone have a better way?