meteor / guide

:book: Articles about Meteor best practices
http://guide.meteor.com/
Other
839 stars 305 forks source link

Ideas about offline data in Meteor #233

Closed stubailo closed 3 years ago

stubailo commented 8 years ago

@fabiodr has collected some resources already:

https://subvisual.co/blog/posts/45-offline-web-apps-with-meteor http://rafaelquintanilha.com/offline-app-with-meteor-and-cordova/ https://github.com/subvisual/tripl.it https://github.com/rafaelquintanilha/meteor-offline https://github.com/rafaelquintanilha/offlinecontacts https://github.com/awatson1978/meteor-cookbook/blob/master/cookbook/offline.md https://github.com/awatson1978/clinical-checklists

https://github.com/subvisual/tripl.it http://triplit.groupbuddies.com/ https://subvisual.co/blog/posts/45-offline-web-apps-with-meteor

They even stated in the repo description that choose Meteor because it has easy offline implementation (using groud:db), if i got it right.

@mitar let's continue discussing here if you want.

mitar commented 8 years ago

So, maybe there are then solutions for offline mode? Maybe it should be presented in the guide? If people think it is not possible, and it is possible, then this is in fact a perfect candidate for the guide? Maybe it is one of those things which is unclear how it is done because a good guide is missing.

stubailo commented 8 years ago

@mitar this is one of those things where some people might need it, but there are some other factors:

  1. I think this topic is less important than some others, for example forms
  2. We (the editors of the Guide, myself and Tom) don't have a way of verifying different approaches
  3. In some sense the Guide is also a way of committing to a certain set of Meteor packages and functionality that we stand behind. So I don't think this is a case where we can just accept a community-edited article, because it has an impact on what we think we can stand behind.

I think one option is to add a section to an existing article, and link to some or all of the articles listed above.

Perhaps this would go in the Collections article, or maybe Data loading.

mitar commented 8 years ago

We (the editors of the Guide, myself and Tom) don't have a way of verifying different approaches

So only things used by you two can be in the guide? I see a pattern here ...

mitar commented 8 years ago

In some sense the Guide is also a way of committing to a certain set of Meteor packages and functionality that we stand behind.

I thought that it is a set of packages and functionality that the is de facto standard in the community.

stubailo commented 8 years ago

@mitar at the end of the day, this is a curated resource, not a wiki. Is there a standard in the community for offline data? Most of what I hear is people having trouble with it.

mitar commented 8 years ago

I do not know. But this does not mean that some people who are interested in this should not know either.

stubailo commented 8 years ago

Right. I'm just saying that if this guide is supposed to be about accepted solutions in the community that are stable and that we can stand behind, IMO offline support is not one of those things.

The Blaze Components thing is a different issue, and one that we should solve soon. We are working on it because I think there are some additional decisions to make other than just including stuff in the guide hopefully will have some more concrete thoughts and info within a week.

filipenevola commented 3 years ago

I'm closing this issue because it's too old.

We are going to make many updates to the guide in the next weeks and it's better to focus on issues with recent activity. If you think this issue is still relevant please open a new one.