May 2008 Web Log Entries

Showing 1 - 9 of 9   < Prev | Next >

Object Oriented Data Validation And Error Message Translation

Posted: May 9, 2008 at 2:50 PM by Ben Nadel

Tags: ColdFusion

Yesterday, I discussed that as I am learning more and more about Object Oriented Programming (OOP) in ColdFusion, one of the biggest mental hurdles seems to be data validation. Well, data validation and the translation of data errors into user-friendly error messages. I talked about how the translation cannot be made in the Model because that wo... read more »

Comments (9)  |  Post Comment  |  Ask Ben  |  Live Chat (Beta)  |  Permalink



More On Data Validation - Translating Error Messages

Posted: May 8, 2008 at 9:13 AM by Ben Nadel

Tags: ColdFusion

I am still trying to wrap my head around things like MVC (model-view-controller) and OOP (object oriented programming) and cf.Objective() has really brought that back into the spotlight. One of the largest road blocks in my journey to understanding it all is the processing of data validation and reporting errors. I gather that a smart bean will ... read more »

Comments (22)  |  Post Comment  |  Ask Ben  |  Live Chat (Beta)  |  Permalink


CFDirectory Filtering Uses Pipe Character For Multiple Filters (Thanks Steve Withington)

Posted: May 7, 2008 at 9:47 AM by Ben Nadel

Tags: ColdFusion

After I just posted about how the CFDirectory tag can use the single-character wild card , "?", in its filtering, Steve Withington came in and demonstrated that you can also use the pipe character, "|", to use multiple filters in the same CFDirectory tag. After reading this, I went to the ColdFusion 8 docs but didn't see this listed or mentione... read more »

Comments (4)  |  Post Comment  |  Ask Ben  |  Live Chat (Beta)  |  Permalink



ColdFusion CFMailParam's New "Content" Attribute Is Awesome

Posted: May 7, 2008 at 9:23 AM by Ben Nadel

Tags: ColdFusion

As part of the ColdFusion 8.0.1 updater, the CFMailParam tag can now attach files to an email using the Content attribute. When using this, the CFMailParam takes a File attribute and the Content attribute. In this case, the File attribute provides the name of the file as it will appear in the mail attachments list, not the path of the file on the ... read more »

Comments (0)  |  Post Comment  |  Ask Ben  |  Live Chat (Beta)  |  Permalink


CFDirectory Filtering Uses Single Character Wild Card

Posted: May 7, 2008 at 8:21 AM by Ben Nadel

Tags: ColdFusion

Minor tip here, but over the weekend, at cf.Objective() , I was watching a presentation (I think it was Mark Mandel ) when I saw that someone was using a ColdFusion CFDirectory filter that had the "?" wild card. I knew that CFDirectory filtering could use the multi-character "*" wild card, but I am pretty sure I didn't know that it could use the... read more »

Comments (20)  |  Post Comment  |  Ask Ben  |  Live Chat (Beta)  |  Permalink


Work At Edit.com - The Website Maintenance Experts

Posted: May 6, 2008 at 1:40 PM by Ben Nadel

Tags: Work

My friends at Edit.com are looking for three people to join their team. Recently, I have had a chance to talk with David Ries and it sounds like they are building some really awesome applications over there; elastic clouds, on-demand services, project management systems, remote communication. I am always impressed with Dave's vision and his arch... read more »

Comments (2)  |  Post Comment  |  Ask Ben  |  Live Chat (Beta)  |  Permalink


Soft References In ColdFusion

Posted: May 6, 2008 at 8:39 AM by Ben Nadel

Tags: ColdFusion

At cf.Objective() , Mark Mandel held a presentation on the caching mechanisms and algorithms he uses in his Transfer ORM project . In it, he talked about his use of Soft References. A soft reference, as opposed to a hard reference, is a reference to an object that does not get flagged as a "use" of that object. When the JVM cleans up all the g... read more »

Comments (7)  |  Post Comment  |  Ask Ben  |  Live Chat (Beta)  |  Permalink


cf.Objective() 2008: Walking Among Giants

Posted: May 5, 2008 at 9:24 AM by Ben Nadel

Tags: ColdFusion

As a child, I remember laying out on hot summer nights and staring up at the sky. I wasn't in a city then, so the stars, unobstructed, would spread out far beyond my periphery in infinite arrangements. The sky seemed so big to me then - so incomprehensibly vast; its endless expanse always made me feel small, but not in a negative way - not small a... read more »

Comments (27)  |  Post Comment  |  Ask Ben  |  Live Chat (Beta)  |  Permalink


Updated CFHttpSession.cfc With Spoofed Referer Can Log Into PayPal

Posted: May 1, 2008 at 9:30 AM by Ben Nadel

Tags: ColdFusion

Yesterday, Steve Stout brought it to my attention that my CFHttpSession.cfc ColdFusion component does not use any Referer spoofing. When I read that, I almost couldn't believe my eyes; I have spent a good amount of my time playing around with CFHttp and CFHttpParam and the fact that I forgot to put in referral spoofing blows my mind a little b... read more »

Comments (10)  |  Post Comment  |  Ask Ben  |  Live Chat (Beta)  |  Permalink

Showing 1 - 9 of 9   Pages: 1 < Prev | Next >

April 2008 Entries »


Home   |   Web Log   |   ColdFusion   |   Projects   |   Resume   |   Job Form   |   Search   |   Contact
Epicenter Consulting - Custom Software Solutions for Business Evolution HostMySite.com - The Leader In ColdFusion Hosting