[thelist] fusebox in ASP

Stephen Caudill SCaudill at municode.com
Mon Feb 3 13:51:01 CST 2003


David.Cantrell at Gunter.AF.mil wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>
>     <action name="home"
>             pageTitle="Home Page"
>             displayPageTitle="false">
>             <main src="act__home.asp"/>
>     </action>
>
> <main> contains the file to Server.Execute to show the main content
> for the page. Headers, footers, navigation (3 levels: global, site,
> and left nav; see microsoft.com for example), and stylesheets can all
> be specified in a site-wide configuration xml file, then overridden
> at the module level (via layout.xml), and then overridden again at
> the <action> level. And if you want to get really fancy, each action
> can have more than one <main> file, and they are Server.Executed in
> the order they appear in the XML file. I have no real need for this,
> but hey, it's a side-effect of the way I wrote the code, so I left it
> there in case someone else wants to use it. ;)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  Manja!!  Thats a spicy meatball, but I like!  Seems like the XML actually simplifies the process (great, new tangent to run off on).  Yeah, I am very excited about getting this all going, I just wanted to make sure I was on the right track so I didn't derail just before deadline.  Guess its time to get cracking, eh?

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> I do have to say, this ultra-modular approach makes updating the site
> and creating new pages a snap.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  I am at the point where I feel like, if I have manually repeated code anywhere, I've wasted time, so it seems only logical to go this route.  I guess I am going to go ahead and dive in and get some coding done.  Thanks very much for the detailed replies and for pointing me in the right direction.

-Stephen



More information about the thelist mailing list