Code Depot

This page has a listing of contributed plugins, interceptors and more until the ColdBox website supports it. If you have any ColdBox material that you would like to share with the community, please send them to info@coldboxframework.com with a description, a license type, and the zip file of your content and it will be posted here.

Official ColdBox Custom Plugins

The plugins offered below are developed by Team ColdBox and are supported as such.

Update All the official ColdBox Plugins are now offered as a plugin pack download.

FileWriter

Uses the Java FileOutputStream, OutputStreamWriter, and BufferedWriter to provide a way to GREATLY increase performance of file output. Must faster and less resource intensive than trying to build large strings and perform fewer CFFILE append actions. Also less memory intensive than putting strings into an array and then performing a listToArray() call.

cfengine

A cool utility that let's you know which flavor of ColdFusion and what version you are running on. It also has a set of public properties for you to do testing to.

rssReader

A cool rss feed reader component with file based caching. This component will take any rss or atom feed, parse it into a standard structure and even do file caching of the serialized data for you. Impressive java serialization/deserialization. The caching api is also exposed so you can tap into it and do whatever you need on it. All RSS dates are converted to usable ColdFusion dates, this means that all ISO8601 and RFC822 dates are parsed to their ColdFusion date string for ease of use.

Application Settings:

  • rssReader_useCache : boolean [default=true] (Use the file cache or not)
  • rssReader_cacheType : string [ram or file] (ram cache is set by default)
  • rssReader_cacheLocation : string (Where to store the file caching, relative to the app or absolute)
  • rssReader_cacheTimeout : numeric [default=30] (In minutes, the timeout of the file cache)
  • rssReader_httpTimeout : numeric [default=30] (In seconds, the timeout of the cfhttp call)

RSS Retrieval Methods:

  • readFeed( feedURL, itemsType[default=query], [maxItems] ) : Retrieve a feed from cfhttp, parse, cache, and return results in query or array format.
  • retrieveFeed( feedURL, itemsType[default=query, [maxItems] ) : Retrieve a feed from cfhttp, parse, and return results in query or array format.
  • parsefeed( feedXML, itemsType[default=query], [maxItems] ) : Parse a feed XML document into a normalized struct results in query or array format.

RSS File Caching Methods

  • flushCache() : Flush/Remove the entire cache
  • getCacheSize() : numeric : How many feeds do we have in the cache. (File Caching only)
  • isFeedCached( feedURL ) : boolean : Is this feed cached or not
  • isFeedExpired( feedURL ) : boolean : Is this feed expired in the cache or not
  • expireCachedFeed( feedURL ) : Expire a feed if it exists
  • removeCachedFeed( feedURL ) : boolean : remove a feed from the cache
  • getCachedFeed( feedURL ) : any : Get the object representing the feed
  • setCachedFeed( feedURL, feedStruct ) : Cache the feed

rssGenerator

A very cool RSS 2.0 generator. This plugin takes in a standard structure to be converted into an xml feed. Most of it is based on ColdFusion 8's cffeed tag. However, you can use this for any CFMX Engine.

The cool thing about cffeed is that you can use a column map structure to map your query elements to the RSS item elements. This way, you don't have to change your queries or column names. Just use the mapper and wallah, query aggregated. For detailed instructions, open the plugin. Below is the main creation method.

CreateFeed(feedStruct:struct, [columnMap:struct], [OutputFile:string])

paging

A very cool and simple to use paging plugin. It can create a paging carrousel for any recordset or array or whatever you want to page. Instructions are located inside of the plugin.


Official Interceptors

The interceptors offered below are developed by Team ColdBox and are supported as such. Please download at your own risk, they are offered "As Is".

Environment Control Interceptor

This interceptor helps developers configure their applications in tiered environments. Very simple to use and implement. All the instructions are in the actual interceptor. You must use a configuration file for the settings and then add your own environment detection in the interceptor.

  • Author: Luis Majano & Rob Gonda
  • License: Apache 2
  • Download : Part of the ColdBox core


Third Party Plugins

The plugins offered below are contributed to the ColdBox project and are therefore maintained by those authors and not the ColdBox effort. Please download at your own risk, they are offered "As Is".

toXML

Set of utility functions to generate XML.

Spry Plugin

A great plugin for Adobe Spry and the ColdBox Framework.

Webcharts3D Plugin

A great plugin for WebCharts3D and the ColdBox Framework. WebCharts3D is included in ColdFusion.


Copyright 2006 ColdBox Framework by Luis Majano