What is 2MXtree Server Pack?
2MXtree is a collection of various scripts that renders a complete and fully
functional tree like windows explorer. Main script is an XSL transformation
sheet that converts XML in HTML. An ASP/Vbscript manages database connection on
server. On client side functionality is provided by a couple of behaviors and a
CSS style sheet. (I will add more details if you whish).
Among features:
- Full source code available (You can hack any functionality...
remember only to mantain copyright note)
- XML based (explore your data with a still new and amazing
technology)
- Completely database driven (a static version exsist but db is
really more exciting)
- Supports incremental dynamic download (this mean that you can now
put online that 3 millions node tree of yours, 2MXtree will read it
incrementally, one piece at time, adding nodes dinamically, without reload
document)
- Async download (this mean that when you are downloading a large
node you can still navigate others and even start more downloads, experiment
with a large database and let me know)
- Client side persistence (no unnecessary roundrip to server)
- Node persistence (Opened and closed child nodes are remembered: try
to close then reopen a top level node)
- No javascript code to render tree, just some supercharged <UL>
and <LI> (for a faster rendering and repaint)
- Frame support (A default frame is provided, you can still define
individual frame target on database. You can load a specific document in a blank
page).
- Custom url support (Normally 2MXtree passes the title and id of
current node to right frame. You can specifiy a custom url in database that
will override default one)
- Server side XSL translation (So you have to update only one server
and not many clients)
- IE 5 DHTML behaviors (So little code, so great functionality.
Behaviors are available for free in IE 5... Thanks, Bill)
Current version
Name: 2MXtree Server Pack
Version: 1.2.3
Release date: 30/dec/2000
Download now!
Try it live here!
License
You are free to copy the '2MXtree Server Pack' scripts
as long as you keep this copyright notice:
original script concepts realized by
Author: Emmanuele De Andreis (manudea@duemetri.it - For questions please use 2mxtree web forums) 30/dec/2000
Located: http://manudea.duemetri.net/2MXtree/default.asp
Server requirements
- Windows NT 4 with IIS 4 or Win 2000 with IIS 5 (may function with PWS on
win 95/98, try it and let me know)
- Microsoft XML parser (I used ver. 3.0, may function with earlier version
but you need change Progid on ASP page). You can download and install latest
XML parser at http://msdn.microsoft.com/xml/
- A properly configured database (see database section).
Client requirements
- Microsoft IE 5.0 (better 5.5) on Win 32 environment. (If you can try it
should work also on Unix version but not on Mac, let me know if it works or
some error or malfunction occurs). 2MXtree uses extensively DHTML behaviors.
Installation
- Unpack the zip on a folder in you www server path. (e.g. you can create a
folder under 'c:\inetpub\wwwroot', or wherever is your, named 2MXtree and
unpack here the archive). Be sure to preserve folder names. Be sure that all
.gifs be under a folder named 'images')
- Install database (see database section).
- Test your installation: http://localhost/2MXtree/samples/default.htm
(is your server!)
- If any problem occus try the .htm version http://localhost/2MXtree/samples/test.htm
(is your server!)
so you can exclude server, database and XML parser problems.
- If you have some problem with installation or with this instructions feel
free to email me
manudea@duemetri.it - For questions please use 2mxtree web forums.
Database
- Copy '2MXtree.mdb' database in a directory of your choice (to add data use
MS Access, if in a NTFS
drive provide for Everyone wite permission at the entire folder - not only
mdb file)
- Add a system DSN source for the database. To do so go in 'Control Panel'
-> ODBC (for Win NT/95/98) or in 'Control Panel' -> 'Administrative
Tools' -> ODBC -> Data sources (ODBC). Name it '2MXtree'.
Next step
It remains a lot of work to do.
- Add document management
- Add some error management
- Write e better help
- Merge the two XSL with an include so the are no overlaps (any volunteer?)
- Add editing capabilities so thet you can ADD/MODIFY/REMOVE nodes in real
time (I've done something, but is not complete yet)
- Any whishes?........
FAQ
Send your questions. manudea@duemetri.it - For questions please use 2mxtree web forums
Known bugs, limits, etc...
Replace all occurrences of undefined with '' in 2MXtree.htc to use with Internet Explorer 5 (not needed for 5.5) (Thanks to R. Kelynack)
Send your feedback please. manudea@duemetri.it - For questions please use 2mxtree web forums
Credits
Coming soon....