[aerogear-dev] Replace Factory by Registrations

Daniel Passos daniel at passos.me
Mon May 5 12:32:55 EDT 2014


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].

[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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20140505/79c6cfda/attachment.html 


More information about the aerogear-dev mailing list