javascript - Jquery Mobile - including fragments for a multipage template? -


we're doing codeigniter/jqm web application , have been debating multipage template vs. single-page/file.

most of cons of multi-page template (meaning multiple data-role=page divs in single file) cited relate single file getting unwieldy maintenance (and possible load time) perspective. cons of single-page approach seem focus on potential latency between pages. given vagaries of internet, latter approach seems more risky. opinion user tolerate long load time if app runs smoothly once loaded more app inconsistent between touches/swipes.

that being said, have growing team of folks working on various parts of app , having one, huge file presents challenge -- git.

so, question this:

is there reason can't break multi-page template separate files, each containing <div data-role=page> , contents, , -include- each 1 in main file? seem solve maintenance issue , alleviate potential delay between page transitions.

what missing, here?

and answer no. works fine.


Comments

Popular posts from this blog

java - Andrioid studio start fail: Fatal error initializing 'null' -

android - Gradle sync Error:Configuration with name 'default' not found -

StringGrid issue in Delphi XE8 firemonkey mobile app -