ColdFusion Web Log Entries

Showing 1 - 15 of 1194   < Prev | Next >

How To UN-Unformat Your Code (Like A Pro)

Posted: November 6, 2009 at 4:50 PM by Ben Nadel

Tags: ColdFusion

After my previous post on how to quickly and easily take my style of formatting and strip it out of ColdFusion code , some people suggested that I make a function that goes back the other way (adding my style of formatting into ColdFusion code). While I love this concept, the problem is actually quite a bear! Removing formatting doesn't really re... read more »

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



How To Unformat Your Code (Like A Pro)

Posted: November 6, 2009 at 10:04 AM by Ben Nadel

Tags: ColdFusion

At this past CFUNITED, big Dan Vega told me about a little project he wanted to show in the Demo Derby. The conversation went a little something like this (in meaning, not word for word): Ben, I love using your code; but I hate that it takes me 30 minutes to remove all of your freaking formatting. So, I'm trying to create a ColdFusion Builder (... read more »

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


Matching Multi-Line Regular Expression Patterns In MULTILINE Mode (?m)

Posted: November 5, 2009 at 2:04 PM by Ben Nadel

Tags: ColdFusion

This morning, I was (and am still) having a problem getting some MULTILINE regular expression patterns to match properly. As such, I wanted to put a quick blog post together as a sanity check for myself. As I have blogged about before , when a Java regular expression is running in multiline mode (as denoted by the "?m" flag), the "^" and "$" expr... read more »

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



Tracking Request Volume Based On IP Addresses In ColdFusion

Posted: November 4, 2009 at 2:44 PM by Ben Nadel

Tags: ColdFusion

This much less a "how to" post and much more just a " thinking out loud " post. I don't really know if I even like what I came up with; but, I figured I would put it out here in case it lead to some good conversations. In the wake of some spam comments on my site, I started to think about tracking the IP addresses of requests in ColdFusion in orde... read more »

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


IIS MOD-Rewrite: R6016 Not Enough Space For Thread Data

Posted: November 3, 2009 at 7:58 PM by Ben Nadel

Tags: ColdFusion

This is just a quick note to anyone who comes across this error. I just upgraded my blog to use IIS MOD-Rewrite using the PATH_INFO approach and when I started running the IIS MOD-Rewrite installer on my server, I got the following Microsoft Visual C++ RunTime error: R6016 Not Enough Space For Thread Data The IIS service was running at the t... read more »

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


Using IIS URL Rewriting And CGI.PATH_INFO With IIS MOD-Rewrite

Posted: November 3, 2009 at 10:45 AM by Ben Nadel

Tags: ColdFusion

Previously, I explored the concept of using URL rewriting with IIS and IIS MOD-Rewrite in order to make ColdFusion's OnMissingTemplate() event handler more effective . This worked fine with some fenagling, but Justice suggested that I take a look at using PATH_INFO. I've only briefly looked into PATH_INFO before, but one thing that I do like ab... read more »

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


Learning ColdFusion 9: Iterating Over Pseudo XML Node Wrappers With CFLoop

Posted: October 31, 2009 at 1:24 PM by Ben Nadel

Tags: ColdFusion

For several versions of ColdFusion, we have been able to reference groups of XML nodes using pseudo node wrappers and struct and array notation. This has been a useful shorthand when extracting node data from an XML document; but, about two years ago, I found out that these pseudo node wrappers could not be used in conjunction with ColdFusion 8's... read more »

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


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 (30)  |  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

Showing 1 - 15 of 1194   Pages: 1 2 3 4 5 6 7 8 9 10 » < Prev | Next >
Recent Blog Comments
Jill
Nov 7, 2009 at 11:40 AM
How To Unformat Your Code (Like A Pro)
Derek, I think you might be right - sweet! Thanks for the link :) ... read »
Nov 7, 2009 at 11:25 AM
How To Unformat Your Code (Like A Pro)
I think it would be way easier to just use this http://www.logichammer.com/html-formatter/ He just released v3 and it rocks. ... read »
Jill
Nov 7, 2009 at 7:58 AM
How To Unformat Your Code (Like A Pro)
LMAO - this was pretty funny! I have to admit - I also love to reformat code so I can read it. My boss used to tell me to leave my OCD at home. Now I don't feel so bad after reading everyone else' ... read »
Nov 6, 2009 at 10:10 PM
How To Unformat Your Code (Like A Pro)
The timing of this post is just uncanny. I spent the last 15-20 minutes manually un-formatting my "Ben Nadel" style code within a CFC of mine. I was really digging the readability a few weeks ago, bu ... read »
Roe
Nov 6, 2009 at 5:11 PM
Passing Arrays By Reference In ColdFusion - SWEEET!
ArraySort also reorders the results of these java obj's ... read »
Nov 6, 2009 at 4:53 PM
How To Unformat Your Code (Like A Pro)
I tried to go *back* the other way. Adding formatting is actually a much more complicated problem than removing formatting. Anyway, here is what I could put together with a minimal amount of time: ... read »
Asaf
Nov 6, 2009 at 2:35 PM
ColdFusion GetPageContext() Massive Exploration
Hi, I actually found this post useful. I recently acquired a SSL certificate for my website and when I switched over to HTTPS Internet Explorer would throw an error when trying to download a dynamic ... read »
Nov 6, 2009 at 2:19 PM
How To Unformat Your Code (Like A Pro)
@Chuck, @Nathan, Well, now I feel like it's a challenge.... I accept. ... read »