[ROO-3459] AngularJS support for Spring-roo : "web angularjs setup" + "web angularjs all" Created: 24/Oct/13  Updated: 25/Mar/15

Status: Open
Project: Spring Roo
Component/s: WEB MVC
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Minor
Reporter: Arnaud Nauwynck Assignee: Unassigned
Resolution: Unresolved Votes: 6
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

It would be great to have the choice to build "AngularJS" web layer, in addition to already existing ones : "mvc", "jsf", "gwt", ...

Knowing that Spring-roo already has all the server part REST/Json compliant plus a toolkit of MDA code-generators, and that AngularJS offers all the client part REST/Json plus a rich MVC ... connecting the two technologies might not be such a big gap, but a very promising step forward.

An initial step could be to generate simple crud javascript controler pages (as a replacement of list.jspx, view.jpx, update.jspx, create.jspx...).



 Comments   
Comment by Antonio Acevedo (proyecti) [ 06/Mar/14 ]

It is a fantastic idea!

Javascript it seems to be the present and future of frontend development and AngularJS is very powerful so it is a good combination.

Comment by JJ Zabkar [ 10/Mar/14 ]

To expand, creating a single-page web application (Angular's forte) plus websockets would be ideal. Angular's Controller & Service patterns correlate nicely with Spring MVC endpoints for RESTful projects. Example with Spring 4 & Angular: http://g00glen00b.be/spring-websockets-angular/

Additionally: While Angular's REST components ($http, $resource) might be a bit low-level, leveraging coding-by-convention will allow a more intuitive component like RestAngular: https://github.com/mgonto/restangular/blob/master/README.md

TL;DR: Single-page RESTAngular + Websockets application = Yay

Comment by Sanjaya Kumar Patel [ 17/Mar/15 ]

I just came across https://jhipster.github.io/ for this job.

Comment by Rafael Gorski [ 25/Mar/15 ]

+1 for this request!

Generated at Sat Jan 25 18:47:40 UTC 2020 using Jira 7.13.8#713008-sha1:1606a5c1e7006e1ab135aac81f7a9566b2dbc3a6.