[aerogear-dev] Aerogear Forge Plugin

Richard Kennard richard at kennardconsulting.com
Wed Feb 20 18:47:29 EST 2013


Seb,

This looks very cool. I see you have used parts of Metawidget for some of the implementation? I'd love to hear your thoughts on how it went and/or any 
changes you'd like me to make to Metawidget. For example:

1. You have some code in Html5Scaffold that processes the inspection result returned by CompositeInspector. It does things like 'Canonicalize all numerical 
types in Java to "number" for HTML5 form input type support' and 'Extract simple type name of the relationship types'. Was there a reason you didn't factor 
this into a Metawidget InspectionResultProcessor (http://metawidget.org/doc/reference/en/html/ch02s03.html)? Specifically BaseInspectionResultProcessor has 
some methods to help?

2. You appear to be using FreeMarker templates rather than Metawidget's WidgetBuilders, WidgetProcessors and Layouts (see the existing Forge JSF scaffold, 
Forge GWT scaffold, and Forge Spring scaffold). Could I ask what the reasons were behind this?

3. I have recently implemented a pure client-side, pure run-time, AngularJS version of Metawidget. If you were interested in a non-static version of your 
scaffold, perhaps you could give it a try? http://blog.kennardconsulting.com/2013/01/metawidget-meets-jquery-ui-and-angularjs.html

Regards,

Richard.

On 20/02/2013 11:49 PM, Jay Balunas wrote:
> Wow!!!  Really awesome work guys!!!
>
> On Feb 15, 2013, at 11:15 AM, Sebastien Blanc wrote:
>
>> Hi all !
>> I'm pleased to announce that the first version of the Aerogear Scaffold Plugin for forge is available !
>> It's still an alpha but thanks to the excellent work and help from Vineet we have a working plugin :
>>
>> - CRUD Scaffolding based on your entities.
>> - One-to-one , many-to-one relation supported.
>> - AngularJS and bootstrap responsive based.
>> - Aerogear Pipe and Store used.
>>
>> There is still a lot to do but you can already play with it, a quickstart is available here and you should be able to create your first Aerogear App in 
>> 5 minutes ;) https://gist.github.com/sebastienblanc/4961324
>>
>> An example of a generated application can also be found here : https://github.com/sebastienblanc/scaffoldtester , please review the generated code (at 
>> least the JS and HTML) and report it to me and I will update the templates accordingly.
>>
>> Next steps are :
>> - Integrate Search feature (using the DataStore filter facilities)
>> - Integrate Aerogear Pagination (although generic pagination is present now)
>> - Integrate jQueryMobile (will probably be another plugin)
>>
>> Enjoy !
>>
>> Seb
>>
>> _______________________________________________
>> aerogear-dev mailing list
>> aerogear-dev at lists.jboss.org <mailto:aerogear-dev at lists.jboss.org>
>> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>
>
>
> _______________________________________________
> 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