Re: templating system opinions (axkit?)

2003-07-23 Thread Douglas Hunter
Hauck, William B. wrote:
Hi,

snip /

I'll be adding a function to 


And then you'll be adding a function to..., and then possibly a function 
to..., and then you'll need it to...

Pretty soon, you will have spent hundreds of hours developing a 
templating system that you throw away in favor of one of the tried and 
true templating systems that are available.

Of course I may be wrong.  Your needs may be very simple, and may not 
change over time.

But you may want to ask around on this list to see how many folks have 
rolled their own templating system and thrown it away.  Of course there 
are folks on this list who haven't thrown theirs away, and have worked 
hard to make them robust, stable and performant.  Thats why we take 
advantage of their work ;-)


bill
-- Douglas




-Original Message-
From:   Matt Sergeant [mailto:[EMAIL PROTECTED]
Sent:   Wed 2003-07-23 4:00 AM
To: Patrick Galbraith
Cc: [EMAIL PROTECTED]
Subject:Re: templating system opinions (axkit?)
On Mon, 21 Jul 2003, Patrick Galbraith wrote:

Anyone on this list use AxKit? I'm curious how it pans out.

I like the idea of XSLT/XML, though I find myself trying to read between
the lines of hype vs. something that's actually very useful. I don't know,
so I don't have any opinions. I do know I'd like to use XSLT/XML so as to
have a project to use it for, hence learn it.


I'm just about to roll out a site using AxKit that has to do about 3
million hits/day out of the box.
The main reason I like AxKit is it prevents me from screwing up and
creating XSS bugs, because everything has to be well formed. I almost
never have to use html or URL encode/decode functions - I just write
straight perl code.
I barely notice that I'm using XML.

It's also worth noting that XSLT is a portable skill, with lots of great
offline tools.
It's also worth saying: never listen to hype. Evaluate solutions based on
your criteria. AxKit matches mine but it doesn't mean it will match yours.
Matt.







CONFIDENTIALITY NOTICE: This E-Mail is intended only 
for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you have received this communication in error, please do not distribute and delete the original message.  Please notify the sender by E-Mail at the address shown. Thank you for your compliance.






Re: templating system opinions (axkit?)

2003-07-21 Thread Douglas Hunter
Jesse Erlbaum wrote:
Hi Patrick --


I like the idea of XSLT/XML, though I find myself trying to 
read between 
the lines of hype vs. something that's actually very useful. 
I don't know, 
so I don't have any opinions. I do know I'd like to use 
XSLT/XML so as to 
have a project to use it for, hence learn it.


It's mostly hype in my experience.  And not even very useful hype, like
Java or PHP, which are actually real things which people might want to
use.


I don't quite understand what isn't real about XML or XSLT.  XML 
really is a way to structure your data, XSLT really is a way to 
transform that structured data.

But unless you just happen to have thousands of
XML documents sitting around on your hard drive, XSLT is a solution in
search of a problem.  Most of my data is in a RDBMS -- not XML.  


Or, if you have thousands of XML documents sitting around on your hard 
drive, XSLT is an efficient way to translate them into XHTML and deliver 
them to a browser.

You do make a good point that XSLT probably isn't for folks who store 
the all data they are delivering in a RDBMS.  Adding layers onto your 
RDBMS to make it return XML, and then transforming that newly generated 
XML using XSLT may not be the best solution.

But if folks are storing indexed XML documents on their filesystem (a la 
XML::Comma or a similar framework) XSLT can be quite handy.


Too cynical?  Maybe.  The fact that XSLT is still discussed in serious
company just bugs me.  ;-)


Well, I've always considered myself to be pretty light-hearted. 
Sometimes bordering on straight goofy ;-)

TTYL,

-Jesse-
-- Douglas