Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7420777
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T08:17:47+00:00 2026-05-29T08:17:47+00:00

Phonegap apps are usually different from general web sites, even if they are written

  • 0

Phonegap apps are usually different from general web sites, even if they are written with the same language.

Main differences:

  • a Phonegap app loads main pages from local file
  • many web frameworks for mobiles (like jQuery Mobile) usually load a single html file and then programmatically change pages.

So I think it’s outdated the common suggestion of put code on external JS file. Is it true?
What’s the best way to organize the code so it will be fast to load and easily maintainable? (e.g. do you separate code that concerns the view and code that concerns the data?)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T08:17:48+00:00Added an answer on May 29, 2026 at 8:17 am

    Even with jQueryMobile I have many html files. Sometimes we’re loading a portion of content from another html file using the jQueryMobile mechanism of loading just a particular #id from the html file. In many apps the data is being loaded from an external site and being inserted into the content from the local files. If I do load any data locally I use a data subfolder unless I’m loading from local storage.

    Given that, here is my typical structure of my www folder:

    www (all my views go in this main folder)
      data (any local files that will be loaded for insertion into my views)
      js (all my phonegap plugins and jquery source goes here)
      styles (css for jquery, local views, etc)
      images (local images for my views
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've read about phonegap which enables users to write web-based apps for android and
Since there are more and more apps going the web way (like Phonegap, Appcelerator
I want to open iphone apps like Contacts and Calendar from within my phonegap
Now the case, I want to develop a iPhone apps/web apps using Phonegap. Ok,
I am investigating creating cross platform mobile apps using PhoneGap. I have looked at
I'm using phonegap build to publish apps, and it looks like localstorage is getting
I program using PhoneGap and learned that cross-platform apps really produces slow applications compared
As you know, the main window of a native iOS app is usually fixed
Because PhoneGap now offers PhoneGap Build, a way to compile iPhone apps without Xcode,
Is it possible to make a PhoneGap native app from a Wordpress mobile blog?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.