Blog

Category Filtering: 'ColdBox'

Remove Filter


ColdBox Guides Galore!! More Documentation!

Posted by Luis Majano
Apr 15, 2007 00:00:00 UTC
Hello Documentation Fans!! (Silence....)

I guess there are none!! Anyways, I have just spend most of my precious time updating almost all of the guides and content of the wiki for the upcoming 2.0.0 release. So you can head over to the ColdBox Trac Site and get your fix on all types of new, revised and out of hand documentation. You get more screen shots, samples, eye-candy and more.

Below are some of the revised and new content:

* External Resources Added

* IRC Channel Information

* Overview Guide UML Diagrams

* Install Guide

* Event Handlers Guide

* Plugins Guide

* i18n Guide

* ColdBox Exceptions List & Descriptions

* ColdBox URL Actions

* ColdBox Caching Guide

* My First Event Handler

* My First Custom Plugin

* My First Exception Handler

* Caching Objects Example

* Creating a message box style class

* Custom Exception Template

* Timer Plugin Example : How to time your code

As you can see, there are tons of new documentation, better organization and updated content. So get your documentation fix by heading over the the documentation site.

ColdBox 2.0.0 RC 1 Now Available.

Posted by Luis Majano
Mar 27, 2007 00:00:00 UTC
Well, we are almost there. I am releasing today the release candidate 1 of ColdBox 2.0.0. You can get the bits from by clicking here

This new build includes the following:

1. Complex Settings via the config.xml. You can now declare arrays and structures inline using {} and [] notation.

Ticket Here | Config Guide

2. ColdBox Cache Monitor: For all you geeks, this cache monitor will render the performance of your cache and create a monitor that you can have open alongside your application so you can view its state and event get metdata reports about the objects in cache.

URL Actions Guide

Cache Monitor

Cache Monitor Alongside Application

3. Multiple fixes and updates

4. Dashboard updates.

5. Cache Settings Override via the config.xml. You can now override the framework-wide settings in your applications.

6. Much more fixes and cleanup.

You can see all of the updates and tickets Clicking Here.

Enjoy this release as the final version will be coming soon.

ColdBox: New Transfer Sample Application! Transfer Rocks!!

Posted by Luis Majano
Mar 21, 2007 00:00:00 UTC
I have just been delving into Transfer this past few weeks and I must say I am really impressed by its design and usage. The way the ORM is layed out is impressive and even more with its TSQL addition. So I decided to create another sample application dedicated to Transfer. It will be on the next beta or RC coming for 2.0.0, but if you do not want to wait, then get it from the Repository by Clicking here

Kudos to Mark Mandel for this amazing tool

The sample application is a very simple CRUD and Listing application and shows you how to instantiate the Transfer factory into the ColdBox cache also. I will be posting a tutorial on it pretty soon at the usual documentation depot :)

Have fun and thanks Mark for this awesome project.

ColdBox Dashboard, Take it for a spin!

Posted by Luis Majano
Mar 19, 2007 00:00:00 UTC
I just update my dashboard subdomain so you can test out the dashboard for yourself. You head on over to http://dashboard.coldboxframework.com and log in with 'coldbox' to test drive this unique approach to framework management.

Please send me your feedback and suggestions. This is still in beta as the framework, and they should be soon released.

Thanks again for all your support.

ColdBox 2.0.0 Beta Build 524 : With Dashboard!!

Posted by Luis Majano
Mar 18, 2007 00:00:00 UTC
Well, the last beta roundup is here, and yes, it includes the new and improved ColdBox Dashboard. So please enjoy this beta as it includes the following updates and enhancements:

- ColdBox Dashboard 2.0.0

- Welcome to ColdBox IoC Object Caching:

You can now enable the IOC plugin to cache your service objects in the coldbox cache.

In order to do this, you will have to enable it in your config file via the 'IOCObjectCaching' flag. Then, you will need to get rid of your singletons in your IOC declartion files and declare your singletons via the cfcomponet tag using the 'cache=true' metadata attribute. You can also assign a timeout here.

- Caching Debugging Panel Enhanced.

- Coldspring now receives the coldbox controller reference as part of the settings structure. The gap in the model is now closed. You can now reference the active coldbox controller in your IoC configuration files by using '${Setting: coldbox_controller not found}'. You will now be able to use the framework in your model objects if needed.

- AppMapping setting in the config file is now optional. If set in the config file, then it will override the auto-detected mapping. This is a great feature if your main application root is not reachable from the url.

- The new object to use in the event handler methods and layouts/views is 'Event' to standardize with conventions.

- All documentation updated to 2.0.0

- BlueDragon fixes

- Minor fixes,updates.

- Install ANT task, so you can refactor the code if needed.

- Application Template ANT task. You can now create new applications via ANT.

- More guides coming soon.

You can find the beta in the forums as usual

Well, enjoy this latest beta as the release is coming soon.

ColdBox Dashboard 2.0.0 Beta Screenshots

Posted by Luis Majano
Mar 18, 2007 00:00:00 UTC
I have just updated the ColdBox Screenshots so you can see a first hand look at the new and improved ColdBox Dashboard. This is a great application that will surely grow and help developers create and maintain ColdBox Applications.

Please remember that it is still beta and improvements are ongoing. However, for this 2.0.0 release, they will be both be released at the same time. After that, separate timelines will be in place.

I welcome your ideas and suggestions on this great dashboard. More fun stuff coming soon. If you really find these tools to fill your needs, please Click Here to Donate or visit my Amazon Wishlist. This project only survives because of the community and I would appreciate your support.

ColdBox Interview at CFFrameworks.com!

Posted by Luis Majano
Mar 14, 2007 00:00:00 UTC
My interview on ColdBox has just been released over at CFFrameworks.com

It discussed the why's of ColdBox, who its better than anything :) and its new features for the upcoming 2.0 release.

Hope you enjoy it.

Can you Digg Cfframeworks:

http://digg.com/podcasts/cfFrameworks_Interview_Podcast

Can you Digg my Interview: http://digg.com/podcasts/cfFrameworks_Interview_Podcast/313083

You can also download the interview from iTunes here or use the download link below.

Thanks again for your support

cfdirectory recurse emulation alternative: the Java Way (For BlueDragon, etc)

Posted by Luis Majano
Mar 14, 2007 00:00:00 UTC
As you know, ColdBox is now fully supported for BlueDragon and Railo. However, to port it was a bit tedious when it came to the auto-registration engine for handlers, since I need to traverse the handlers directory recursively and create an array of handlers. This is so easy in Adobe ColdFusion, but BlueDragon and Railo, does not support it (BD 6, railo 1). Here is the Adobe ColdFusion code:

That is awesome!! So easy!! Well, to do it the Java Way, takes some patience and well, some insight into recursion. The following example is using the CF/JAVA hybrid notation, but the end result is the same as above. And with some speed tests, the code actually compares, not that much of a slow down. So :)

Here is my call to the recursion, the entry point:

What I do is call my recurseListing method with the handlerArray I want the results in, the handlersPath into the initial directory and the working directory. Why do I send in the HandlerPath again? Well, I do it, to actually clean the path to show me the invocation paths, mumbo jumbo!! Give me the code!! Here it is:

Remember that this code is not to get the query like cfdirectory, it could, but you will have to do that, I am just showing how I solved my problem. This is a great exercise also.

//Init the oDirectory object with the initial working directory (Java File Object)

var oDirectory = CreateObject("java","java.io.File").init(arguments.Directory);

//Get an array listing of the objects in the directory

var Files = oDirectory.list();

//My Index.

var i = 1;

//My temp File Object

var tempfile = "";

//My clean handler string.

var cleanHandler = "";

//Loop Through listing if any files found.

for ( i=1; i lte arrayLen(Files); i=i+1 ){

//get first File reference as a File Object

tempFile = CreateObject("java","java.io.File").init(oDirectory,Files[i]);

//Directory Check for recursion, if directory, then recurse.

if ( tempFile.isDirectory() ){

//recurse, directory found, send in the new directory path.

arguments.fileArray = recurseListing(arguments.fileArray,tempFile.getPath(), arguments.HandlersPath);

}

else{

//File found

//Filter only cfc's, I could have used a Filter Java object, but was lazy.

if ( listlast(tempFile.getName(),".") neq "cfc" )

continue;

//Clean entry by using Handler Path (For my specific purposes)

cleanHandler = replacenocase(tempFile.getAbsolutePath(),arguments.handlersPath,"","all");

//Clean OS separators accordingly

if ( getSetting("OSFileSeparator",1) eq "/")

cleanHandler = removeChars(replacenocase(cleanHandler,"/",".","all"),1,1);

else

cleanHandler = removeChars(replacenocase(cleanHandler,"\",".","all"),1,1);

//Clean Extension right off baby

cleanHandler = getPlugin("fileUtilities").ripExtension(cleanhandler);

//Add data to array, a cleaned Handler, thank you GOD, bless you.

ArrayAppend(arguments.fileArray,cleanHandler);

}

}

//else return the empty array or filled array.

return arguments.fileArray;

There you go, you can follow the comments to tell you what I did. This is an awesome exercise and shows you how ColdFusion is really powerful by leveraging its Java backbone. When things like this just work, it just amazes me of how ColdFusion has evolved and how EASY it is to overcome problems by leveraging Java. Viva Java Mis Amigos!! Viva!! Viva!!

Hope you enjoy this little java/cf/recursion tutorial. This example shows potential of how you can build your own recursion methods.

Great ColdBox Tutorial: Contact-O-Matic by Michael Oneil

Posted by Luis Majano
Mar 11, 2007 00:00:00 UTC
You definitely have to check out Michael's blog for his tutorials on ColdBox. They are easy to follow, direct and fun. His attention to detail is great and you will definitely get a sense of what ColdBox can do for you or you company.

So head over to asuFusion.com and check out this series of tutorials by Michael. You will not be disappointed.

ColdBox 2.0.0 Beta Build 493: This one is for BlueDragon fans!!

Posted by Luis Majano
Mar 11, 2007 00:00:00 UTC
Well, Ladies and Gentleman, another beta roundup. This beta includes FULL BlueDragon Support as of version 6.2.X So all you BlueDragon users and fans, this one is for you!!

You can take a look at the following link for some know issues which have to do with external apps out of my control:

ColdBox System Requirements

I also changed the registration mechanisms to a more java oriented recursion and it works great. A few fixes also to some sample applications and more documentation. Ohh, it also includes the OpenSearch plugin and a new ColdBox Wallpaper.

So enjoy this beta. Also as a tease, the next beta will include the ColdBox Dashboard (FINALLY!!) Well, it takes time, so give me a break. I am porting it to JQuery, so that is why it takes so long.

Anyways, Click here to get this beta

Enjoy this beta and leave your comments and suggestions here or in the forums. Also, the guides in the documentation get updated daily until the 2.0.0 final release. And by the way, there are over 100 pages of documentation on the wiki as of today. Wow!! I do like documentation!!

Viva la Documentacion!!

God Bless.

Site Updates

Archives

Entries Search