Devin
Member since Aug 20, 2009
- Profile: /members/4137-devin.htm
- Comments: 3
Recent Blog Comments By Devin
-
Ask Ben: Using ColdFusion Components As Return Types, Argument Types, And Property Types
Posted on Dec 28, 2009 at 11:16 PM
Also, for type safe arrays, you can use: path.to.MyCFC[] as your return type or parameter type. I don't think it actually checks each array index for that type (I think maybe just the first index).... read more »
-
Learning ColdFusion 9: Trying To Understand ORM Event Handling
Posted on Aug 24, 2009 at 2:24 PM
@Rick, Similar to Robert's use cases, I've used event handlers quite a bit for image/photo uploading. In the postInsert, you can execute the code neccessary to resize and convert photos, create thumbnail versions, etc. In the postDelete you can execute code to delete the photo from the file system... read more »
-
Learning ColdFusion 9: EntityNew() vs. The NEW Operator / CreateObject()
Posted on Aug 20, 2009 at 11:06 AM
One of the differences between CreateObject() and new Object() is that using new Object() will automatically execute the constructor (if it exists). I haven't tested whether EntityNew() automatically executes the constructor. Have you tested this Ben?... read more »