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 Scotch On The Rock (SOTR) 2010 (London) with: James Allen

Adam Ness

Member since Dec 11, 2008

Recent Blog Comments By Adam Ness

  • Thoughts On User / Page Request Security Model

    Posted on May 4, 2009 at 9:46 AM

    @Ben, For other OO languages, I would suggest starting to do some Flex. ActionScript is a very powerful OO language, fully typed and everything like Java, and without the object instantiation penalty of CF. Besides, things you build in Flex can act as front-ends to your CF apps very easily.... read more »

  • Thoughts On User / Page Request Security Model (Part II)

    Posted on May 3, 2009 at 12:42 PM

    @Steve, I tend to think of those as two separate activities, but I hadn't really considered that the second would be considered "Workflow". I tend to call them "Authentication" (where the user's identity is verified), and "Authorization" (where a user's credentials are validated against various ru... read more »

  • Thoughts On User / Page Request Security Model

    Posted on May 1, 2009 at 8:12 PM

    @Ben, In general, it comes back to my statement about "that knowledge has nothing to do with being a Bill". I suppose it depends on your application. In general, your objects should be pretty limited in scope. They should only have the information and methods that pertains to what they are (fro... read more »

  • Thoughts On User / Page Request Security Model (Part II)

    Posted on May 1, 2009 at 2:29 PM

    Target kind of depends on what your application's security model is. Lets say you're talking about a standard e-commerce application, shopping cart, etc. You could make the choice to make target be one (or more) of many choices: - Each item, if you want to lock some items so that they are editab... read more »

  • Thoughts On User / Page Request Security Model

    Posted on May 1, 2009 at 1:28 PM

    @ben actually, I disagree with your assertion about "Idealized" objects. I wouldn't give a Bill object knowledge of where it had been, because that knowledge has nothing to do with being a Bill. I would instead create a BillTravelLog object which records a Bill and a collection of owners.... read more »

  • Thoughts On User / Page Request Security Model

    Posted on Apr 30, 2009 at 4:52 PM

    Security isn't "one thing" which can easily managed by a single object. Security is comprised of user rights (which are attributes of a user), and Constraints (which prevent users from reading, writing, or executing some things) Think of the real world. We don't rely on people to say which houses... read more »

  • Thoughts On User / Page Request Security Model

    Posted on Apr 30, 2009 at 2:53 PM

    I've usually modeled this by using two different objects: One, the Access Control Service knows how to read the Permissions collection and determine whether a user has a given type of permission based on their permissions. This CFC is composed of a bunch of different functions which return boole... read more »

  • Is It Time For "Practical" Object Oriented Programming (OOP)?

    Posted on Mar 30, 2009 at 12:51 PM

    Oops, meant to say that MVC was more intuitive on the Desktop than on the Web...... read more »

  • Is It Time For "Practical" Object Oriented Programming (OOP)?

    Posted on Mar 30, 2009 at 12:50 PM

    A few people did bring up some good points about Language development. I'll tell you, nothing has helped me pick up OO, and the practicalities and theories of it as much as learning Flex/ActionScript, and poking around creating some C# dekstop apps and Java desktop apps. Sometimes having the for... read more »

  • Is It Time For "Practical" Object Oriented Programming (OOP)?

    Posted on Mar 30, 2009 at 11:01 AM

    While OO is a powerful tool, it's really just that, a tool in your toolbox. It's not the "be-all-end-all perfect way to develop any application". Not everything can be solved by OO, some things are inherently procedural. For example, my dirty little secret is that I really don't like using Mach... read more »

  • Experimenting With Flat-File ColdFusion CFML Caching

    Posted on Dec 5, 2008 at 12:08 PM

    Your results are interesting, if a bit rough. As some other folks have pointed out, reading from disk, especially a fat32, or ntfs file structure is going to slow you down when you start working with big numbers of files on disk. I'm not as familiar with the MacOS File structure, but ext2/3 (the... read more »

  • QUERY.ColumnList Does Not Return True Column Ordering

    Posted on Apr 18, 2007 at 12:04 PM

    While I agree that SELECT * does suck from a readability standpoint, The "Slowness" argument that I hear from time to time isn't really valid from my experiments. Admittedly, you should only query for the fields you're going to actually use, but if you're using every column (like you are in your ex... read more »

  • Ask Ben: Adding A Query String Pair Value To Existing HTML Using ColdFusion

    Posted on Apr 16, 2007 at 3:21 PM

    @Craig A reason to do it in CF rather than javascript could be so that Search Engines will pick up the modified URL, in case that's important. I suspect it is for a lot of folks.... read more »

  • Ask Ben: Adding A Query String Pair Value To Existing HTML Using ColdFusion

    Posted on Apr 16, 2007 at 10:57 AM

    While I can't say that I'm particularly interested in the code to add URL params to every link on the page, the output buffer reading is something I've been wishing I could do in ColdFusion for a while. Thanks Ben!... read more »

  • Parsing CSV Values Using A Standard File Format

    Posted on Jan 27, 2007 at 10:31 AM

    I have a home-grown CFC that I use for parsing CSV values (though I turn them into a 2D array rather than a query), and I recently retooled it to use the string.Split(chr(10)) and string.split(",") methods, i.e. (incomplete code) <cfset var i = 0> <cfset var j = 0> <cfset destArray =... read more »

  • Parsing CSV Values Using A Standard File Format

    Posted on Jan 27, 2007 at 10:30 AM

    I have a home-grown CFC that I use for parsing CSV values (though I turn them into a 2D array rather than a query), and I recently retooled it to use the string.Split(chr(10)) and string.split(",") methods, i.e. (psuedo-code) <cfset var i = 0> <cfset var j = 0> <cfset destArray = inT... read more »

  • Creating Microsoft Excel Documents With ColdFusion And XML

    Posted on Jan 8, 2007 at 9:49 AM

    OpenOffice uses the Open Document Format as it's native document format. OASIS has recently adopted it as an XML standard for representing office-style documents, and rumor has it that the next version of Microsoft Office will include support for Open Document, there is already a Microsoft-sponsore... read more »

  • Confirmed Availability Of Java String Methods In ColdFusion

    Posted on Oct 31, 2006 at 10:45 PM

    BlueDragon and Railo are non-Adobe implementations of the CFML language. They're 99% compatbile with CFML, but the implementation details are of course slightly different. BlueDragon has a version which is based on .NET instead of Java, and Railo distinguishes itself by outperforming Adobe's ColdF... read more »

  • Confirmed Availability Of Java String Methods In ColdFusion

    Posted on Oct 31, 2006 at 5:37 PM

    Using Java String methods in ColdFusion should be fine for the forseeable future, but I'd be careful of it even in the near term from the pure Compatibility point of view. BlueDragon.NET is not likely to use the same string methods, and I don't know if even BlueDragon.JAVA or Railo will allow you t... read more »