Sign In/My Account | View Cart  
advertisement

Article:
 Architectural Style
Subject: xslt as glue
Date: 2001-08-17 06:47:50
From: jim fuller

there are many scopes of problems assoc with manipulating data, most of the solutions or tools assoc with this problem space tend to be overblown in tactical situations.


when it comes to the simple transforms from one data format to another xslt can't be beat.


as someone who has just ended a 2 year effort in developing a complicated framework that delivers complicated software solutions using xslt, i relise the boundaries of xslt.


some key ideas when using xslt;


a) to poorly paraphrase steve meunch , 'get your data to its smallest slice, then hand off to xslt"


b) always incorp. metadata into your programming idioms, these dormant hooks will serve you well for things u never thought of, and u can use DOM or XSLT to manipulate when the time comes


c)it is true that XSLT is doing too much, but at least it allows for pure data centric type programming to occur, which has impressive gains elsewhere in the development workflow


d) relise where XSLT stands in your current development, is it the 'glue' or is it it being applied tactically ( kinda like javascript )and in client side situations.


i personally ( not because i have a other worldly grasp of XSLT ) do not find XSLT difficult or involved, and i think that tools and editors built on top of xslt which has to be easier to describe and use to non-techies; which of course is the goal; put the data into the hands of the people.


i personally believe the success of any technology is directly related to the amount of discourse against its use.


cheers, jim fuller


Previous Message Previous Message   Next Message Next Message


Titles Only Titles Only Newest First
  • xslt as glue
    2001-08-17 07:42:04 Michael Maron [Reply]

    I agree completely!


    IMHO, following the reaction of those who are disappointed with XSLT is very useful.


    -- Working on real XSLT-related projects and going through S. Muench's BUILDING ORACLE XML APPLICATIONS, it is easy to see that XSLT is by no ways the only language involved: PL/SQL is necessary to work with database, C/C++/Java are necessary to work outside of database.


    -- XSLT developer takes care of portability as with any other language.


    -- I would not compare XSLT and JavaScript. XSLT is a (non-legal) standard, while JavaScript is basically vendor-supported. Then JavaScript is used mostly on client side, while the best way to use XSLT is on the server side.


    -- DOM does have transformation features. However, I use it for parsing to data structures only. Then these data structures are processed by PL/SQL(in my case).


    -- A good way to develop in XSLT is to do this like with SQL. Prepare XSLT stylesheet outside of application code first, build it into application next. In fact, it is better to work with XML/XSLT with certain database experience...


    Best, Michael






Sponsored By: