Skip to main content
Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.

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 »

  • 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 »

  • 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 »