On Jul 16, 2012, at 11:27 AM, Pete Muir wrote:
> Some comments, in no particular order:
>
> * rhetoric is very good
thanks ;)
>
> * I like the example
> ** but could do with a bit of javadoc to aid comprehension
https://issues.jboss.org/browse/AEROGEAR-309
>
> * I'm still concerned about the branding/organisation around this.
> ** If we're simply using aerogear-controller as a placeholder, and we're all aware this needs addressing rsn, then you can ignore this
> ** I would prefer we brand stuff by stack, eg. how we have Errai and RichFaces, each of which represent a view layer stack. To me it makes most sense to have an HTML+REST stack project.
> ** Will aerogear-controller be used in the native client libraries stuff?
>
> * Roadmap
> ** typically we use the release candidate as "feature complete, testing for .Final", so I would suggest making 1.0.0.Beta -> 1.0.0.Beta1 and
1.0.0.CR -> 1.0.0.Beta2 and 1.0.0.Final -> 1.0.0.CR1
https://issues.jboss.org/browse/AEROGEAR-310
> ** adding some target dates (e.g. months or quarters) to the roadmap is still needed
https://issues.jboss.org/browse/AEROGEAR-311
>
> * Requirements
> ** Not sure if you are planning on delivering this separately?
> ** I would still like to see a more formal exposition of the requirements, I can start to see them from your blog post, but really only from reading between the lines, and guessing. As previously discussed, as we have disparate groups interested in this, it's necessary to pursue a more formal approach here.
https://issues.jboss.org/browse/AEROGEAR-312
> ** If you want me to write up a set of initial requirements, extracted from your blog, then say.
Just comment on 312 about what format you want, more specifically please
>
> * Routes
> ** I'm not sure I really like extending the AbstractRoutingModule, what about doing something like Arquillian does, with an annotated @Routing method or similar?
The focus here is on **not** using annotations, at least for now - it might not make sense for us JavaEE devs, but we're targeting another market (rails, play, springmvc & friends)
Note that this is not set on stone, it could be added later for sure.
> ** I don't really quite like/get the design of using methods on classes to refer to page. I was expecting a class to map to a page.
one class for page? Mind to elaborate?
> ** I can see how a method can return an object, like Car, and then you can reference it in the view, but then I don't see how I can return >1 object, which any non trivial example is going to want to do. I suspect this is related somehow to the previous point ;-)
We have several options here, I restrained myself from deciding for one (the easiest way is to return a "Model/View" object with all the attributes you want, but this would be too springmvc-y)
> ** I think I would have found it clearer if the Routes concentrated on routing, and then delegated the actual processing of requests to JAX-RS (it kinda feels like we are reinventing this api), and i think again this might make the above a bit clearer.
https://issues.jboss.org/browse/AEROGEAR-306
> ** You seem to have gone to some lengths to keep the controller class free of marshalling, i'm not sure if this is intentional? But I would question this, as it's not really a reusable class, so we don't gain anything through this
I want this to be provided from JAX-RS/RESTEasy, but without the annotations, so 100% intentional
>
> * Future stuff
> ** I think path parameters and dispatchers will help a lot
> ** Extension model is going to be key I think, by the sound of it
> ** integrating security is definitely going to be key
https://issues.jboss.org/browse/AEROGEAR-305
> ** do we need a generic extension API for the routing DSL? Otherwise, I don't know how we decide what is in / out...
> ** still very mixed opinions on whether we should port haml 1:1 or whether we are better doing "jaml" (;-)) - i.e. haml but supporting embedding Java-esque syntax, courtesy of MVEL?
IMHO we need both, I'm just focusing on making what we have **today** working
That said, I loved the "jaml" idea. Where do we track this? Does anyone has started a github project for it? (I'm studying MVEL)
> ** I think we need to do much deeper JAX-RS integration than I'm seeing today, and that this should be much further up the roadmap (see above)
We're on the same page - I started talking with bburke about how to programmatically define JAX-RS endpoints, and there's no object model configuration support on RESTEasy - I'll be working on this, so both projects can benefit from it.
> ** a forge plugin for this would be very nice,
https://issues.jboss.org/browse/AEROGEAR-313
> as would an IDE plugin, to help visualise the routes
https://issues.jboss.org/browse/AEROGEAR-314
(I'm -0 for this, but let's discuss on the ticket)
>
> On 14 Jul 2012, at 06:57, Douglas Campos wrote:
>
>> Hello!
>>
>> Based on what we had shown before, I've just released[1] the bare minimum that was already done for the lightweight mvc.
>>
>> Now I really want feedback on the proposed roadmap, and feature ideas (both for the core and for the CDI-based extensions).
>>
>> Thoughts?
>>
>> [1]:
http://blog.qmx.me/aerogear-controller-alpha-is-out/
>>
>> -- qmx
>>
>
-- qmx