Login

    Register

Managed Hosting

PROJECT CATEGORIES

 

CfStatic (Active)
Project Home Wiki Known Issues External Project Link Contact Project

Author: Dominic Watson (All RIAForge projects by this author)
Last Updated: April 20, 2012 1:15 PM
Version: 0.4.0
Views: 4,780
Downloads: 210
License: BSD

Description:

CFStatic is a framework for the inclusion and packaging of CSS and JavaScript files for CFML
applications by Dominic Watson (http://fusion.dominicwatson.co.uk/).

CFStatic takes care of:
-----------------------

* Minifying your CSS and JavaScript
* 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
* Dependency configuration through JavaDoc style documentation
* Easy, zero-code, switching between inclusion of raw source files and minified files
* Small API, only 4 public methods (including the constructor)
* Three minify modes (All, Package and File)
* 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/DominicWatson/cfstatic/wiki


Other resources
---------------

Authors Blog : http://fusion.dominicwatson.co.uk/categories/CfStatic/
Source : https://github.com/DominicWatson/cfstatic/
Issues : https://github.com/DominicWatson/cfstatic/issues/

Last Update:

* Added include and exclude patterns so that users can selectively exclude certain files from the engine
* Added charset option for all outputted files
* Added linebreak after each include for readability
* Updated LESS engine to 1.3.0
* Bug fixing around Windows vs Unix file paths
* Fix for debug mode issue where not all files were included

Requirements:

The framework has been written with CFMX and above in mind. However, testing has only occurred on Railo 3.2x, Open BlueDragon 2.02 and Adobe ColdFusion 9.0.1.

Issue Tracker:

This project has an external bug tracker. You can find it here:
https://github.com/DominicWatson/cfstatic/issues