Scott Arbeitman
Member since Dec 11, 2008
- Profile: /members/413-scott-arbeitman.htm
- URL: http://scott.arbeitman.id.au
- Comments: 3
Recent Blog Comments By Scott Arbeitman
-
Learning ColdFusion 8: OnMissingMethod() Event Handler
Posted on Aug 28, 2007 at 9:03 PM
There are so many possible uses of this. And I can't believe I didn't notice this new feature until now. Ruby on Rails uses dynamic finders in its Active Record implementation which does make the code feel more natural and keeps things easy to read. You can do things like find_by_name("Bob") even ... read more »
-
Using XML Style Name Space Attributes In ColdFusion
Posted on Feb 1, 2007 at 4:30 PM
XML namespaces are supposed to prevent clashes within tag and attributes in different contexts. For example, in a soap request, some data is related to the soap protocol while most of it is probably the data you need. If you strip out namespaces and search for elements, there is a chance you will f... read more »
-
Using XML Style Name Space Attributes In ColdFusion
Posted on Feb 1, 2007 at 3:03 AM
Exactly. Namespaces like that future-proof your code in case adobe wants to attributes later. Also, its also more obvious that you are doing something special (kinky) when you prefix your attributes like this. It also allows you to use the name attribute names as built-in Coldfusion attributes. I... read more »