|
Ok, I am really trying to utilize CFC's and utilize
their pronounced ability to handle alot of good code reuse.
I have a CFC that handles customer
information. And I have two ways that customer information can be
populated and manipulated:
1) Through a form (form.firstName,
form.lastName)
OR
2) Though a struct being passed to the CFC
customer.firstName, customer.lastName
It is possible (and good practice) to create 1
simple function that can handle both inputs? How do you decern between the
two scopes?
Any suggestions and help would be
appreciated.
Also, are their any good resources out their for
code reuse as it pertains to CFC's or even CFMX in general.
Paul Giesenhagen
QuillDesign |
- Re: [CFCDev] Code Reuse Paul Giesenhagen
- Re: [CFCDev] Code Reuse Marcantonio Silva
- Re: [CFCDev] Code Reuse Paul Giesenhagen
- Re: [CFCDev] Code Reuse Marcantonio Silva
- RE: [CFCDev] Code Reuse Jeff Britts
- RE: [CFCDev] Code Reuse Dawson, Michael
- Re: [CFCDev] Code Reuse Paul Giesenhagen
- RE: [CFCDev] Code Reuse Dawson, Michael
