ColdFusion Web Log Entries

Showing 16 - 30 of 1202   < Prev | Next >

Caching ColdFusion Component Methods Has Negligible Performance Improvements

Posted: October 28, 2009 at 8:52 AM by Ben Nadel

Tags: ColdFusion

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

Tags: ColdFusion, Life

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

Tags: ColdFusion, Javascript / DHTML

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

Tags: ColdFusion

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

Tags: ColdFusion

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

Tags: ColdFusion

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

Tags: Ask Ben, ColdFusion, Javascript / DHTML

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

Tags: Ask Ben, ColdFusion

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

Tags: Ask Ben, ColdFusion

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

Tags: ColdFusion

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 (6)  |  Post Comment  |  Ask Ben  |  Permalink


Instantiating Groovy Classes In The ColdFusion Context

Posted: September 17, 2009 at 9:49 AM by Ben Nadel

Tags: ColdFusion

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

Tags: ColdFusion

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

Tags: Ask Ben, ColdFusion

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

Tags: ColdFusion

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

Tags: ColdFusion

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 »

Comments (27)  |  Post Comment  |  Ask Ben  |  Permalink

Showing 16 - 30 of 1202   Pages: 1 2 3 4 5 6 7 8 9 10 » < Prev | Next >
Recent Blog Comments
Nov 20, 2009 at 11:32 PM
Five Months Without Hungarian Notation And I'm Loving It
I've used headless camel case for years for not only ColdFusion variables, but also SQL tables and fields... pretty much everything involving code. I also subscribe to the "don't abbreviate and clea ... read »
Nov 20, 2009 at 11:00 PM
Five Months Without Hungarian Notation And I'm Loving It
@Marcel, Yeah, I always err on the side of longer but more readable variable names. As for the camel casing of CF methods and the headless camel casing of custom items, I get around this by always ... read »
Nov 20, 2009 at 10:56 PM
Five Months Without Hungarian Notation And I'm Loving It
I use the following and love it: my.namespace.MyComponents.functionMethodsOrUDF() CONSTANT_VALUES_OR_PROPERTIES One thing I always try is to CamelCaseBuiltInColdFusionFunctions() so others can tell ... read »
Nov 20, 2009 at 5:38 PM
Learning ColdFusion 8: CFImage Part I - Reading And Writing Images
Hi Ben, Great article. I've been looking around to see if ColdFusion image engine can programatically create the following "wrap around" effect: http://www.creativepro.com/article/photoshop-s-she ... read »
Nov 20, 2009 at 5:35 PM
Maintaining ColdFusion Sessions Across SMS Text Message Requests Without Cookies
@Dave: I talked to Gert he suggested: <cfhttp method="get" url="http://{some cf website}" result="stuff" addtoken="yes" /> Note the addition of cfhttp attribute addtoken. That should persist y ... read »
Nov 20, 2009 at 5:23 PM
Maintaining ColdFusion Sessions Across SMS Text Message Requests Without Cookies
@Todd, Ahh, gotcha, yeah that makes sense. ... read »
Nov 20, 2009 at 5:17 PM
Maintaining ColdFusion Sessions Across SMS Text Message Requests Without Cookies
Ben, sorry if I didn't make this clear. You can make it work like that if you want, just put <cfset session.foo = 1> (and <cfset application.foo = 1>) in your OnRequestStart() and it reve ... read »