Giter Club home page Giter Club logo

Comments (7)

alekseykulikov avatar alekseykulikov commented on June 12, 2024

I will try to explain difference:

  • autoPush - sync one record on add/change/delete when user onLine
  • incremental sync - get all records and run compare's algorithm
  • full sync - reload storage

Why do you want to turn off autoPush option?

from dreamy.

kellerapps avatar kellerapps commented on June 12, 2024

Thx for your reply.

If the point of dreamy is to demo offline sync, autoPush:true doesn't
showcase it because sync won't find anything changed.

By the way, I'm reading the code for Offline.

If you don't mind me asking, do you have a profile page? I'm
http://www.linkedin.com/in/kennethhkeller

On Thursday, August 9, 2012, Aleksey Kulikov wrote:

I will try to explain difference:

  • autoPush - sync one record on add/change/delete when user onLine
  • incremental sync - get all records and run compare's algorithm
  • full sync - reload storage

Why do you want to turn off autoPush option?


Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-7635361.

from dreamy.

alekseykulikov avatar alekseykulikov commented on June 12, 2024

No problem, but I haven't got LinkedIn account, you can visit my oDesk page: https://www.odesk.com/users/~~5bb355b65af2c8c0

You can check sync in 2 cases:

  1. when you were working offline and then return to online (incremental sync upload new data or full sync clear local changes)
  2. when you open dreamy in 2 different browser windows and will be changing data (it's not common use case :)

from dreamy.

kellerapps avatar kellerapps commented on June 12, 2024

On Friday, August 10, 2012, Aleksey Kulikov wrote:

No problem, but I haven't got LinkedIn account, you can visit my oDesk
page: https://www.odesk.com/users/~~5bb355b65af2c8c0

That link is broken. I'm interested because I might like to hire you.

You can check sync in 2 cases:

  1. when you were working offline and then return to online (incremental
    sync upload new data or full sync clear local changes)
  2. when you open dreamy in 2 different browser windows and will be
    changing data (it's not common use case :)

All true.


Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-7653499.

from dreamy.

alekseykulikov avatar alekseykulikov commented on June 12, 2024

Sorry, that was link for oDesk's users. Please, check this: https://www.odesk.com/o/profiles/users/_~~4b2551215df6d50d/ and also we could talk in skype: alekseys.kulikov

from dreamy.

kellerapps avatar kellerapps commented on June 12, 2024

I think it would be safer if the localStorage keys were qualified by an
appName like "dreamy.org".

For a large app, the sync protocol is very chatty. Have you considered
batching?

Not sure what replaceKeyFields & prepareOptions do.

Too bad coffeescript doesn't have private methods--hard to tell what the
public API is.

Thx. -Ken

On Saturday, August 11, 2012, Aleksey Kulikov wrote:

Sorry, that was link for oDesk's users. Please, check this:
https://www.odesk.com/o/profiles/users/_~~4b2551215df6d50d/ and also we
could talk in skype: alekseys.kulikov


Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-7667844.

from dreamy.

alekseykulikov avatar alekseykulikov commented on June 12, 2024

localStorage automatically relate with domain name.
Now I'm thinking about new version backbone.offline which will has modules and clean public API. Also I'm thinking about how better to add batching and support for large applications. I know about current problems and backbone.offline is still alpha.
It will be good, if you add your suggestions to official backbone.offline repo.

from dreamy.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.