ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Offline Mobile App

March 16, 2013 5:00pm

Subscribe [1]
  • #1 / Mar 16, 2013 5:00pm

    Lavi Yatziv

    28 posts

    Hello EE Community!

    I’ve got a project coming up where I’ve got to create a offline capable mobile web application.
    I need to know if there is a way to have a user “log in” add some data offline. Then when a connection is available, sync up with a database. This means either pushing or pulling data based on the users most recent post.

    Here’s my plan so far…

    locally store a JSON formatted data set on the users phone/tablet in a datefile or use WebSQL and some slick JavaScript.

    Use a JavaScript listener of some kind that asks for a web accessible file (www.example.com/sync.js?[timestamp]) and if it’s accessible. Login with stored username and password. Then sync (push or pull) the offline data with EE.

    I plan to make good and proper use of the html5 appcache and all that jazzy goodness.

    So I ask. Am I crazy, is this even possible, has anyone had any success with this approach, and what could be some possible gotchas…
    The project is in it’s early inception stages, so any feedback or suggestions are welcome.

    Cheers!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases