Skip to content

CfStatic is a framework for managing the inclusion and packaging of CSS and JavaScript in CFML applications.

License

Notifications You must be signed in to change notification settings

teamcfadvance/cfstatic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CFStatic is a framework for the inclusion and packaging of CSS and JavaScript files for CFML applications.

CFStatic takes care of:

  • Minifying your CSS and JavaScript
  • Compiling your CoffeeScript and LESS CSS
  • Including your CSS and JavaScript in the correct order, with all dependencies satisfied
  • Adding sensible cachebusters to CSS image paths and CSS and JavaScript includes

Key features:

  • Minifies your files for you using YuiCompressor
  • Compiles your LESS CSS for you
  • Compiles your CoffeeScript for you
  • Dependency configuration through self documentation
  • Easy, zero-code, switching between inclusion of raw source files and minified files
  • Small API, only 4 public methods (including the constructor)
  • Built for production; no need for CSS and JavaScript file packaging in your build scripts, code can be put in production
  • Minified files are saved to disk, CF is not involved in serving the files

Documentation

https://github.com/teamcfadvance/cfstatic/

Other resources

Authors Blog : http://fusion.dominicwatson.co.uk/categories/CfStatic/

Source : https://github.com/teamcfadvance/cfstatic/

Issues : https://github.com/teamcfadvance/cfstatic/issues/