Implementing Dynamic Web Interfaces Using XSLT
page 4 of 4
by Gil Shabat
Feedback
Average Rating: 
Views (Total / Last 10 Days): 27286/ 37

Conclusion

Dynamic content for web applications can be produced in several ways but if you are looking to build a web application with great flexibility, a high level of usability, and low total cost of ownership- using XSLT to transform XML into an HTML interface might be the right approach.

About the Author

Gil Shabat is a co-founder and one of the managing directors of Novologies LLC (www.novologies.com), a small web development consulting firm located in the NYC metro area that focuses on helping various companies to plan & build their own powerful web applications, as well as on advising development teams on complex web development challenges.

Gil was one of the key people to architect and build Scopings (www.scopings.com), a new type of web product in the recruiting space, now in beta, and has helped to make it the powerful platform it is today.


View Entire Article

User Comments

Title: Question   
Name: Pravin
Date: 2009-05-22 3:14:32 AM
Comment:
Excellent article, But can you please tell in this approach will it be the best if performance is the key of the project. Thank you.
Title: Excellent Article   
Name: Daniella
Date: 2009-04-07 4:17:05 AM
Comment:
This way is my favorite way to display data from database and xml. I just love xslt :)
Title: Is there any download of this project available.Please reply   
Name: Mohammad hussain
Date: 2009-04-03 5:43:44 AM
Comment:
Is there any download of this project available.Please reply me back on mohd786hussain@yahoo.co.in
Title: Dynamic Web Interfaces Using XSLT   
Name: HoyaBaptiste
Date: 2009-03-18 5:15:55 AM
Comment:
@Morten - You can do equally bad thing with controls. I have found XSLT more flexible especially in situations that would require nested repeaters.

FYI, to separate layers, you can put XHTML in a template (VIEW) (*.html) file and "bind" data (MODEL) as xml with the template using xslt. In this scenario, xslt is the data binding "glue" replacing xml "tokens" in xhtml with data from XML. Implemented this way, XSLT driven "views" can prove maintainable and easy to understand... once you see the pattern.

@Johnny - There are some Math functions you can do in XSLT. You can pass in values and objects (properties and methods must return simple types). For example, from an ASP.NET you could pass a UserPrincipal / UserIdentity and check "IsInRole" within your transform to "show/hide" a region of html.
Title: Maintenance hell   
Name: Morten
Date: 2009-03-18 3:32:39 AM
Comment:
If you wish to go down this road of creating user interface via xslt, _be sure you document your work_! I myself recently faced maintenance hell when I had to take a project like this over from a guy who quit his job. He had documented next to nothing, and bear in mind xslt is not a markup you would read line by line, off the bat. It _will_ take a long time to get acquainted with this code and markup, certainly as long as it took to write it in the first place if there's no documentation covering it.
Title: Good article   
Name: Johnny
Date: 2009-03-18 12:02:39 AM
Comment:
This article is really useful for developers and anyone wanna build a flexible dynamic website.
But i wonder, if i wanna do somthing like calculate, check...data before displaying to user, how can i do with this approach?
Title: Provide references   
Name: Sirish
Date: 2009-03-17 10:32:31 AM
Comment:
Please provide references to different classes used in the code.

Product Spotlight
Product Spotlight 





Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-04-23 6:06:38 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search