Recent Web Log Entries By Ben Nadel
ColdFusion and OOP - Match Made in Heaven, or Long Road to Hell?
Posted: July 14, 2009 at 10:45 AM by Ben Nadel
For a long time, Hal Helms has been my beacon of hope in the world of object oriented programming madness. With many years of OO programming experience across a variety of different languages, I thought, some how, if I could just understand the concepts that he did, I would finally be able to wrap my head around the beast which is OO. As such, I... read more »
Comments (0) | Post Comment | Ask Ben | Permalink
Learning ColdFusion 9: Ternary Operator Works Around Implicit Array Bug
Posted: July 14, 2009 at 9:57 AM by Ben Nadel
Earlier this week, I examined the updated implicit array and implicit struct creation functionality in ColdFusion 9 . While they provide awesome functionality, I was a little disappointed to find out that there is still some sort of improper order of operations in which the left-hand variable is being defined before the right-hand expression is e... read more »
Comments (2) | Post Comment | Ask Ben | Permalink
Learning ColdFusion 9: The Ternary Operator
Posted: July 14, 2009 at 9:10 AM by Ben Nadel
If you've ever programmed in another language (such as Javascript), I'm sure that you've seen the Ternary Operator; it's a decision making operator that requires three operands: condition, true statement, and false statement that are combined using a question mark (?) and a colon (:): ((condition) ? trueStatement : falseStatement) To me, the ter... read more »
Comments (8) | Post Comment | Ask Ben | Permalink
Learning ColdFusion 9: Application-Specific Data Sources
Posted: July 13, 2009 at 10:27 AM by Ben Nadel
As I stated in my blog post on ColdFusion 9 implicit struct and array usage , I think that it's sometimes the little feature upgrades that make the biggest difference in the long run. Another little feature in ColdFusion 9 that's going to make our lives a lot easier is the addition of application-specific data sources. While this application prop... read more »
Comments (10) | Post Comment | Ask Ben | Permalink
Learning ColdFusion 9: Implicit Struct And Array Usage
Posted: July 13, 2009 at 8:55 AM by Ben Nadel
ColdFusion first introduced implicit struct and array creation in ColdFusion 8 . For those of use who were used to using JSON (Javascript Object Notation) in Javascript and AJAX data tranfers, implicit struct and array creation represented a nice, clean, efficient way to define complex data structures. ColdFusion 8 definitely had some limitations... read more »
Comments (17) | Post Comment | Ask Ben | Permalink
Adobe Launches ColdFusion 9 And Bolt Public Betas
Posted: July 13, 2009 at 7:54 AM by Ben Nadel
Adobe just announced that they have released the public betas for both ColdFusion 9 and ColdFusion Builder (BOLT)! The news of this started to come out right before I went to sleep last night and I'll tell you, I was so excited I hardly slept a wink! I tossed and turned all night as images of l... read more »
Comments (14) | Post Comment | Ask Ben | Permalink
Presenting Ideas vs. Teaching Techniques
Posted: July 12, 2009 at 2:59 PM by Ben Nadel
I'm sitting in the office on this Sunday afternoon working on my CFUNITED presentation, Advanced ColdFusion Custom Tags. I started working on this presentation many months ago because I had to get it ready for CFUNITED Express - New York City. In the months between then and cf.Objective() (another ColdFusion conference out in Minnesota), I was nev... read more »
Comments (17) | Post Comment | Ask Ben | Permalink
Ask Ben: CFImage And Dynamic Image Compression With File Size Limits
Posted: July 10, 2009 at 9:19 PM by Ben Nadel
Thanks so much! Still wish there was a function that would get the image's quality to see whether it needs to be reduced or not. Apparently, the way the quality attribute works is that if set at say .8, it reduces the existing quality by 20%. If user has already reduced quality before uploading, then setting quality to .8 or something reduces it e... read more »
Comments (11) | Post Comment | Ask Ben | Permalink
Video Presentation: Manipulating XML With jQuery
Posted: July 10, 2009 at 10:24 AM by Ben Nadel
NOTE : Right now, the following examples only work in Mozilla-based browsers (meaning, not in IE). I am working on an update that is IE-compatible. We all know that jQuery is the most awesome Javascript library around. Every day, we are using jQuery to create richer, more dynamic, more effective user experiences on the web and in our AIR app... read more »
Comments (8) | Post Comment | Ask Ben | Permalink
How To Move XML Data Into A Database Using ColdFusion
Posted: July 9, 2009 at 9:14 PM by Ben Nadel
This blog post was inspired by an " Ask Ben " question that never made it to the blog. A reader had an XML document and understood how to read in XML files and how to run queries using CFQuery, but wasn't sure quite how to connect the two actions together. As with many problems, there are large number of solutions available. Some of them don't eve... read more »
Comments (5) | Post Comment | Ask Ben | Permalink
REStructFindValue() - Adding Regular Expression Searching To StructFindValue()
Posted: July 9, 2009 at 10:08 AM by Ben Nadel
In my previous blog post on creating a unified interface for iterating over structs and arrays in ColdFusion , I mentioned that I had been talking to Marc Esher on Twitter. We had been talking about adding regular expression (RegEx) search capabilities to ColdFusion's StructFindValue() function. I had needed the unified iteration tag because th... read more »
Comments (12) | Post Comment | Ask Ben | Permalink
Each: Unified Struct And Array Iteration In ColdFusion
Posted: July 9, 2009 at 8:53 AM by Ben Nadel
The other day, I was talking to Marc Esher on Twitter about creating better StructFindValue() functionality in ColdFusion. Specifically, he wanted to add regular expression searching such that a target value could simply match a pattern rather than an entire string. I decided to see if I could build the desired functionality and quickly found th... read more »
Comments (5) | Post Comment | Ask Ben | Permalink
Object Oriented CSS (OOCSS) By Nicole Sullivan
Posted: July 8, 2009 at 9:55 AM by Ben Nadel
Last night, I watched a 49 minute presentation by Nicole Sullivan on something she calls "Object Oriented CSS" or "OOCSS." In simple terms, Object Oriented CSS is a methodology or framework (whichever you prefer) for organizing and extending your CSS in a way that is lightweight, highly performant, and easily used by developers at all skill leve... read more »
Comments (18) | Post Comment | Ask Ben | Permalink
Nora Ephron vs. Meg Ryan: What Is That We Love?
Posted: July 7, 2009 at 10:19 AM by Ben Nadel
For years, I really loved Meg Ryan. I still like her, of course, but when I was younger, I definitely held her on some sort of a pedestal. She stood out from the other actresses of her time as being just fun and adorable and super lovable. And for years, I just assumed it was all due to her inherent goodness. But like any actor, she's also made so... read more »
Comments (17) | Post Comment | Ask Ben | Permalink
Manipulating Session Cookies In Application.cfc's Pseudo Constructor Triggers New Session Creation
Posted: July 7, 2009 at 9:06 AM by Ben Nadel
So last night I was laying in bed thinking about ColdFusion session cookies when it occurred to me that I didn't know what would happen if I manipulated session cookies from within the pseudo constructor of the Application.cfc. Even more disturbing was that I realized that I didn't even know when the session cookies were applied! Did ColdFusion re... read more »
Comments (14) | Post Comment | Ask Ben | Permalink
Previously Posted
Project HUGE: Huge In A Hurry - Get Big - Phase 3 / Week 2 - Posted Jul 6, 2009
Ask Ben: Building A jQuery And ColdFusion Rating System - Posted Jul 6, 2009
Project HUGE: Huge In A Hurry - Get Big - Phase 3 / Week 1 - Posted Jul 3, 2009
Create A Running Average Without Storing Individual Values - Posted Jul 3, 2009
Adobe Announces That HomeSite Is Officially Dead - Posted Jul 3, 2009
ColdFusion 8's OnMissingTemplate() - So Close To Being Good - Posted Jul 1, 2009
Ask Ben: Overriding Core jQuery Methods - Posted Jun 30, 2009
Ask Ben: Detecting When DOM Elements Have Been Removed With jQuery - Posted Jun 30, 2009
Thirty Years Of Pain: A History Of The World's Strongest Man DVD - Posted Jun 26, 2009
Ask Ben: Formatting A Date Span In ColdFusion - Posted Jun 25, 2009
Strong: The Movie - A Documentary About Joe DeFranco's Gym - Posted Jun 24, 2009
Caching ColdFusion Pages With Expires Header Value - Posted Jun 24, 2009
Ask Ben: Converting Javascript Variables Into ColdFusion Variables - Posted Jun 22, 2009
Voiding Click Events Implicitly With jQuery Plugin: voidClick() - Posted Jun 19, 2009
Scripts Tags Get Moved Only During Window DOM Node HTML Injection - Posted Jun 19, 2009
ColdFusion CreateTimeSpan() And CFLoop (via Ray Camden) - Posted Jun 18, 2009
Why My Queries Hate Application Service Layers - Posted Jun 18, 2009
ColdFusion Tag Parameters Can Be Included In Separate Files (Thanks Mark Drew!) - Posted Jun 17, 2009
AxisFault: ColdFusion Web Services And XML Data Types - Posted Jun 15, 2009
Preventing Default Actions In A Bubbled Event In jQuery - Posted Jun 12, 2009
A Problem With My Coding Methodology That's Driving Me Crazy - Posted Jun 12, 2009
Ben Forta At The NYCFUG: ColdFusion Centaur, Bolt, And Flash Tour - Posted Jun 11, 2009
ColdFusion 8 Application Specific Mappings Work With The CFComponent Extends Attribute - Posted Jun 11, 2009
Project HUGE: Huge In A Hurry - Get Big - Phase 2 / Week 3 - Posted Jun 10, 2009
Ask Ben: Dynamic Form Field Population With jQuery - Posted Jun 10, 2009
jQuery AJAX Strips Script Tags And Inserts Them After Parent-Most Elements - Posted Jun 9, 2009
Using Script Tags As Data Contains In AJAX-Powered jQuery - Posted Jun 8, 2009
jQuery And Script Tags As Data Containers - Posted Jun 5, 2009
GetHTTPRequestData() Breaks The SOAP Request / Response Cycle In ColdFusion - Posted Jun 5, 2009
SOAP Web Service Errors Are Handled Externally To The ColdFusion Application Framework - Posted Jun 4, 2009
Project HUGE: Huge In A Hurry - Get Big - Phase 2 / Week 2 - Posted Jun 2, 2009
Campaign Monitor API Connection Failure With CFHTTP And GZIP Compression - Posted Jun 2, 2009
June 1st 2009 - 2nd Annual (Inter)?National Regular Expression Day! - Posted Jun 1, 2009
Contextual CSS Is Good When You Know Everything About Your Content - Posted May 27, 2009
Converting To And From GMT / UTC Time In ColdFusion Using DateConvert() - Posted May 27, 2009
Converting To GMT And From GMT In ColdFusion For Use With HTTP Time Stamps - Posted May 26, 2009
My Journey Through cf.Objective() 2009 (And My Raffle Winner!) - Posted May 22, 2009
Ask Ben: Collecting And Relating Sibling XML Nodes In A ColdFusion XML Document - Posted May 22, 2009
Getting IFRAME Window (And Then Document) References With contentWindow - Posted May 22, 2009
Ask Ben: Print Part Of A Web Page With jQuery - Posted May 21, 2009



