Thanks guys. AssetGraph looks great but contains too much magic for this
particular project, a straight rails 3.1 port. For now I am going with
connect-assets until I hit a major roadblock (haven't tried the CDN part
yet).

On Sun, Apr 15, 2012 at 4:43 AM, papandreou
<[email protected]>wrote:

> Hi Martin,
>
> assetgraph-builder comes pretty close to ticking all your boxes:
> https://github.com/One-com/assetgraph-builder, except that it requires a
> separate build step.
>
> Stylus and coffeescript are not yet compiled in production, but it would
> be trivial to add as it's already supported by the underlying framework
> (the compileCoffeeScriptToJavaScript and compileStylusToCss transforms in
> assetgraph). Sass/compass are not supported, I haven't looked into those
> yet.
>
> At one.com we're using assetgraph-builder for several web application
> that are in production, for example 
> https://filemanager.one.com/<https://filemanager.one.com/#files/> which
> gets a YSlow score of 100 when the cloudfront host name is added as a CDN
> host.
>
> The weak point is the lack of documentation, but let me know if it looks
> interesting. If you describe your use case I'll see if I can help you out :)
>
> Best regards,
> Andreas Lind Petersen (papandreou)
>
>
> On Saturday, April 14, 2012 8:19:06 AM UTC+2, Martin Wawrusch wrote:
>>
>> Hi guys, I am looking for an asset management solution similar to
>> sprockets / assetpipeline on rails (http://guides.rubyonrails.**
>> org/asset_pipeline.html#**manifest-files-and-directives<http://guides.rubyonrails.org/asset_pipeline.html#manifest-files-and-directives>
>> )**.
>>
>> What's important to me is:
>> * Fingerprinting of all assets so that there are no problems with CDNs
>> * Support for CDN fetching from source (e.g. CDN loads it's initial
>> contents from the source site, but the html generated in the views
>> references the CDN)
>> * precompilation in production, individual files in development mode
>> * support for stylus, less, coffeescript and if possible sass/compass,
>> uglifyjs, css compression
>>
>> I recently found brewerjs.org, which looks interesting and there is
>> connect-assets 
>> (https://github.com/**TrevorBurnham/connect-assets<https://github.com/TrevorBurnham/connect-assets>
>> )
>>
>> Any other recommended packages to look at as of April 2012?
>>
>> Cheers
>> Martin
>>
>  --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
>

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to