Massimo Morelli's Weblog
A personal weblog on technology, science, books etc..






Subscribe to "Massimo Morelli's Weblog" in Radio UserLand.

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.


Top 7 hits for I am a Bright on..
Google
1.The Brights
2.dfc - I am a Bright
3.Mercurial: I am a bright
4.Murfett, AM (Andy) - Bright Sparcs Biographical entry
5.[vsnet-polar 10] AM Her bright (update)
6.[vsnet-polar 12] AM Her bright state update
7.[vsnet-recent 554] AM Her bright state (cont'd)

Help link 05/10/2003; 15.53.08.


domenica 21 settembre 2003
 

Martin Fowler is abandoning XSLT:

MovingAwayFromXslt.

All of this site is written in simple XML documents and transformed to HTML. I find this works really well, and means I never have to worry about dealing with HTML formats. (Not that fancy layout is my style, as you can tell.) I've even written a whole book that way.

For most of this time I've used XSLT as my transformation language. I've got pretty good with slinging XSLT around and getting it to do what I want.

But no more.

When I wrote the software for this Bliki (on a long flight) I did it in Ruby.Prior to that I used Ruby to do a new version of my home page. My conclusion from this exercise was that using Ruby for XML transforms was much easier than using XSLT.

  • XML makes a lousy syntax for a programming language. There's way too much noise in there and as a result you can't see the program.
  • XSLT makes calling subroutines so painful that you are seriously discouraged from using them, which encourages duplicate code.
  • XSLT handles simple tasks well, but is baroque when it comes to more complicated things. Indeed some are impossible and you have to jump out into another language anyway.
  • Ruby gives me a clean, OO language with clear syntax and a kick-ass XML library.(Python may well be just as good, I haven't tried it.)
  • I can mix template style code with transformer style code.

[..] I think this may raise some real questions about XSLT. There's still much I like about the power of XSLT, but I hate the syntax and the walls you keep running into. I'm not going to convert my whole site over to Ruby tomorrow - most of the XSLT works fine - but I can certainly see my way to doing that at some point in the future. But the bigger question is whether you're better off with scripting language for this kind of task than XSLT. [Martin Fowler's Bliki]


3:04:11 PM      comment []  Bel post? Si No



Click here to visit the Radio UserLand website. © Copyright 2003 Massimo Morelli.
Last update: 05/10/2003; 16.40.21.site index

Settembre 2003
Dom Lun Mar Mer Gio Ven Sab
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30        
Ago   Ott