Jan 6

Announcing our first awesome contest so you can win a brand spanking new copy of our ColdBox Definitive Guide Book! What do you need to do? Simple, here are the instructions.
You will first need to register an account with us in our ForgeBox site:
http://www.coldbox.org/index.cfm/forgebox/submitcodeOnce your account is validated and you have registered (if you have not done so), you will then need to post as many
code entries to the forge as you can. The person with the most contributed code entries until January 28, 2010 at 5pm PST will win the free book!
That's it, all you have to do is contribute to the forge cool plugins, interceptors, sample apps, etc and you are on your way to getting a free book!
Dec 23
Thanks to
Henrik Joreteg we have now our very own
ColdBox JSMin Compressor for js/css assets. This plugin is a cool java/coldfusion integration and will compress your css and js assets on the fly and produce compressed versions of your assets. It will also cache them and concatenate multiple assets into a single js/css file for even more optimizations. How easy?
<head>
#getMyPlugin("JSMin").minify('includes/js/myscripts.js','includes/js/jquery.js')#
#getMyPlugin("JSMin").minify('includes/css/site.css','includes/css/boxes.css')#
</head>So thanks Henrik, we now have
ColdBox JSMin and what would a plugin be without documentation :)
http://wiki.coldbox.org/wiki/Projects:JSMin-Compressor.cfm
Dec 10

Let's learn how to use the paging carrousel plugin for ColdBox found in the ForgeBox directory. First of all, download the plugin and drop in your custom plugins folder.
Settings setup
Make sure that you setup the following settings in your application:
PagingMaxRows - The maximum number of rows to show per page. Defaults to 10
PagingBandGap - The gap to use in the paging carrousel. Defaults to 5
You can also override the settings on the plugin, by using the appropriate setter methods in the plugin.
Handler setup
In your handler event, my case 'forgeservice.entries' you will setup the paging boundaries and the data call using these boundaries. In my case, I have a model object that received the starting row and the maximum number of rows to return. The paging plugin assumes there will be an incoming request collection variables called "page". You do not need to param it or default it as the plugin does this for you. All you have to do is construct a nice link with a page holder once you render the paging carrousel. So to start just get the boundaries from the plugin:
// Get the paging boundaries, make sure there will be a "page" incoming variable, we use it to page.
rc.pageBoundaries = getMyPlugin("Paging").getBoundaries();
The previous call returns a structure with a startRow and maxRow element according to your settings and the page your are on. You can use this information to present information back to the user like, showing records X to Y, etc.
// Call your model object for data
rc.entries = forgeService.getEntries(orderBy=rc.orderBy,
typeSlug=rc.typeSlug,
startrow=rc.pageBoundaries.startRow,
maxrows=getMyPlugin("Paging").getPagingMaxRows());
The next tricky part is to get the total count with no paging on it. I have another method that does this for me, but this can be done in any approach you prefer.
// Get total entries count
rc.entriesTotal = forgeService.getEntriesTotal(typeSlug=rc.typeSlug);
View Setup
That's it for the handler code, now let's render the paging carrousel. For this make sure you have the correct css setup for it. The following are what is needed for the paging css:
.pagingTabs - The div container
.pagingTabsTotals - The totals
.pagingTabsCarrousel - The carrousel
Here is my sample css:
.pagingTabs{
font-size: .8em;
text-align: left;
margin: 20px 10px 15px 10px;
}
.pagingTabs a{
color: #000;
padding: 2px 4px;
background-color: #fff;
border: 1px solid #ccc;
margin-left: 2px;
}
.pagingTabs a:hover{
color: #000;
background-color: #FCF9C3;
border: 1px solid black;
}
.pagingTabs a.selected{
color: #000;
background-color: #FCF9C3;
border: 1px solid #AF3D15;
}
.pagingTabsCarrousel{
margin-top:5px;
}
Now I can render it in my views:
#getMyPlugin("paging").renderit(foundRows=rc.entriesTotal,link=event.buildLink('forgebox/page/@page@')#
That's it! I tell the paging plugin what is the link to attach to my carrousel and then pass a placeholder variable for my page: @page@. This renders the carrousel and correct links.

Dec 5
Well
ForgeBox keeps growing and we have over 17 entries now and growing. We have now added twitter notifications to new entries and when entries get updated so people can get advices of forgebox events (Thanks ColdBox Interceptors!). We have also added more resources to our
REST api to interface with
ForgeBox and a client plugin so you can talk with ease.
Nov 25
Last night I opened the
ColdBox community space for open registration. This means that you have to self-register with assembla and join the space. This way, no waiting on us to start working, just do it! Then just link your projects up in
ForgeBox and start growing this wonderful community.