On 4/14/05, Jim McAtee <[EMAIL PROTECTED]> wrote:
> In the following does CF include only one page on the fly, or does it
> bring in both pages, but execute the code in only one?

In CFMX, it doesn't actually "bring the code in" - each page is
compiled to bytecode as a class and CF calls a method on the class. In
other words, your code compiles down to something like:

if ( somecondition ) {
    (new somepage()).run();
} else {
    (new someother()).run();
}

(no, it doesn't literally call 'new' at that point - it does magic to
wire up the 'variables' scope and context etc)
-- 
Sean A Corfield -- http://corfield.org/
Team Fusebox -- http://fusebox.org/
Got Gmail? -- I have 50, yes 50, invites to give away!

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202849
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to