Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
I am the chief technical officer at InVision App, Inc - a prototyping and collaboration platform for designers, built by designers. I also rock out in JavaScript and ColdFusion 24x7.
Meanwhile on Twitter
Loading latest tweet...
Ben Nadel at CFUNITED 2010 (Landsdown, VA) with: Josh Highland

Marc

Member since Dec 11, 2008

Recent Blog Comments By Marc

  • Ask Ben: Simple Data Caching In ColdFusion

    Posted on Apr 20, 2008 at 9:26 AM

    ...Solved, Just before where I do a call to the function in the cfc I did a cfinvoke and called on the resultvar of that operation. The init() method had not been invoked. I did this because Godaddy is not supporting Createobject() so I had to rewrite parts of the app and obviously didn't bother t... read more »

  • Ask Ben: Simple Data Caching In ColdFusion

    Posted on Apr 20, 2008 at 6:04 AM

    Hi Ben, It seems Coldfusion does not implement an init function like I expect it to... Here's what I do. in Application.cfm: <cfset APPLICATION.objects.db = CreateObject('component','components.db').init(dsn_users='users',dsn_guestbook="guestbook",dsn_irama="irama",maxStringLength=25)> in ... read more »

  • Happy Medium Between Generic Getters / Setters And Property Methods

    Posted on Apr 10, 2008 at 10:14 AM

    Oops... <cfset t=CreateObject("component","A"> should be <cfset t=CreateObject("component","A").init()> Now the cfdump in the component and the cfdump from the returned struct are identical. Btw If I place this:<cfset THIS.init()> in the component before the init() method (to get i... read more »

  • Happy Medium Between Generic Getters / Setters And Property Methods

    Posted on Apr 10, 2008 at 6:00 AM

    Hi Ben, Cool! I toyed a littlek with GetMetaData(THIS): A.cfc : <cfcomponent displayname="testcomponent" extends="C"> <cffunction name="init" access="public" returntype="struct" output="true"> <cfset t=GetMetaData(THIS)> <cfdump var="#t#" label="#CGI.SCRIPT_NAME#"> </cff... read more »

  • Passing Referer AS ColdFusion CFHttp CGI Value vs HEADER Value?

    Posted on Apr 8, 2008 at 7:38 AM

    The difference between type="CGI" and type="HEADER" is that the former gets urlencoded by default, the latter not. If I add encoded="false" to type="CGI" the two are identical. To get an overview of CGI variables that you can modify and CGI variables that are not modifyable do this: in test1.cfm: ... read more »

  • Passing Referer AS ColdFusion CFHttp CGI Value vs HEADER Value?

    Posted on Apr 8, 2008 at 5:57 AM

    I try to do this with the CGI.REMOTE_ADDR but it doesn't work. If I do this: <cfhttp method="post" url=" http://mytestdomain.com/iptest.cfm " result="result"> <cfhttpparam type="CGI" name="remote_addr" value="92.63.154.23" encoded="false"> </cfhttp> <cfoutput>#resul... read more »