On Nov 10, 3:28 am, "Jean Moniatte" <[EMAIL PROTECTED]> wrote:
> Something wrong with application.udf.isEmail(string) that is loaded with the
> app and makes convenience functions available from anywhere, at a very low
> cost?
@Jean, thanks for your reply.
Although this will work for this application it means if I want to
reuse some of my CFC's in another application I will need to remember
to a) Take the udf too and b) ensure it is loaded into Application
scope.
Something feels wrong with this. Although we can use Application
scope, request scope etc in CFC's it doesn't feel right to me as it
couples my CFC's with my application. Suddenly my CFC's would have to
start relying on things it wasn't being explicitly given (either via
composition or method arguments).
One of the reason I moved to heavier CFC development was to avoid this
scenario.
Alan
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---