Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

extended roadmap by Partial Updates, SPDY and Batch API #386

Merged

Conversation

lfryc
Copy link
Contributor

@lfryc lfryc commented Sep 10, 2014

@danbev
Copy link
Contributor

danbev commented Sep 10, 2014

@lfryc I was wondering if we should keep the 0.2.0 milestone to include the 'Server Push' that is in the current version:
https://github.com/aerogear/aerogear.org/blob/data-sync-rebirth-roadmap/docs/planning/roadmaps/AeroGearConflictResolution.asciidoc#020-jan-2015-server-push

We could begin with the updates you made in this PR starting from 0.3.0. Wdyt?

@lfryc
Copy link
Contributor Author

lfryc commented Sep 10, 2014

Looking again at the roadmap I've noticed I forgot to mention Offline/Persistence feature, that should be also implemented early on, what about:

@danbev sounds good to me. Are you fine with:

  • Dec 2014
    • Server Push
    • Persistence / Offline (needs to be mentioned in roadmap)
  • Jan 2015
    • Partial Updates
    • SPDY
  • Mar 2015
    • Batch API

I'm little bit worried here that SPDY may actually inhibit need for Batch API dramatically, that's why I moved it to later dates.

@lfryc
Copy link
Contributor Author

lfryc commented Sep 10, 2014

Looking again at the roadmap I've noticed I forgot to mention Offline/Persistence feature, that should be also implemented early on.

@danbev
Copy link
Contributor

danbev commented Sep 10, 2014

@lfryc Sounds good with the dates. We can revisit them later on when we have a clearer picture.
Yeah, I see you point with the requirements but lets see what the others say. We could leave it a little more open or just change it later if run into roadblocks.
I also forgot to bring up Offline/Persistence. This was something that Luke and I discussed before and that it would definitely be something we provide for the "real-time" stuff but perhaps not for the simpler two milestones.

@lfryc
Copy link
Contributor Author

lfryc commented Sep 10, 2014

yea, I was rather considering extending features of simpler solution by even Offline/Persistence, because simpler solution (as opposed to realtime) offers stateless functionality.

@lfryc
Copy link
Contributor Author

lfryc commented Sep 10, 2014

I've added Offline/Persistence and moved with dates of Server Push, SPDY and Batch API.

What you think now?

@danbev
Copy link
Contributor

danbev commented Sep 10, 2014

@lfryc I was thinking that the 0.2.0 to be a minor update to 0.1.0 like it was before, and only add notifications that a new version is available. Basically what you have but without the partial updates. That would come with the next milestone. I think the 0.2.0 milestone might be enough for some use cases and it would make it clear that there are no additional server side requirements for that 0.2.0. After this we can introduce the more advanced partial updates which require changes to the server side.

I like the other updates you've made. Nice work!

@danbev
Copy link
Contributor

danbev commented Sep 10, 2014

@lfryc I can create a PR against your branch with a suggestion if you like, might be easier to se what I'm on about?

@lfryc
Copy link
Contributor Author

lfryc commented Sep 10, 2014

yes, please, go ahead @danbev :-)

danbev and others added 2 commits September 11, 2014 11:33
Changes:
* Added the old 0.2.0 version where the only addition is the ability for
the server to notify clients of the availablity of new data.

* Incremented the versions of all the versions later than 0.2.0 to
  reflect the change.

* Some minor spelling corrections.
@lfryc
Copy link
Contributor Author

lfryc commented Sep 11, 2014

merged PR from @danbev : lfryc#1

@sebastienblanc
Copy link
Member

Looks good ! I like the "progressive enhancement" in features along the releases.
Some questions about the clients ? Where will that be implemented ? In the Pipes Modules (for Android and JS) and ios-http (for iOS) ? Or in a new Module ?
What about Cordova ? Will we able to use the JS impl or would a plugin be needed ?

@danbev
Copy link
Contributor

danbev commented Sep 11, 2014

What about Cordova ? Will we able to use the JS impl or would a plugin be
needed ?
Good point. I was thinking that Cordova would be able to use the JS impl,
but if that is not the case then let us know and we'll add tasks for a
Cordova plugin as well.

On 11 September 2014 13:35, Sebastien Blanc notifications@github.com
wrote:

Looks good ! I like the "progressive enhancement" in features along the
releases.
Some questions about the clients ? Where will that be implemented ? In the
Pipes Modules (for Android and JS) and ios-http (for iOS) ? Or in a new
Module ?
What about Cordova ? Will we able to use the JS impl or would a plugin be
needed ?


Reply to this email directly or view it on GitHub
#386 (comment).

@corinnekrych
Copy link
Contributor

@danbev @lfryc for 0.4.0 when you talk about offline support does it include secure offline support? offline support for sensitive data that might need encryption.

@danbev
Copy link
Contributor

danbev commented Sep 11, 2014

@corinnekrych It certainly can include encryption I think, and we should perhaps state this explicitly.

@corinnekrych
Copy link
Contributor

@danbev yeap i think it deserves a mention by itself.
Besides you've got dependency on AGSEC-12 - offline authentication
tbh I'd split the 2: offline vs secure offline.

@lfryc
Copy link
Contributor Author

lfryc commented Sep 11, 2014

Where will that be implemented ? In the Pipes Modules (for Android and JS) and ios-http (for iOS) ? Or in a new Module ?

The roadmap intentionally doesn't talk much about Client SDK APIs, because the way the features are implemented might be platform dependent. Each of the platform teams should IMO investigate what is the best approach. For JS, I believe Pipes should be our first-class citizen, but support for other modules (Angular Data, Ember Data) should be evaluated as well. It would be probably good to add a note about it in roadmap if you agree ^

does it include secure offline support?

Yes, we could add Offline support and Authentication as well. Just an idea: what about leaving Secure Offline vs. Data Persistence / Offline as two separated concerns? We can still mention here there is a dependency.

@lfryc
Copy link
Contributor Author

lfryc commented Sep 11, 2014

too late to the party as @corinnekrych already suggested split of Offline / Secure Offline :-)

@lholmquist
Copy link
Member

i thought pipes were going away?

@danbev
Copy link
Contributor

danbev commented Sep 11, 2014

what about leaving Secure >Offline vs. Data Persistence / Offline as two separated concerns?

@lfryc Sounds good to me

@lfryc
Copy link
Contributor Author

lfryc commented Sep 11, 2014

@lholmquist you are right, as always :-) the question is whether this will be part of AG.js 1.x or 2.0, but for that we could probably hold a JS meeting

@lholmquist
Copy link
Member

@lfryc sounds good

@lfryc
Copy link
Contributor Author

lfryc commented Sep 12, 2014

Any comments or concerns before merging this?

@danielpassos @secondsun sounds good from Android's front perspective?

@danielpassos
Copy link
Collaborator

I like that. Sounds good for me

@secondsun
Copy link
Contributor

👍

@lfryc
Copy link
Contributor Author

lfryc commented Sep 12, 2014

Thanks, guys, for review!

@lfryc lfryc merged commit 07462db into aerogear:data-sync-rebirth-roadmap Sep 12, 2014
@lfryc
Copy link
Contributor Author

lfryc commented Sep 12, 2014

Merged to data-sync-rebirth-roadmap

@lfryc lfryc deleted the partial-updates-spdy-batches branch September 12, 2014 19:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants