XP Server    

What's New
  • 10/17 - Initial upload of XP Server code
Doxygen for components

XP Server is an orphan project. We're looking for a new project owner. XP Server was initially developed as a commercial project that never got off the ground. I, Jon Smirl, am the initial author of a lot of the code. I am available to answer questions but I am no longer actively working on the project.

XP Server is an app server designed around XPCOM so that it is cross platform. XP Server mainly depends on the XPCOM directory (plus some subprojects of XPCOM). To run FOP/Java code the Blackwood XPCOM-Java bridge needs to work. Mozilla's Javascript engine is used directly. The rest of the browser code is not used.

Apache is the front-end web server. You send template names to the Apache server. These template names cause an Apache module (mod_PX7) to be run. The template contains a list of XPCOM components and some Javascript for gluing them together.

mod_PX7 then uses XPCOM to load and run the components. The components can be chained using SAX-like events. For example a database component can do a query. The output from the db component is expected to be in XML. This XML can be sent to the browser or fed into another component. For example, an XSLT style sheet. The output from the stylesheet can then go to the browser or be fed into yet another component such as FOP for PDF generation or xmlch to generate a 3D chart using GDChart.

A similar kind of chain works on form submission. The submitted data is converted to XML and it can be processed with an incoming chain. This allows it to be transformed and then end up in a database.

You don't need an entire Mozilla build for this project. You need XPCOM standalone. For the Java support you need the mozilla/java/xpcom directory from Mozilla CVS.

Main Features

XP Server contains several embeded directories for other open source projects such as libjpeg, zlib, etc. These are just version snapshots used to isolate XP Server from changes in these projects. These projects continue to have their own licenses which are included in the directories. None of these projects are MPL most are GPL or a compatible variation.

The xpserver project can be contacted through the mailing list or the member list.
Copyright © 2000-2020. All rights reserved. Terms of Use & Privacy Policy.