News for hackers. Stuff that matters.
Re:Offline safety in a cloud app by mediumdeviation on Tuesday January 15, 2013 @11:47AM (#5061152)
The idea is by no means new. localStorage is old. So is the AppCache specifications that actually allows an application to go 'offline'. Gmail did this as early as 2009: http://googlecode.blogspot.sg/2009/04/gmail-for-mobile-html5...

Unfortunately it's not as easy as it looks. I found that out when doing research for a weekend project. Here's an excellent A List Apart article detailing all the gotchas you can face while working with it: http://www.alistapart.com/articles/application-cache-is-a-do.... The Financial Times Labs have an interesting article talking about an approach to deploying an offline app that uses the AppCache as little as possible: http://labs.ft.com/2012/08/basic-offline-html5-web-app/

And of course you can find information about it in places like Dive into HTML5 and MDN, by simply searching for them

Re:Offline safety in a cloud app by davidjgraph on Tuesday January 15, 2013 @09:14AM (#5060140)
This is a technical site, some technical details of the implementation would be more appropriate.

In terms of the app itself, web apps generally offer some way to fire them up straight away without having to sign up. Many users, myself included, will just click cancel on the sign up screen. You have to give us something first before we trust you with our email. Edit: I ended up looking by just entering a rubbish email address.

The landing page is very pretty, though the app looks somewhat like https://moqups.com/ at a glance.

Re:Offline safety in a cloud app by mtreder on Tuesday January 15, 2013 @09:25AM (#5060198)
You're absolutely right, we're working on an additional info about technical side of this feature (as a response to comments).

Showing the app before signing up is something that we're constantly thinking about. Probably it's about the time to make it comes true. My apologizes for the inconvenience.

Moqups.com is great, but it's really focused on a different problem.

UXPin - The UX Design App (http://uxpin.com) helps teams fighting for the best UX Design possible of their web&mobile apps, during whole design process.

You can create wireframes, interactive prototypes, upload requirements, personas, visual design - and discuss each deliverable in one place.

ps. We were launched way before Moqups :)

Re:Offline safety in a cloud app by dudus on Tuesday January 15, 2013 @10:10AM (#5060433)
Re:Offline safety in a cloud app by Groxx on Tuesday January 15, 2013 @12:41PM (#5061523)
Taken in context: low performance and low reliable storage space. So, way more than sufficient for a few simple things, and not much else. IndexedDB is massive overkill for lots of things, cookies have other problems for other things, localStorage fits nicely in the middle and should be used as such.

I have other reasons for disliking localStorage. Two tabs in e.g. Chrome (a few versions back, at least) can write to it and the contents from one tab can be delayed by as much as a second; one tab can read older-than-current data from another (A writes X then Y, B reads X); writes can interleave at the string level, making it possible to produce garbage data (like "abc123def" when writing "abcdef" and "123" from different tabs) - when you add this to the delay and old data problems, it's sometimes undetectable and unfixable.

Re:Offline safety in a cloud app by taybenlor on Tuesday January 15, 2013 @09:11AM (#5060129)
This is relatively cool, but that's not a great article.
Re:Offline safety in a cloud app by mtreder on Tuesday January 15, 2013 @09:15AM (#5060143)
True. That's just a short blogpost, that I wrote mostly to let now our customers about new feature (really crucial for them). Suddenly hundreds of people are reading it.

While I'm super-happy and even more thankful for all the up votes, I'm a little bit ashamed that it's not a top-notch writing and in-depth analysis of the problem.

Anyway thanks Hackernews! Glad you like it. Local storage should be a must-be for any cloud app.

Re:Offline safety in a cloud app by agscala on Tuesday January 15, 2013 @10:27AM (#5060522)
If you're working with local storage, I highly recommend using the following library:

http://amplifyjs.com/api/store/

It has a very simple interface and internally it has a bunch of fall-back storage mechanisms in case one isn't supported by the browser.

Re:Offline safety in a cloud app by mtreder on Tuesday January 15, 2013 @10:36AM (#5060583)
Thanks!
Re:Offline safety in a cloud app by cantlin on Tuesday January 15, 2013 @09:54AM (#5060348)
Somewhat on-topic: interesting mobile networking piece with actual technical discussion (by Mike Belshe): http://www.fiercedeveloper.com/story/mobile-networking-where...
Re:Offline safety in a cloud app by indeyets on Tuesday January 15, 2013 @09:37AM (#5060258)
Well, that's exactly how Dropbox or Apple's iCloud work. Kinda standard these days
Re:Offline safety in a cloud app by mtreder on Tuesday January 15, 2013 @09:38AM (#5060269)
Unfortunately it's not a standard in Saas tools e.g. wireframing apps.
Re:Offline safety in a cloud app by mtreder on Tuesday January 15, 2013 @09:37AM (#5060265)
I've just updated the post with a comment of Jacek - our great programmer and author of this feature.

If you'll have any specific questions, we'll try to answer them :)

Re:Offline safety in a cloud app by bloggersway on Tuesday January 15, 2013 @11:01AM (#5060757)
Thanks for sharing. Cloud is very popular these days.