I just finished whipping up a quick little expense tracking app for Heather and me, and I'm again amazed at how wonderful the development experience is with FB3Lite, ColdSpring, and CFGroovy (Groovy and Hibernate for CFML). When I was finished with the core functionality, I couldn't figure out where the app was. There were my entities (in Groovy), my dsp_ files (in CFML), fbx_Switch.cfm, and a single CFC with a bunch of 1-3 line methods. It's absolutely ridiculous how much code Hibernate saves you from writing with it's three pronged attack: HQL, state-based persistence, and transitive persistence (in an out). It's further ridiculous how much code Groovy saves you in implementing entities. With those two in place, CFML simply shines implementing the UI layer (with a snippet or three of Groovy in the mix). Oh, and it's fast.
Categories
- ajax (12)
- amazon (10)
- aside (21)
- biking (10)
- bluedragon (22)
- cfml (141)
- coldfusion (98)
- css (3)
- database (18)
- development (141)
- eclipse (3)
- flex (27)
- fusebox (22)
- golf (1)
- gpsracr (4)
- grails (2)
- groovy (66)
- iphone (6)
- java (19)
- javascript (31)
- jfission (6)
- meta (81)
- neuromancer (6)
- orm (8)
- osx (4)
- personal (126)
- potd (8)
- project euler (6)
- railo (19)
- random (18)
- sudoku (5)
- tools (113)
- wordpress (16)
Archives
- January 2012 (1)
- December 2011 (1)
- November 2011 (2)
- October 2011 (1)
- September 2011 (2)
- August 2011 (1)
- July 2011 (1)
- June 2011 (1)
- May 2011 (11)
- April 2011 (1)
- March 2011 (1)
- February 2011 (1)
- January 2011 (4)
- December 2010 (2)
- October 2010 (1)
- September 2010 (4)
- August 2010 (3)
- July 2010 (4)
- June 2010 (1)
- May 2010 (8)
- April 2010 (11)
- March 2010 (17)
- February 2010 (7)
- January 2010 (8)
- December 2009 (1)
- November 2009 (4)
- October 2009 (4)
- September 2009 (9)
- August 2009 (6)
- July 2009 (6)
- June 2009 (6)
- May 2009 (19)
- April 2009 (28)
- March 2009 (19)
- February 2009 (7)
- January 2009 (17)
- December 2008 (12)
- November 2008 (6)
- October 2008 (9)
- September 2008 (11)
- August 2008 (6)
- July 2008 (14)
- June 2008 (13)
- May 2008 (11)
- April 2008 (14)
- March 2008 (2)
- February 2008 (2)
- January 2008 (6)
- December 2007 (7)
- November 2007 (16)
- October 2007 (9)
- September 2007 (15)
- August 2007 (8)
- July 2007 (23)
- June 2007 (18)
- May 2007 (3)
- April 2007 (7)
- March 2007 (3)
- February 2007 (5)
- January 2007 (1)
- December 2006 (9)
- November 2006 (11)
- October 2006 (15)
- September 2006 (1)
- August 2006 (6)
- July 2006 (5)
- June 2006 (4)
- May 2006 (4)
- April 2006 (17)
- March 2006 (3)
- February 2006 (1)
- January 2006 (4)
- December 2005 (4)
- November 2005 (3)
- October 2005 (6)
- September 2005 (10)
- August 2005 (4)
- July 2005 (8)
- June 2005 (7)
- May 2005 (5)
- April 2005 (4)
- March 2005 (5)
- February 2005 (1)
- January 2005 (6)
- December 2004 (18)
- November 2004 (8)
- October 2004 (7)
- September 2004 (4)
- August 2004 (2)
- June 2004 (4)
- May 2004 (5)
- April 2004 (6)
- March 2004 (10)
- February 2004 (6)
© 2011-2023 Barney Boisvert
Have you published any of this to RIAForge yet?
Barney,
First off I took a look at the CFGroovy project and I have to say great work so far. In all of your examples I saw way to sprinkle groovy throughout the code but no examples of way to use it as the model. Is there a way to remove my components and use it as the model? The one problem I have with CFC's (should be better in CF9) is that they are way to verbose for my liking. Either way keep up the great work and any little apps that you could post that show CFGroovy in the wild would help those of us interested in using it. Keep up the great work!
Ray,
No, I haven't. Last time I looked (which was long ago, admittedly), there wasn't Trac or Fisheye or anything like that for browsing the repositories. So I host everything myself.
Dan,
Did you pull down the demo app? If so, the User List example (http://barneyb.com/cfgroovy/?page=userlist_annotated) is a simple demo of using Groovy as the domain model and persisting with Hibernate.
I keep building these apps that aren't really suitable for public consumption, either because they only make sense with a significant context or they're private in nature. One of these days I'll build something that I can share.
Barney,
Kudos to you, this really is a great demo! Installed on my machine with no problems whatsoever, thanks for your efforts.