开发者

Best methods for developing offline-capable mobile web applications

开发者 https://www.devze.com 2023-03-21 23:46 出处:网络
I\'m curious to know your ideas on the best methodology to build offline-capable mobile web apps on to provide the best UX to the end user.

I'm curious to know your ideas on the best methodology to build offline-capable mobile web apps on to provide the best UX to the end user.

The end product should use localstorage and appcache but be completely transparent to the user (i.e. for cache manifest, if a user navigates away from the page before everything is downloaded, the caching is restarted).

Is the only method to provide this functionality to build it for example on Backbone.js and have a single page app where the downloads can happen asynchronously in the background?

What other f开发者_开发技巧rameworks / technologies have you come across?


Let's see, offline web-apps? The two big things that I think do the trick are:

  • Local storage Embedded images w/Data URI's
  • (http://css-tricks.com/5970-data-uris/) Embedding
  • Javascript/stylesheets in the page (no external files that are
    required for the site)

Together, those make a pretty solid offline app which is able to function without an internet connection.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号