Where to put code, webapp, diff. platforms

Hi, I’m making a web-app. So If I want to use, desktop, iPhone, iPad and android tablets, where do I put the code…

I’m going to do a lot of database stuff, and a lot of fields to be populated and read … so what is the smart way… I can not copy the code to each layout… or is it this way of doing it ?

General database stuff you can put in a global module.
But fiddling with data should be done in the Session Object. This way, any data, records, etc. won’t leak to other sessions.

In one of the last webinars @Paul Lefebvre talked about that a little bit.

If you haven’t watched the webinars, please do. They are very inspiring. They can also be found on youtube.