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

Re: DIDIER'S LAB REPORT

  • From: Bill Humphries <bill@w...>
  • To: "Bullard, Claude L (Len)" <clbullar@i...>
  • Date: Sun, 23 Sep 2001 01:02:26 -0700

lab report heterogeneous
On Friday, September 21, 2001, at 01:37 PM, Bullard, Claude L (Len) wrote:

> Let me ask:  what is the difference between a model
> with a stylesheet embedded with a document function
> and an ASP page with a SQL select?

The main difference is that it is probably easier to write in a modular 
form. The ASP, PHP, JSP, etc page will need code to walk through the 
result set and turn it into markup. That code could be handled through an 
include, another .dll, or a call to a class that returns markup. And while 
it would be possible through RMI, .NET, etc., to allow for heterogeneous 
components, it's hard to implement heterogeneous pieces.

But Didier's method allows you to encapsulate the request in a URL <aside>
shades of REST here, remember REST? Ah, the simple world before 
9-11</aside> and that URL might point to a static file, a cgi-bin, a 
servlet, or the HTTP interface to a Oracle/SQLServer/FileMaker Pro 
database returning XML.

I think the difference is a matter of elegance. Using the document()-pull 
method allows for ease in switching out components. All the components 
need are the ability to deliver XML over HTTP.

It's not the first time this has been discussed, on another list (with 
public archives) Paul Prescod presented an example using Google:

http://www.xent.com/pipermail/fork/2001-August/003162.html

And Steve Muench has an example in his book on XML and Oracle 8i.

----
Bill Humphries <bill@w...>
http://www.whump.com/moreLikeThis/


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.