The most logical way would be to seperate each main parts. Also, if the web app is "just" a smartphone friendly version of a desktop website, you don't necessary always have the choice. Seperate files have also the big advantage not to crash the whole app when buggy. On the opposite, seperate files breaks direct access, and ask a web connection each time ... which is sometimes not good with poor signal cover.
if your webapp has plenty of medias, i think seperate files is more accurate cause no <img src will be asked to the browser to download images visitor is not asking for. If it's only text (listing, products infos, texts, ...), seperate files should rather be used as includes in the index (dynamic language requiere - PHP, ASP, ... ) if it's a small app, one single file is ok :) A link to show us ? :) Remi Le 11 nov. 09 à 05:16, Shmanky a écrit : > > I place each "screen" into a separate .PHP file. This makes it quicker > to get to the screen I want to edit. > > > On Nov 9, 8:37 am, danlarkin <[email protected]> wrote: >> Hi all, >> >> I seem to be designing my app as one large (single) html file, just >> with different sections of the file for different IUI "views" and >> included javascript files with "libraries" of custom functions. So my >> question is that this doesn't strike me as best way of developing a >> webapp in the longer term, both in terns of reusabilty and speed >> (download). >> >> Is my development approach common? Or do people split the webapp into >> different html files and perhaps use hyperlinks between them? >> >> I'd be interested to hear any opinions or comments on this >> Many thanks! > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en -~----------~----~----~----~------~----~------~--~---
