It's part of CFMX 7 (Blackstone).

And you can extend Application.cfc.


On Sat, 5 Mar 2005 13:28:19 +0100, Nando <[EMAIL PROTECTED]> wrote:
> Ummm ... that's not what i was thinking. I thought the post referred to
> something like this ...
> 
> <cfcomponent extends="Application">
> 
> </cfcomponent>
> 
> ... and i was wondering what cool thing one of you guys had come up with to
> do with something like that. :)
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Behalf Of Paul Kenney
> Sent: Saturday, March 05, 2005 1:31 AM
> To: [email protected]
> Subject: Re: [CFCDev] extending Application.cfc?
> 
> Well, for starters all your code that might look like this:
> 
> <cfif NOT StructKeyExists(application, "init")>
>   <!--- do app initialization here... --->
> 
>   <cfset application.init = TRUE>
> </cfif>
> 
> can now be placed into the "onApplicationStart()" method that now does
> this kind of check for you:
> 
> <cffunction name="onApplicationStart" returntype="boolean" access="public">
>   <!---
>      application initialization code goes here
> 
>   --->
> </cffunction>
> 
> -----------------------------------------------------
> 
> You can also have a base class that all Application.cfc files extend
> that handles all of your global settings. You can then choose to
> override or extend  global settings in the Application.cfc subclass.
> That alone gives you a lot of options... and we all love options!
> 
> On Fri, 4 Mar 2005 11:47:27 +0100, Nando <[EMAIL PROTECTED]> wrote:
> > Something flew by on the list awhile ago that mentioned "all the neat
> things
> > you can do extending Application.cfc".
> >
> > Ummm ... what can that do for you? What are some of the possibilities?
> >
> > ciao,
> > Nando
> >
> > ----------------------------------------------------------
> > You are subscribed to cfcdev. To unsubscribe, send an email to
> [email protected] with the words 'unsubscribe cfcdev' as the subject of the
> email.
> >
> > CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting
> (www.cfxhosting.com).
> >
> > An archive of the CFCDev list is available at
> > www.mail-archive.com/[email protected]
> >
> >
> 
> --
> Paul Kenney
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> http://www.pjk.us
> 
> ----------------------------------------------------------
> You are subscribed to cfcdev. To unsubscribe, send an email to
> [email protected] with the words 'unsubscribe cfcdev' as the subject of the
> email.
> 
> CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting
> (www.cfxhosting.com).
> 
> An archive of the CFCDev list is available at
> www.mail-archive.com/[email protected]
> 
> ----------------------------------------------------------
> You are subscribed to cfcdev. To unsubscribe, send an email to 
> [email protected] with the words 'unsubscribe cfcdev' as the subject of the 
> email.
> 
> CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
> (www.cfxhosting.com).
> 
> An archive of the CFCDev list is available at
> www.mail-archive.com/[email protected]
> 
>

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to 
[email protected] with the words 'unsubscribe cfcdev' as the subject of the 
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).

An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]

Reply via email to