Hi,
I agree the "localPipe" seems like a bit strange weird, and it's implementation will be very simple and "dumb" but there will be situation maybe where we want to stay on the Pipe API, rather than shortcut to the datamanager,  even if this Pipe just do a local loop, not sure I'm clear on this point but it is the idea of consistency ... 
Seb 


On Fri, Oct 26, 2012 at 3:03 PM, Kris Borchers <kris@redhat.com> wrote:
We are on the same page for the most part. :)  Not sure what you mean by a "local pipe" though. I think that is what DataManager does. As for the event driven model for connecting and syncing a pipe to a store, I am already working on that on the JS side. Check out SyncManager in https://github.com/aerogear/aerogear-js/tree/SyncManager. There is still a lot to do and I have more code locally but it's a start.

On Oct 26, 2012, at 7:56 AM, Sebastien Blanc <scm.blanc@gmail.com> wrote:

Hi all ! 
I was looking at the all different documentation pages and FAQ,  and some questions and ideas araise : 

1)  A PipeManager can contains 'n' pipes, is there any plan to be able to chain pipes together (i.e : "localPipe -> restPipe") ? Even nicer, would it be possible to make conditional the pipe "route" (i.e ; "no connection then use the localPipe" etc …)  

2)  The dataStore concept is clear but are there any plans to create some sort of association (one-to-one, one-to-many, etc ...) between a pipe and a datastore instance ?

3)  One idea should be that a pipe produce events ("entering pipe","exiting pipe", with some useful callback  data) and then any other component should be able to register to the pipe's events, same could be implemented for the other components (datastore events , security events) ...

The main idea is how we will consolidate all this different components together (pipe and datamanager mainly) onces we will have to deal with data sync for example. 

I'm just throwing some ideas after a brainstorming with myself ;-) but please share your comments on this ! 

Best Regards,
Seb

_______________________________________________
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev


_______________________________________________
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev