On Wed, Jul 16, 2014 at 4:39 PM, Summers Pittman <supittma(a)redhat.com>
wrote:
We've mentioned moving from the factory/producer/headache pattern
that
we currently use (Pipeline, etc) to something more fluent and more
maintainable. See this JIRA :
https://issues.jboss.org/browse/AGDROID-259
To that end I've stubbed out some classes and made a strawman set of
unit tests for Pipeline :
https://gist.github.com/secondsun/8478a5f0527fc97b2456
that reads pretty nice!
.withUrl(url).module(basicModule).forClass(Data.class);
like it!
In the comments of some of the tests I've added questions for the
implementation portion of Registrations.
The ultimate goal is to make the factories and feature classes(Pipe,
AuthModule, etc) flexible enough that circular dependencies can be
broken and 1) modularization can happen and 2) feature additions can be
quicker and change fewer stable APIs.
Comments, questions, and tomatoes are welcome.
--
Summers Pittman
>>Phone:404 941 4698
>>Java is my crack.
_______________________________________________
aerogear-dev mailing list
aerogear-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev
--
Matthias Wessendorf
blog:
http://matthiaswessendorf.wordpress.com/
sessions:
http://www.slideshare.net/mwessendorf
twitter:
http://twitter.com/mwessendorf