- Do you generate setters & getters for each property, or use
onMissingMethod()?
- If you're using onMissingMethod(), does it look for cfproperties to
check for valid property name and type?
- Do you think a complex bean with lots of properties will be more
efficient with onMissingMethod() or with good old getters & setters
for each property?
- Are methods generally in bean, or in Service layer (singleton) for
better performance?
- Does the bean always stay in a valid state with restrictive setters?
or do the setters and init() take in any type?
- Does the bean have validate() function? Does it return an array of
struct of {type, message}? or are you using any validation framework?
- Does it always have some other standard methods? Or does it extends
some abstract/base bean?
- Do you set default values for properties? if so, outside or inside
init()? maybe make use of cfproperty default field?
- Does it lazy-load? If so, how do you implement that?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CFCDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cfcdev?hl=en
-~----------~----~----~----~------~----~------~--~---