Offline

Languages and libraries

javascript library

SHOW HN2013

151points
29comments
#125of 1,739 in 2013
Top 8%of 2013 by points

How HN took it

LovedMost comments that take a side are positive

6 positive, 11 neutral or asking, 2 mixed, 1 critical, out of 20 comments about the project. Thread score +0.28.

Idea: 2 for, 0 againstDesign: 1 for, 1 againstExecution: 1 for, 0 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Clean, small, well-made JavaScript from HubSpot

    From 3 comments
    • You guys have put out some great pieces of JS in the last year and the quality is getting better. I'm a big fan of how this is not jQuery dependent and the code is simple. I've…
      ssafejava on HN
    • The more I look into HubSpot libraries, the more I am amazed by their approach. To the point, small and flexible. And if the only annoyance people can bring up is a snake game,…
      arvidkahl on HN
    • Kudos to hubspot: they're pushing out some nice js pieces from their app
      drsim on HN
  • Useful for apps on flaky connections

    From 2 comments
    • This comes at the perfect moment for me: I'm building an inventory web app used in warehouses on tablets and I'm faced with connectivity issues (incomplete or fluctuating WiFi…
      Renaud on HN
    • This is a really useful starting point, thanks for sharing
      alinawab on HN

Objections

  • Replaying queued requests can cause out-of-sync state and unwanted actions

    From 3 comments
    • > It captures AJAX requests which were made while the connection was down, and remakes them when it's back up, so your app reacts perfectly. Is this something I want as a user?…
      WA on HN
    • I think this is a neat proof of concept. However, you have to be extremely careful to not get out of sync hell. I see an enormous load of extra complexities for what seems to be…
      pothibo on HN
    • Maybe because I've already implemented something like this in the past and I faced a lot of issues with synchronizing multiple states on multiple devices? And I didn't say the…
      pothibo on HN
  • Developers must handle duplicate submissions themselves

    From 1 comment
    • You'd need to take care of this anyway, since almost any asynchronous action otherwise carries the danger of being dispatched twice if the UI is left active. Most frequently,…
      nathankleyn on HN

Requests

  • Option to remake only GET requests

    From 1 comment
    • I wrote the js in Offline. I agree completely, this is definitely not an attempt to resurrect Google Gears. I would love to see how more people use it, and what sorts of problems…
      zackbloom on HN
  • Websocket (socket.io) support

    From 1 comment
    • The more I look into HubSpot libraries, the more I am amazed by their approach. To the point, small and flexible. And if the only annoyance people can bring up is a snake game,…
      arvidkahl on HN

Questions

  • How quickly does it detect going offline?

    From 2 comments
    • > It captures AJAX requests which were made while the connection was down, and remakes them when it's back up, so your app reacts perfectly. Is this something I want as a user?…
      WA on HN
    • After the first request fails it will confirm it's the connection at fault, and immediately show the message. Depending on the nature of the connection problem this can be…
      zackbloom on HN
  • What happens on page reload or browser close with queued requests?

    From 1 comment
    • This is just what i need!! For my html5,json,localstorage app. But what if the user press Reload ? But what if the browser crasher or closed normally, does the buffer stay ? if…
      uaygsfdbzf on HN
  • Does it work with AngularJS?

    From 1 comment

Alternatives named

  • Couchbase Lite with PhoneGap connector

    From 1 comment
    • We built Couchbase Lite as a serious embedded database for use cases like this. Our PhoneGap connector might be right up your alley. http://mobile.couchbase.com
      jchrisa on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/6610218)