Following up with this thread I started last month.

For the first step (hopefully ready by 4.3), I'm planning on getting the 
SCSS/SASS compiler working with the UI build  -> 
https://github.com/Jasig/sass-maven-plugin. I've experimented with it using the 
existing CSS in our UI, and it will be pretty easy to use right away, then will 
gradually refactor over time into a more robust framework. Hopefully I can set 
up a work-in-progress branch up soon once I've got something tangible.

Amit/Rayees/Frank/anyone else, let me know if you are able to find out if this 
is fairly easy to setup; I'm not familiar at all with Maven, so will need a 
fellow expert to help out here :)

-Brian

-----Original Message-----
From: Amit Das [mailto:amit....@cloudbyte.com] 
Sent: Monday, August 12, 2013 10:11 PM
To: dev@cloudstack.apache.org
Subject: Re: [DISCUSS] CSS framework for CloudStack UI

Hi Brian,

I should be able to help on the build tools part.

However, I am new to ACS & ACS UI. So I might take some time to understand the 
existing build process of ACS UI.

We can surely coordinate on this.


Regards,
Amit
*CloudByte Inc.* <http://www.cloudbyte.com/>


On Thu, Aug 8, 2013 at 11:11 PM, Brian Federle <brian.fede...@citrix.com>wrote:

> That sounds awesome, though I'm not too much of a guru with either 
> maven or grunt -- I would be glad to coordinate with anyone who wants 
> to take that on.
>
> -Brian
>
> -----Original Message-----
> From: Amit Das [mailto:amit....@cloudbyte.com]
> Sent: Tuesday, August 06, 2013 10:16 PM
> To: dev@cloudstack.apache.org
> Subject: Re: [DISCUSS] CSS framework for CloudStack UI
>
> This is definitely a great idea.
>
> Will it be feasible to decouple the front-end build from server-side 
> build as mentioned in the following link:
> http://addyosmani.com/blog/making-maven-grunt/
>
>
> Regards,
> Amit Kumar Das
> *CloudByte Inc.* <http://www.cloudbyte.com/>
>
>
> On Wed, Aug 7, 2013 at 5:48 AM, Ian Duffy <i...@ianduffy.ie> wrote:
>
> > +1 to that definitely!
> >
> >
> > > The only problem I cannot handle is integrating the SASS compiler 
> > > (which
> > converts .scss->.css) into the UI build phase. I've found a maven 
> > plugin at https://github.com/Jasig/sass-maven-plugin, so if anyone 
> > wants to tackle that  it would be awesome.
> >
> >
> > Below is a meer suggestion, I've only read about it and never done it.
> > I believe you are able to chain grunt into the maven life cycle. 
> > This would allow us to do various things with the front end code. 
> > This includes but is not limited to:
> >
> > - JSHint
> > - Unit tests via xyz(suggesting QUnit or Jasmine) framework
> > - Static analysis of the javascript with Plato
> > - Compiling SASS + LESS
> > - Uglifying/Minifying
> > - Optimise images(png crush etc.)
> > - Dependency management of 3rd party js libs
> >
> > It would supply us with a bunch nicer build process for the UI 
> > elements of Cloudstack. However it would add a dependency of nodejs 
> > to the build process.
> >
>

Reply via email to