Entries for month: April 2008

invokeMethod() - How to make a dynamic method call

Coldfusion 15 Comments »
A few months ago I caught myself building a method that would invoke another method from within a component. Basically something similar to functionality provided by the “cfinvoke” tag, but could be used through cfscript or strait against a component...

Read more...

Spry & multiple nested data sets - Mach-II

Frameworks , Coldfusion , Spry No Comments »
Last week I posted a blog about how to use Spry nested datasets (very simple example). Now I am expanding that example by incorporating Mach-II v.1.6. This is a key if your application already uses the Mach-II framework or even Model-Glue. If you are NOT using Mach-II then scan the provided UML diagram to see how it flows and incorporate it into your desired MVC framework.....

Read more...

Unit testing with MXUnit - Dive in!

Frameworks , Coldfusion No Comments »

Last week I was looking over blogs and ran across a blog by Sean Corfield talking about a unit testing framework named MXUnit. Well curiosity caught me and I dove right in to see what it could do. As expected I found a good unit testing framework that could easily take the place of many others out there, which was a relief. I say this only because I currently use cfcUnit, which is also a good framework, but it has not been updated for quite some time, and if you are like me, it’s nice to work within a framework that is updated periodically. Yes?

Now at that point I only played with it enough to know it was a good one to start using, but what really placed it on my radar was the fact that is came with a great EASY to use eclipse interface. I saw this through one of Charlie Arehart’s great online meetings presented by Bill Shelton (one of the many developers of the framework) and all I can say is check it out. It is WELL worth it!  

Now this is something I usually keep to myself, but it’s important in my book and I would not doubt it being important for other developers out there, but seeing the fact that there are many developers maintaining this framework. To me this is gold! It lets me know that this framework will have more of a chance to be appreciated, maintained and used within the cold fusion community.

 Check out Sean Corfield's blog on cfEasyMock as well if you use mock's in your unit testing environment.

A beautiful thing!

Personal No Comments »

Well, time is short and I want to make the best of it. So what am I doing, I am getting married to the best woman out there. The day is coming (April 25th) and I can't wait. This will be my second marriage and this one's a keeper.

 A brief story (promise). My soon to be wife and I met through a mutual friend and I tell you what, love hurts. You know why?? Because my soon to be wife gave me a fat lip to show her love :-). Of course it was all in fun and games since at the time we were both attending a mixed martial arts type class, but whew, what a blow. Talk about a cupids arrow! Best not mess with this one! In any case, after showing her how to make homemade pizza and a year later, here we are.

Now I know some of you would say "1 year? that's it?", but she is awesome and I could not image my life without her in it. We are getting married in good old Sacramento, CA.

 There is a lot more to say, but time is short so everyone gets the short version for now :-)

Spry & multiple nested data sets

Coldfusion , Spry No Comments »

Lately I have been working with Spry and seeing all the amazing things it can do. Just the other day I was messing around with working with multiple nested data sets derived from a master data set and I thought I would share my experience. 

 All in all, it was fabulous. The way spry can work with nested data sets it top notch. I was able to pull one "master" data set, then build new nested data sets from that master. I was even able to build a nested data set from a nested data set... very very nice! After I had all my data sets I was able to use one region to display all of my information.

 I used Cold Fusion as the back end supplier of the data, but anything can be used.

 I have attached example code so you can see what I did. Download it here!

Powered by Mango Blog. Design and Icons by N.Design Studio
RSS Feeds