RE: xslt on server-side vs. client-side
oh yeah, something else to keep in mind is does your transforming logic involve more than just presentation considerations? Like security, or personalization. For example, do you conditional render chunks or perhaps a completely different presentation due to the given users security credentials or even just some personalization settings? You wouldn't want to expose that logic, let alone download the security laden xml, to the client ... unless your client was connected via ssl. Then your back to more browser issues and how they handle security protocols, and trust they're not the same and some (versions) have bugs. -----Original Message----- From: Jeff Beadle Sent: Friday, November 16, 2001 6:12 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: RE: xslt on server-side vs. client-side Hey Nathalie, Some other things to keep in mind: Pushing the transforming logic to the client is nice for the reasons stated below, however be aware of the following: 1. Will you have control over what browsers your clients will use? If not, then your xslt development and deployment will need to be browser and browser version aware. Granted you'd still have a similar issue with having to develop browser aware xslt on server, but only for your output ... not your output and your xslt processing environment. 2. If you want to incorporate something new, lets say--using I.E. for example--from the MSXML 4.0 xslt engine, perhaps a new xslt extension. Can you control and handle upgrading ALL of those clients? 3. Is it OK to expose your transforming logic? 4. Will you ever have the need to deploy to something other than a browser? ... perhaps a PDA, PocketPC or a cell phone. And trust me, more often than you expect, I've seen this consideration scoffed at by business analysts and management only to come back and bite them on the you know what. anyhow, maybe none of these apply to you ... just thought I'd add some considerations that I've had to deal with. -Jeff -----Original Message----- From: cutlass [mailto:cutlass@xxxxxxxxxxx] Sent: Friday, November 16, 2001 5:16 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: xslt on server-side vs. client-side ----- Original Message ----- From: "Nathalie Pult" <s9292251@xxxxxxxxxxxxxxx> > Hi List, > I already worked with xslt on server-side. > What are the advantages and disadvantages having operations done on > client-side? Hello Nathalie, Your question is fairly generic, so i will be short. - Client side processing is desirable as this offloads processing from server to client, this is especially compelling when all that needs to be sent to the client is data, as stylesheets will already be cached. - It would be nice for all major browsers to be in spec for xslt processor, but unfortunately the only real choice is IE, though the IE xslt processor is exceptional ( did i say that ? ). Mozilla does have xslt support, but at the moment it is a bit sketchy but it should be up to spec very soon. When this occurs client side processing will become more ubiqitous. - client side processing, in a semantic world, means possibly that the browser will take in data from a whole range of remote servers, then aggregating this into a single customised 'view' at the client. - some of the really neat clientside stuff has been done by Chris Bayes at www.bayes.co.uk/xml chow, jim fuller XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format