← Back to team overview

launchpad-dev team mailing list archive

Re: LESS CSS

 

On 11/11/11 13:33, Robert Collins wrote:
On Fri, Nov 11, 2011 at 3:26 PM, Huw Wilkins<huw.wilkins@xxxxxxxxxxxxx>  wrote:
Implementation wise we don't have node.js on the servers at the
moment. I suggest testing it and if its fast enough in 'client side
mode' just using that for now (perhaps file a high priority bug for us
to permit server side handling in the future).
Thanks Rob. I'll look into that.

I have seen at least one python implementation of the compiler in the past
(I remember it wasn't feature complete at the time). I assume if that fits
our needs we could use that in place of the node.js compiler.
I have no objections. OTOH if its pleasantly fast on the client, it
would be simpler to have just one compiler (the .js one) and run it
only on the client. Simple is nice in its own right ;)


I also am happy either way, I'll plan to implement the client js compiler and I'll investigate what performance gains we get from server-side compiling and if it's trivial we can stick with the client compiler.

It's also possible our CSS builder won't be able to handle less files (in which case we'll have to do server-side compiling first), but I guess I'll find out.


Follow ups

References