BizTalk Utilities CV ,   Jobs ,   Code library
 
Home Page


Add/Edit your code items
Search the code library
Browse for the code library


WCF, WS, SOAP
UDDIExplorer
XslTransport for PocketSOAP
Kafka - XSLT SOAP Toolkit
VB Web services Proxy Generator
Using msxml3 with Web Storage System
Getting started with SOAP
Calling an Web service from a Managed C++ project
How to access asyncronously from C# an web service
What is XML-RPC?
Web Service and DHTML
Use XMLDOM and XMLHTTP Documents to Upload Small Files
Temperature Conversion XML WebService
SOAP Client Over HTTP Using Visual C++
SOAP Toolset for VB 6.0
Remote Database Administer via XMLHTTP
Binding XML Data Island to Web Forms
Security Model for Web Services
What is a XML Web Service?


 
 

<< UncategorizedXALAN >>


By Mark Wilson
I am the creator of TopXML. I am available for international and local (Australia) contracts. I am a Solution Architect/Business Analyst. I have worked in IT in several countries (NZ, Australia, South Africa, UK) building and training teams for government and very large non-governmental organizations. I am ex-Microsoft Consulting Services. I wrote the first book on Microsoft XML published in 2000 called XML Programming with VB and ASP. Most recently I have been building tools for the SEO industry. Ask me for a 37 point SEO health-checkup for your website.
First Posted 10/18/1999
Times viewed 1362

Storing state in an XML property bag


This post contains attachments
v19991018235959.zip 

  • The PropertyBag object that stores all the state internally as XML, so the entire object hierarchy can be saved, and more importantly, restored!!!
  • The only thing the programmer has to do is implement the IPropertyBag interface. I also use the XMLPropertyBag as the first part of the persistence mechanism to the database. The XML that gets generated gets sent to the middle tier using the XMLHTTP object to be processed.
  • To make matters even more fun, because the XML is externally accessible, enabling some fun XML/XSLT to HTML printing of the data. So we have three awesome benefits rolled up into two tiny classes: facilitating object persistence, enabling state stacking, and a data source for applying an XSLT style sheet for HTML printing.

Rate this article on a scale of 1 to 10 (1 votes, average 6)

Your vote :  

<< UncategorizedXALAN >>





Leave a comment for this article
Your name
Your email (optional)
Your comment
Optional: Upload an attachment
Enter the code shown:

 
 

    Email TopXML