I'm pretty sure there is a way to do it.  I don't have enough background
in ASP to say though, but someone I was talking with said you could, he
may of been full of it.

I'm going to try and make bullet points out of all the Fusebox concepts
we've all come up with for CF and maybe we can make a matrix on what we
can and cannot use in the different languages.  That might be helpful.

Steve

Chris Chambers wrote:
> 
> I've been writing some ASP in the fusebox style, however, it's a little
> tough going:
> 
> ASP 3.0 adds a server method called server.execute, which is loosely
> analogous to cfinclude, however, it has one MAJOR gotcha in that variables
> declared and used in the script that calls the server.execute are not
> visible to the script called by the execute method.  Only variables in the
> intrinsic scopes are available (this includes request, server, application,
> session, etc.).
> 
> Of course you can use the good ole ssi methods (e.g. <!-- #include
> file="foo.asp" -->), but the file name in that case can not be dynamic, as
> the ssi stuff is parsed prior to the asp code being parsed.  So if you know
> the filename you want to include, it's ok, but there's even another
> drawback - when you use the ssi includes, all of the code in the include
> gets plopped on the page, regardless of whether the branch of code ever gets
> executed (let's say in several case statements for example).  Now I know the
> code doesn't get executed unless the case is true, however, I would imagine
> there is some overhead associated with parsing the code to begin with.
> 
> The bad news is that if you are using anything < 3.0, you have no choice but
> to use the ssi stuff.
> 
> Anyone have more thoughts on this?
> 
> PS - If anyone has some sample PHP code, I'd love to see it (the online
> manuals don't offer anything more than context-specific snippets).
> 
> Thanks
> 
> ____________________________________________
> 
> Chris Chambers
> 
> ICQ: 40311211
> AIM: CTC HOME
> 
> Vox: 757.896.6393
> Fax: 757.896.0774
> ____________________________________________
> 
> -----Original Message-----
> From: Steve Nelson [mailto:[EMAIL PROTECTED]]
> Sent: Friday, July 14, 2000 10:13 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [OT] : php using fusebox
> 
> We're doing a little research at my office on this subject also, but
> won't dive too deep for a few weeks.  If anyone has experience in PHP or
> knows someone that does (even if they're non-CFers)  have them give me a
> call.  I REALLY want to see a PHP version of Fusebox.... and ASP for
> that matter.
> 
> Steve Nelson
> 
> "Ken M. Mevand" wrote:
> >
> > this is OT, regarding php. i'm asking here 'coz i think more CF people
> know
> > php than php people know CF. would appreciate if someone can answer me off
> > list.
> >
> > i'm tasked to do a site with php and mysql, because of the cost involved
> > (must be free). this is my first time with both, but that is ok. i just
> want
> > to know if anyone who has implemented a php site using similar methodolody
> > as fusebox.
> >
> > i've read the article at phpbuilder.com concerning webbox (which is
> derived
> > from fusebox), but i think it is not as good as fusebox. (is there other
> > place that describe such methods?)
> >
> > i would also like to know whether there is anything similar to the
> function
> > of <CF_BODYCONTENT> (for use by app_Layout.cfm), as well as
> Application.cfm
> > (processed before any other templates).
> >
> > Thanks in advanced!
> >
> > -ken
> >
> > --------------------------------------------------------------------------
> ----
> > To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
> ----------------------------------------------------------------------------
> --
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
> 
> ------------------------------------------------------------------------------
> To Unsubscribe visit 
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a 
>message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to