This post contains attachments v20010917234828.zip 
Summary
XML cache on the user client can be used
for the desktop application without server.[more]
User Requirement:
-
Internet Explorer Browser 5.0 or higher.
-
operating system window 98/me/2000/XP
-
MSXML.dll
XML cache on the user client can be used for the desktop application. It can be save in the different filename.
User data persistence on the client used for kept the XML file as a Database.
Create the html form and parse the form fields to be an XML format, then using the
UserData persistence behavior to create a data island and store it in client directory file.
See the architectural of figure 1.0.
Figure 1.0 Architectural of XML cache application
Logical Architectural:
Scenario to define the system context:
- New.htm: create the new htm form field entries.
- Edit.htm: edit the last XML cache vocab & create the fields form entry.
- Print.htm: find and get the last Vocab and load it to print.
- Generic.js: generic methods file.
- General.css: the cascading style sheet to format the layout content.
All context form must be included this element:
1. <input type=hidden class=UserData name=UserData/>
System of XML vocab:
<!DOCTYPE root [
<!ELEMENT root (file*)>
<!ELEMENT file (#PCDATA)>
]>
<root>
<file>file-1</file>
<file>file-n</file>
</root>
Note: depent on the fields name the element context
<root>
<tax1> </tax1>
<tax2></tax2>
:
<taxn></taxn>
</root>
System methods context:
- FileListCache: save or load the client session name, like as filename in Windows Explorer directory.
- FileSessionName: the dynamics session name create from the dialog box and save the information fields vocab.
- Save Session: method function using user data persistence to save the XML vocab.
- Load Session: method function using user data persistence to load the XML vocab.
- Data Island: XML data island fields depend on the field names.
For more details please take a look at the figure 1.1 (see attachment)
|