I want to create an app with phonegap and zepto chosen because light.
The will be large and for easly development and future mantainance will be divided in several different pages.
I do not understand if will be better call by ajax the different page from the main index page of the app and inizialize zepto in the main page or i can add zepto js to every page. phonegap do this for every page and my target is create an app hosted in phonegap.
Thanks for your time and for apprecited help.
It depends where you need zepto. What you should do is add it on every page, and only include it in the whole file once. I organize mine by having the pages reference "../js/src/zepto.js" or something along those lines. Don't include zepto multiple times in the file, but do call it on every page.