I have several weeks before the next project, and I am looking for / want to optimize our development process to give the UX and Devs guys the shortest time to change validation (for example, 10 seconds to change Java / 1 second for UX / JS).
Basically, I want John Lindquist to show in this video (RT feedback with webstorm and an example todo list for 3 minutes), but I'm with Tomcat and Spring.
I studied / played this over the past few days with our stack (Tomcat8, Intellij13, Spring4, Angular), and I just do not get it, so I think this is my lack of knowledge in this area, and I’m missing something ( hence the question is SO).
What I have achieved so far for UX Guys
Grunt (using node) to serve the "static resources" (JS / SCSS / Templates) and the current boot up to update chrome - this is very good and very close to what I want (return RT from SCSS / JS / HTML changes) , but the big problem is that node is serving static resources, not TC, so using Cross Origin Policies (solved through this and this ) - restructuring in intellij becomes messy with grunts - they looked at SCSS compiled with file watchers , but it not gelled) - in short, I did not get the static runt and TC service, that the REST API works in harmony NII. Another option: this guy updates TC resources with a grunt when the file changes, but just doesn't want to go there.
This brings me back to file watchers, live changes in inkjet brains (as shown by the web-stormy video) and intellij and again, I'm close when it comes to static content, as intellij can update TC resources when deactivating frames, but (and a big BUT) this is NOT real time, and when you change the structure of resources, you need to refresh the page, but we are working on a SPA that loses context when updating, which slows down the guys, since they have to respond in sequences to return to the place where the change occurred, but t Also, when using intellij, they must "deactivate the frame" in order to receive changes directed to the TC (they are located on two monitors, so to hide intellij it is the same as clicking a button to expand the changes)
The best thing today is to grunt and accept the same origin problems for development, but am I missing something for the UX guys?
What I have achieved so far for Dev Guys
Before we begin, we can not afford jrebel and did not get Spring loaded , working with intellij and tomcat (for now).
at this point, simply updating TC by intellij with class changes and restarting when the bean structures / method structures change. Bad, I know, but "this is what we use."
Looking at the spring boot - promising, but ideally I would like not to give freedom of configuration, but it gives live updates on the server, I think.
Grails cannot win at this time.
I know that Play allows some updates in real time, but again, I did not look at it in detail and did not change from the current stack.
Summary
On the development side, Live Edit will most likely be used and accept the update / deactivation problem so that we cannot “achieve” what John Lindqvist shows in Webstorm, that is, real-time updates when changing resources when using Tomcat / Intellij / Chrome - or at least “I don’t know” how to do this?
Server side - I’m still working on this, continuing to look at the downloadable and built-in spring integration, and then look at jrebel and see what budget, if any, we can get, but meanwhile there are any alternatives as I see The guys from node / ruby / grails get all this, so I think it should be me, and I skip the best setup to get ultra-fast feedback from our code changes when using Tomcat and Spring?