ColdFusion ER: Custom Function Metadata
Something I’ve wanted to do for years in coldfusion is return custom created metadata from functions in the same way that the query datatype is able to return metadata. eg: bob = queryNew("one,two,three"); writedump(bob) // returns the query object writedump(bob.recordcount) // returns the number of records (metadata) So in functions I’d love to be able to do the following (or if someone has a better implementation) public string function getAllMembers()...
Read MoreGoodbye Tomcat… CFML & GlassFish…
I’ve been using tomcat with CFML engines for a while now. Let’s be honest, Tomcat sucks in so many annoying ways. So I’m now using the community OS version of Glassfish v3, and to be honest I’m really pleased with the results. You just drop the .war files into the web gui (did someone say gui! – or you can use the cli) and before you know it you’ve got all three CFML engines on one box, better yet it’s super easy to configure on any platform, and for...
Read MoreColdfusion 10 (CFX) Live Wishlist
Here’s a start on what I’d like to see in ColdFusion 10 and beyond… Updated 2 May 2011… valueList() function: add startrow and maxrows OR startrow and endrow params so you can filter it without having to loop add another attribute to cfloop and cfoutput (name=bla?) so that you could reference a particular tag for getting your valuelist add nullValue AND emptyValue parameters to allow a value to be set if the value is null to set each row’s parameter to a default...
Read More
Recent Comments