[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: xml xsl web architecture


Re:  xml xsl web architecture
On 2/24/06, Peter Hunsberger <peter.hunsberger@g...> wrote:
> On 2/24/06, Anthony Ettinger <aettinger@s...> wrote:
> <snip/>
>
> > > Generally the rational for using templates to build a Web site is to
> > > make it easy for some larger group (over space and/or time) than the
> > > original developers to maintain the site.  XSLT would not be my first
> > > choice for the development and maintenance of the higher level
> > > abstractions that can be used to build a Web site. Rather, build a
> > > vocabulary designed for those needs and keep the XSLT in the core
> > > where it's not going to be exposed to random Web designers.
> >
> > From my experience you have this problem regardless of what
> > vocabulary/technology you're using. Recreating a presentation
> > vocabulary, or simply using xhtml may still result in "bad design"
> > phenomenon. My reasoning for using xsl is to have an include/component
> > type functionality with parameter passing. And simply creating a new
> > markup to facilitate this seems redundant.
> >
> Not sure what "problem" you're referring to?
>
> XSLT is a Turing complete language.  By using it as your template
> language you not only force everyone who designs for your site to
> learn XSLT you open a huge can of potential performance, maintenance
> and security issues.
>
> You don't need to invent any new languages for includes.
>
> Not sure what you're real use cases for parameter passing are?
> Generally I haven't found a need for such with a properly designed Web
> site (other than within the site controller itself, but that's another
> issue altogether).  Rather I end up including  XML fragments as
> needed.  Thus, every piece of information is maintained in one spot
> and one spot only.  The data that creates the site in the XML files,
> the presentation of that data in XSLT.  Separation of Concerns is a
> good thing in this case...
>
> --
> Peter Hunsberger
>
>

Hmmm....well if you had an xml fragment with 90% of the same code, but
you wanted a condition, you'd create a new markup for that?

--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.