Home arrow ASP arrow Page 4 - Front End XML For ASP Developers
ASP

Front End XML For ASP Developers


Yahoo are using XML for their orders, are you? Should you be? In this article Eugene sheds some light on XML from an ASP developers perspective...

Author Info:
By: Eugene Gilerson
Rating: 5 stars5 stars5 stars5 stars5 stars / 36
November 18, 2002
TABLE OF CONTENTS:
  1. · Front End XML For ASP Developers
  2. · Data Exchange
  3. · Configuration Files
  4. · There's a Bonus
  5. · Conclusion

print this article
SEARCH DEVARTICLES

Front End XML For ASP Developers - There's a Bonus
(Page 4 of 5 )

One of the most wonderful additions to the MSXML library (starting with version 3.0) is the ServerXMLHTTP class. It allows for seamless communications over the HTTP protocol from any language that has integration with COM architecture. This includes ASP, Visual Basic, C++, etc.

Why is this so important? We could use socket connections to do the same thing, couldn't we? Well, yes and no. Because this component understands the HTTP protocol syntax, most of the protocol communication functionality is hidden from developers, thus allowing them to focus on business logic.

Very often, ServerXMLHTTP acts as part of custom protocols built between different tiers of applications. The process is best described with the following diagram:



This logic virtually eliminates the complexity of such sophisticated protocols as RPC, RMI, DCOM, or CORBA, and yet still manages to mimic most of the functional requirements of these protocols, and then some.

It has a major advantage over all other protocols. Because the server software is a standard HTTP web server, this type of communication is not tied to any specific Operating System, programming language or technology. Nor does it require any additional software or special configurations on either one of the tiers.

No Cure For All
As with any other technology, XML has its disadvantages and drawbacks. XML solves some development hassle, but may create performance problems and lack of standards across organizations.

Correctly formatting data as XML increases its size ten-fold or even more, which leaves very large XML streams to be loaded into parsing components. Any significant (by database standards) number of records would take seconds to load in MSXML.

On the other hand, the freedom XML gives developers in terms of syntax often backfires. Even within same organization, the number of custom XML dictionaries (DTD's) can reach dozens, most of them dealing with very similar problems.

It is true that there are such standards as OFX (Open Financial exchange), which is a set of XML tags that can represent any financial information, but the industry is nowhere near to controlling how developers manipulate XML tags within their applications.
blog comments powered by Disqus
ASP ARTICLES

- Central Scoreboard with Flash and ASP
- Calorie Counter Using WAP and ASP
- Creating PGP-Encrypted E-Mails Using ASP
- Be My Guest in ASP
- Session Replacement in ASP
- Securing ASP Data Access Credentials Using t...
- The Not So Ordinary Address Book
- Adding and Displaying Data Easily via ASP an...
- Sending Email From a Form in ASP
- Adding Member Services in ASP
- Removing Unconfirmed Members
- Trapping HTTP 500.100 - Internal Server Error
- So Many Rows, So Little Time! - Case Study
- XDO: An XML Engine Class for Classic ASP
- Credit Card Fraud Prevention Using ASP and C...

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 

Developer Shed Affiliates

 




© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials