[aerogear-dev] Replace Factory by Registrations

Karel Piwko kpiwko at redhat.com
Mon May 5 12:56:00 EDT 2014


On Mon, 5 May 2014 13:32:55 -0300
Daniel Passos <daniel at passos.me> wrote:

> On Mon, May 5, 2014 at 1:04 PM, Karel Piwko <kpiwko at redhat.com> wrote:
> 
> > Do you guys plan to only replace factory pattern by registrations or also
> > include second part of the Tadeas' proposal - making generics a first class
> > citizen of API?
> >
> 
> Both. Registrations and making (but not so) generics a first class citizen
> 
> Take a look of this example[1].

Awesome! I've seen gist that but I wasn't quite sure.

> 
> [1] https://gist.github.com/danielpassos/088498b553699f23ff51
> 
> 
> > Thanks,
> >
> > Karel
> >
> > On Mon, 5 May 2014 10:40:07 -0300
> > Daniel Passos <daniel at passos.me> wrote:
> >
> > > A long time ago Tadeas Kriz had a awesome idea to kill the ugly factory
> > and
> > > replace it for registrations[1]. Summers and I have been thinking about
> > it
> > > and we'd like to replace it in 2.0. So, we are starting the new agdroid
> > > library for offline and we'd like start it using registrations[2] instead
> > > Factory.
> > >
> > > Wdyt? [1] https://gist.github.com/TadeasKriz/e0f5583e2a24c32dc253 [2]
> > > https://gist.github.com/danielpassos/088498b553699f23ff51
> >
> > _______________________________________________
> > aerogear-dev mailing list
> > aerogear-dev at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/aerogear-dev
> >



More information about the aerogear-dev mailing list