18
Getting ready for CoffeeScript using Symfony2 and Assetic
3 Comments · Posted by Christian in The right tool
After playing around with Sass and compass for an optimized CSS experience and some first results I now want to focus on easing Javascript development and CoffeeScript seems to be all the rage today.
Although I read that CoffeeScript does not depend on Node.js the CoffeeScript website mentions it as a requirement so I installed it first (with root priviledges).
I did this on a Gentoo linux box and while Gentoo is almost never featured in any installation instruction this worked right away so I guess it will be the same experience on all Linux derivates. I should mention that in contrast to the official instructions I did not install for a specific user but for the entire system.
Next install the Node.js package manager npm.
Now finally install CoffeeScript itself.
Next I had to configure Symfony and Assetic in order to utilize CoffeeScript.
And then make use of it.
To test this I simply copied some of the example code from the CoffeeScript homepage into a .coffee file. Right away it compiled into Javascript so I knew the installation was sound.
Now I have to do some CoffeeScripting.
Assetic · CoffeeScript · Javascript · JQuery · Symfony2
-
Nick
-
http://blog.vworld.at/ David
<< Forrst – an incredibly vibrant community of designers and developers

