So, what are we doing with AgileSitesNG?
A few things, actually:
Now, instead of a simple demo we are introducing a complete mobile responsive site based on BootStrap and AngularJS.
Here is a snapshot of what you can see with the Proto site:
The site is actually entirely content managed with Sites:
Developers can work using their favorite IDE (for example IntelliJ IDEA in the snapshot) and they can code using directly Javascript, HTML and CSS.
Actually the system integrates preprocessing of less, coffescript and other javascript related technologies, concatenation, minification and compression:
The build system is totally integrated and interactive: editing a “less" or “coffescript" file will trigger compilation to javascript, then the optimization of the web assets, producing the best output even while the development. A nice addition is Live Reload for Javascript. Also the usual AgileSites Hot Deploy still works.
Basically developers can now see instaneously the result of changes to javascript, less files, html and java code without even having to hit the reload button in the browser.
But actually there is more, since even the content model is now automatically generated.
Traditional architecture for javascript works using a page-based approach, with an MVC server based. Angular however is a client-based MVC so the traditional approach does not work anymore. Instead the server need to provide 3 things:
So, the way AgileSitesNG works is the following:
Developer write their code using html code snippets, like those:
The snippets are automatically imported but what is most important is that after the import:
In the end, developers only need to think to code their client side. The backed support for content managing a site built Angular is generated by the AgileSitesNG framework.