Haml_coffee_assets

screenshot of Haml_coffee_assets

Haml Coffee templates in the Rails asset pipeline or as Sprockets engine.

Overview

Haml Coffee Assets is a tool that compiles Haml Coffee templates in the Rails 3.1 asset pipeline. It allows these templates to be used as JavaScript templates in JavaScript-heavy Rails applications. The tool also supports server-side rendering of templates, enabling the use of the same template files for Rails and JavaScript templates. Haml Coffee Assets can be used as a pure Sprockets engine without Rails as well.

Features

  • Seamless integration: Haml Coffee Assets integrates easily into the Rails asset pipeline or can be used as a standalone Sprockets engine.
  • Configurability: The tool offers manifold options for configuring Haml Coffee Assets to fit your specific needs.
  • AMD support: Haml Coffee Assets has support for AMD (Asynchronous Module Definition), allowing for modular loading of JavaScript templates.
  • Server-side rendering: Templates can be rendered on the server side in Rails applications.

Summary

Haml Coffee Assets is a powerful tool for compiling Haml Coffee templates in the Rails asset pipeline. It offers seamless integration into Rails applications, allowing for the use of these templates as JavaScript templates. The tool also provides options for configuration, AMD support, and server-side rendering. With Haml Coffee Assets, developers can streamline their JavaScript-heavy Rails applications and reuse template files across both Rails and JavaScript environments.