I'm sure I am mistaken, my knowledge of ASP would fit on a postage stamp.
That's why I'm looking for large hunks of fusebox-asp code examples to
reverse engineer...

Alan McCollough
Web Programmer
Alaska Native Medical Center

> -----Original Message-----
> From: Aymeric Grassart [SMTP:[EMAIL PROTECTED]]
> Sent: Saturday, July 29, 2000 4:03 PM
> To:   [EMAIL PROTECTED]
> Subject:      RE: ASP and Fusebox?
> 
> Actually Alan, you are mistaken, dsp_squid.asp will run no matter what the
> value of the case statement. That's why MS introduced server.execute.
> 
> > -----Original Message-----
> > From: McCollough, Alan [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, July 18, 2000 10:04 AM
> > To: '[EMAIL PROTECTED]'
> > Subject: RE: ASP and Fusebox?
> >
> >
> > The el-cheapo ASP-Fusebox I did was much tackier, it went like this
> > SELECT Case
> > Case = "Squid"
> > <!-- #FILE INCLUDE="dsp_squid.asp"-->
> > ... and so on and so forth. I just used a ton of FILE INCLUDES to bring
> in
> > my pages. It seemed to work without the limitation you mention,
> > although it
> > is an ugly way of working things.
> >
> > Alan McCollough
> > Web Programmer
> > Alaska Native Medical Center
> >
> > > -----Original Message-----
> > > From:     Aymeric Grassart [SMTP:[EMAIL PROTECTED]]
> > > Sent:     Monday, July 17, 2000 7:10 PM
> > > To:       [EMAIL PROTECTED]
> > > Subject:  RE: ASP and Fusebox?
> > >
> > > Attached at the bottom is a first attempt of documentation for
> > Fusebox in
> > > ASP.
> > >
> > > After having tested it, we found out that all subs & functions
> > within your
> > > server.executed file are black-boxed; they are not accessible by other
> > > included files. This makes things very hard.
> > >
> > > If anyone finds a work-around, let me know...
> > >
> > > --
> > > Aymeric Grassart        <->     Chief Technology Officer
> > > http://www.aylo.com     <->     Aylo Inc.
> > >
> > >
> > > ASPBox
> > >
> > > 1)        Give the current most common and popular ASP methodology and
> explain
> > > why
> > > this may not be a perfect one.
> > > a.        Form posts redirect to the same file, which contains
> conditional
> > > statements at the top of the page. These conditional statements do db
> > > calls
> > > and other modifications to variables and then decides
> > > b.        This method makes it very hard to go through your code, as
> > > navigation is
> > > decided within each called pages.
> > >
> > > 2)        Summarize what a ASPBox methodology could provide.
> > > a.        ASPBox is based on FuseBox (http://www.fusebox.org), a
> ColdFusion
> > > coding
> > > methodology. This guide is intended for developers who already
> > > understand the basics of Fusebox.
> > > b.        A working global template mechanism that allows you to
> control the
> > > navigation and functionality of a site through one main script page.
> > > c.        Microsoft seems to support this technique. They attempted to
> > > centralize
> > > control through a global.asa file (which has its problems.)
> > >
> > > 3)        Explain why this is not possible before asp 3, IIS 5
> (vbscript
> > > engine
> > > version ?)
> > > a.        Didn't allow server.execute function
> > > i.        ASP did not allow dynamic include (whether surrounded by
> conditional
> > > if
> > > statements or through dynamic urls)
> > > ii.       In IIS 5, server.execute function can act as a ColdFusion
> cfinclude.
> > > b.        Didn't allow server.transfer function
> > > i.        Although response.redirect was there, it added overhead of
> having to
> > > go
> > > back to IIS and then redirect; this function is identical to the
> > > cflocation
> > > tag in Cold Fusion. Would this mean a performance improvement in ASP
> > > creating redirects than in ColdFusion ?)
> > >
> > > 4)        Knowing all passed variables can be accessed through one
> scope save
> > > quite
> > > a bit of time. The ASP request object has 2 types of scopes,
> form(form)
> > > and
> > > querystring(url.) If, while calling the object, these are
> > omitted (as they
> > > are above),
> > > they will take their correct precedence order (forms overide urls.)
> This
> > > acts as a basic work-around to Fusebox FormURL2Attributes.cfm module.
> > >
> > > 5)        Below is a sample skeleton file structure and sample code:
> > >
> > > [default.asp - using the regular FuseBox-style technique]
> > >
> > > if Len(request("action")) = 0 or session.userid = 0 then
> > >  server.execute "dsp_login.asp"
> > > else
> > > select case request("action")
> > >  case "showarticles"
> > >   server.execute "dsp_header_articles.asp"
> > >   server.execute "dsp_articles.asp"
> > >   server.execute "dsp_footer_articles.asp"
> > > end select
> > > end if
> > >
> > >
> > > [default.asp - using the ASPBox variation]
> > >
> > > if Len(request("action")) = 0 or session.userid = 0 or
> request("action")
> > > <>
> > > "act_check_action" or request("action") <> "dsp_login" then
> > >  server.execute "default.asp?action=dsp_login "
> > > else
> > >  if request("action") <> "act_check_action" then
> > >   server.execute "default.asp?action=act_check_action&name=" &
> > > request("action")
> > >  end if
> > >  server.execute request("action") & ".asp"
> > > end if
> > >
> > >
> > > > -----Original Message-----
> > > > From: Steve Nelson [mailto:[EMAIL PROTECTED]]
> > > > Sent: Monday, July 17, 2000 11:22 AM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: Re: ASP and Fusebox?
> > > >
> > > >
> > > > Email [EMAIL PROTECTED] and [EMAIL PROTECTED] if
> > you'd like to
> > > > chat with someone about it.
> > > >
> > > > They're going to be attempting to translate Fusebox into both ASP
> and
> > > > PHP over the next couple weeks.  Chris is creating a matrix of what
> > > > Fusebox techniques you can and cannot do in ASP and PHP that
> > you can do
> > > > in CF.  That'll get it started, once that's known we'll see
> > what we can
> > > > do to translate.
> > > >
> > > > Steve
> > > >
> > > > "McCollough, Alan" wrote:
> > > > >
> > > > > Okay, I'm wondering if anybody has any ASP / Fusebox examples
> > > > or websites.
> > > > >
> > > > > I'm building a Fusebox-styled ASP site, but I'm real weak on
> > > > ASP, hardly use
> > > > > it. I'm sure somebody else has already laid the groundwork, and
> > > > am curious
> > > > > on what's out there...
> > > > >
> > > > > Also, IMHO, this isn't OT, seeing how it is a Fusebox question.
> > > > I do feel
> > > > > that Fusebox as programming style will grow beyond the Cold
> > > > Fusion realm,
> > > > > and  I'd like to be fluent in more than one (programming)
> > language...
> > > > >
> > > > > Alan McCollough
> > > > > Web Programmer
> > > > > Alaska Native Medical Center
> > > > >
> > > > >
> > > > ------------------------------------------------------------------
> > > > ------------
> > > > > To Unsubscribe visit
> > > > http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fu
> > > sebox 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.
> --
> Aymeric Grassart        <->     Chief Technology Officer
> http://www.aylo.com     <->     Aylo Inc.
> 
> --------------------------------------------------------------------------
> ----
> 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