[
Lists Home |
Date Index |
Thread Index
]
I don't get to cross-pollinate xml-dev from webdesign-l very often, but
this post has some interesting perspective to it. Some of the same
complaints can be made about XSLT - and I think Eric van der Vlist has
talked about "style-free stylesheets" - but it's an interesting set of
questions to raise in any event, particularly for a query language.
(Most of the ASP I wrote was effectively wrappers for queries, so the
mechanics of this are a little too familiar to me.)
====== Forwarded Message ======
Date: 10/22/02 2:39 PM
Received: 10/22/02 8:51 AM
From: info@onlinetools.org (Christian Heilmann)
To: list@webdesign-l.com
Just flicked through this nice article on XML.com about XQuery:
http://www.xml.com/pub/a/2002/10/16/xquery.html
And I kept wondering, as cool as this might be, isn't this exactly
what people consider harmful or bad practice about PHP/ASP? I mean
the mixing of logical code (conditions, loops and comparisons)
and markup.
By separating display and logic you make sites more flexible and easy
to rebrand should the necessity occur. This way of inline coding in
the document might be handy, but I consider it rather harmful when it
comes to coding style.
Any thoughts on that?
+----------------------------------------------------------------------+
more info about webdesign-l: http://webdesign-L.com/
to unsubscribe: http://webdesign-L.com/subscribe.html
list policies: http://webdesign-L.com/policies.html
====== End Forwarded Message ======
-------------
Simon St.Laurent - SSL is my TLA
http://simonstl.com may be my URI
http://monasticxml.org may be my ascetic URI
urn:oid:1.3.6.1.4.1.6320 is another possibility altogether
|