J MacKay wrote:
- Is there any benefit to using cfproperty in a cfc that is not used as a web service?Not to me If you're working on your own and just starting with CFCs, I think you can just use returntype and type ="any" - i've thought about it from a variety of angles, and unless you are trained in a typed language and using type makes a lot of sense to you, i don't think you'll get much benefit out of trying to use type in CF. My personal opinion here. Using type in certain development environments or in very complex apps can certainly be advantageous, but i wouldn't rubber stamp using type as a best practice automatically. I've got a blog entry that explores this topic in depth if you're interested why i've come to this conclusion. http://aria-media.com/blog/index.cfm/2006/10/6/To-Type-or-Not-to-Type Nando
You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/[email protected] |
- [CFCDEV] newbie questions about cfproperty and cffunction re... J MacKay
- Re: [CFCDEV] newbie questions about cfproperty and cffu... Nando
- Re: [CFCDEV] newbie questions about cfproperty and cffu... J MacKay
- Re: [CFCDEV] newbie questions about cfproperty and cffu... Jim Cassata
- Re: [CFCDEV] newbie questions about cfproperty and cffu... J MacKay
- Re: [CFCDEV] newbie questions about cfproperty and cffu... Aaron DC
- Re: [CFCDEV] newbie questions about cfproperty and cffu... J MacKay
- Re: [CFCDEV] newbie questions about cfproperty and cffu... J MacKay
- Re: [CFCDEV] newbie questions about cfproperty and cffu... Aaron DC
- Re: [CFCDEV] newbie questions about cfproperty and cffu... Sammy Larbi
- Re: [CFCDEV] newbie questions about cfproperty and cffu... Tom Chiverton

