Wednesday, May 02, 2007

Coldbox CFMX Framework

I have been playing with Coldbox of late, i really like it. It differs from other CFMX frameworks like Model-glue in that it doesn't use XML for configuration, nor does it use RoR like conventions.

It uses, wait for this, the ground breaking approach, of using CFML for configuration!

I like Model Glue, it was the first framework ( outside my own developed over the years ) which i used. I did and do get really frustrated by the need to repeat my controller methods in the modelglue.xml file... why repeat yourself?????

What's more, XML is not a programming language! XML has it's place, it's just heavily abused and misused in way to many wierd and strange ways.

Fusebox has a whole vocabulary in XML which just makes things more complex. Oft heard is the argument that you can manipulate the XML with other tools....

hmmmf, not so interesting IMHO ...why?.. because you what you lose in flexibility using XML to configure the framework is not worth the trade off.

Frameworks should be like a good relationship, it should be a spring board which makes your life better and richer, not dragging you backwards. By backwards, i mean the limits of an XML vocab when compared to CFML.

Then again, I think working under the limitations approach is better for learning as a lot of CFMX developers aren't used to working in a more structed approach.

I have been swapping emails with Luis, the creator of Coldbox about extending the debugging with a diff of the requestcontent between events in a request call and adding a request trace monitor.... we will see what happens :)

Post a Comment
Related Posts Widget for Blogs by LinkWithin