ColdFusion Web Log Entries
Caching ColdFusion Component Methods Has Negligible Performance Improvements
Posted: October 28, 2009 at 8:52 AM by Ben Nadel
One thing that I find intriguing about inheritance in Javascript is that it is object-based. Meaning, you inherent from an actual object instance, not from a class. This is known as Prototypal inheritance, sometimes referred as differential inheritance, in which your class contains only that which differs from your prototype object. In this form o... read more »
Comments (17) | Post Comment | Ask Ben | Permalink
My BFusion / BFLEX Keynote Address
Posted: October 24, 2009 at 2:11 PM by Ben Nadel
I just finished my portion of the BFusion / BFLEX keynote address and got some really great feedback. A few people even asked for a copy of my speech. Here is what I wrote: . . . A few weeks ago, I attended a meeting hosted by the NYCUPA, which is the New York City chapter of the UPA - the Usability Professional's Association. This particular ... read more »
Comments (16) | Post Comment | Ask Ben | Permalink
Building Single-Page Applications Using jQuery And ColdFusion With Ben Nadel (Video Presentation)
Posted: October 9, 2009 at 2:41 PM by Ben Nadel
The following video and slide show is my presentation: Building Single-Page Applications With jQuery and ColdFusion . Building a single-page application is a radical shift from the request-response lifecycle that many of us are used to. Not only does it require an excellent Javascript abstraction layer like jQuery, it necessitates a more co... read more »
Comments (23) | Post Comment | Ask Ben | Permalink
Adobe Officially Releases ColdFusion 9 - The Newest, Most Powerful ColdFusion Server (Saucy)
Posted: October 5, 2009 at 9:07 AM by Ben Nadel
This morning, I was both thrilled and surprised to find out that Adobe has officially released ColdFusion 9 - the latest and most powerful ColdFusion application server. Over the past few months, I have been blogging a lot about the ColdFusion 9 public beta and all of the new features that it makes available; and, after months of experimenting, d... read more »
Comments (21) | Post Comment | Ask Ben | Permalink
Parsing Invalid HTML Into XML Using ColdFusion, Groovy, And TagSoup
Posted: September 30, 2009 at 2:26 PM by Ben Nadel
I try to write my HTML as XHTML-compliant as possible, which makes it a subset of XML; but, that's not always easy or possible and often times the HTML that we deal with is downright dirty. As such, it makes parsing the HTML into a usable data structure a total nightmare! As part of my exploration of Groovy, I wanted to see if ColdFusion could lev... read more »
Comments (7) | Post Comment | Ask Ben | Permalink
Thoroughly Document Your Use Of ColdFusion's CFHTMLHead Tag
Posted: September 29, 2009 at 10:12 AM by Ben Nadel
The other day on Twitter, I saw someone tweet about how they just discovered ColdFusion's CFHTMLHead tag and was planning to use it in a project. This gave me flash backs to a project I took over in which the CFHTMLHead tag was being used all over the place. Having not known about this tag at the time, I thought I was going crazy!! Stuff was showi... read more »
Comments (14) | Post Comment | Ask Ben | Permalink
Ask Ben: Displaying A Blog Teaser (Showing The First N Words)
Posted: September 23, 2009 at 10:22 AM by Ben Nadel
Hi Ben, I am writing from London, United Kingdom. How can I display the first 50 words of a blog post as a teaser using some jQuery code snippet? I gotta follow you on twitter. cheers. I know you asked to see this as a jQuery code snippet - and I will get to that - but first, I want to approach this from a ColdFusion view point. I think it makes ... read more »
Comments (32) | Post Comment | Ask Ben | Permalink
Ask Ben: Parsing Nested Lists With A Single Delimiter In ColdFusion
Posted: September 22, 2009 at 10:17 AM by Ben Nadel
Ben, How would I go about splitting a list into multiple lists? For example I have a list: 07/08/2009|1,573,067.20|8/8/2009|1,563,000.20 This list can be infinite in values but will always contain a date/amount combination. I need to split these into lists of 2 one date/amount lists. Seems like it should be easy enough to do but I think I have b... read more »
Comments (6) | Post Comment | Ask Ben | Permalink
Ask Ben: Creating ColdFusion Templates On The Fly
Posted: September 21, 2009 at 9:42 AM by Ben Nadel
Hi Ben, frequent reader, first time writer. I'd be surprised if this hasn't been asked yet, but can't seem to find the answer anywhere. I'm trying to figure out a way to allow an application to build basic Coldfusion pages on the fly. i.e. this is a simple CMS that I'm building for someone, where actual page templates are 10 lines long and have a ... read more »
Comments (11) | Post Comment | Ask Ben | Permalink
Groovy Operator Overloading Does Not Work In The ColdFusion Context
Posted: September 18, 2009 at 10:15 AM by Ben Nadel
Disclaimer : I just started looking into Groovy so a lot of this might be dead wrong. When I watched Barney Boisvert talk about Groovy, one of the first things that I wanted to try was operator overloading. It's been a really long time since I've played around with a programming langauge that even allowed it, so the prospect of implicitly ... read more »
Comments (7) | Post Comment | Ask Ben | Permalink
Instantiating Groovy Classes In The ColdFusion Context
Posted: September 17, 2009 at 9:49 AM by Ben Nadel
Disclaimer : I just started looking into Groovy so a lot of this might be dead wrong. When I saw Barney Boisvert demonstrate Groovy at CFUNITED, I became very interested in experimenting with it . One of the first things that I wanted to try was defining classes in Groovy and then using them in ColdFusion. The problem, however, is that t... read more »
Comments (5) | Post Comment | Ask Ben | Permalink
String Data Type Gotcha When Using CFGroovy
Posted: September 14, 2009 at 10:19 AM by Ben Nadel
I just started playing around with Barney Boisvert 's CFGroovy (2) Groovy script engine for ColdFusion . I attended Barney's CFUNITED presentation and was truly inspired; not only is Barney a ridiculously bright guy, this CFGroovy stuff looks really cool. I downloaded his scripts, starting playing, and within five minutes, I ran into my first r... read more »
Comments (5) | Post Comment | Ask Ben | Permalink
Ask Ben: Updating Columns In An Existing ColdFusion Query Object
Posted: September 14, 2009 at 8:17 AM by Ben Nadel
Hi Ben, I have a question:), Is there a way to update a result set that was generated using QuerySetCell. I have a recordset that gets some null values. After the temporary table has been generated, I want to update the empty strings with 0. Is there a way to update query of queries or tables generated by querySetCell method. Thanks. I'm really g... read more »
Comments (2) | Post Comment | Ask Ben | Permalink
Running UPDATE And DELETE SQL Statements Using ColdFusion Query Of Queries
Posted: September 12, 2009 at 7:57 AM by Ben Nadel
This blog post is a proof of concept that was inspired by an " Ask Ben " question. Someone contacted me and asked me how to update the columns in a query that were left blank during the manual creation of a query using ColdFusion's QueryNew(), QueryAddRow(), QueryAddColumn() methods. I started to answer this person, explaining to them that they ha... read more »
Comments (15) | Post Comment | Ask Ben | Permalink
Maintaining ColdFusion Sessions Across SMS Text Message Requests Without Cookies
Posted: September 10, 2009 at 8:14 PM by Ben Nadel
One of the great features of ColdFusion that makes programming so easy is the way in which ColdFusion seamlessly maintains user Sessions across multiple page requests. It can do this by automatically setting and parsing session cookies; or, it can grab user-supplied session tokens from the URL. In either case - cookies or URL parameters - ColdFusi... read more »



