Jon Smirl wrote in message
> You can use a component model to generate pages for Apache.
Yea that's the basic idea :-)
> For example I
> have a complex report that is generated by using a C++ database component
to
> retrieve and generate XML from a database. This XML is passed to another
> component a C++ XSL engine. The output of this is passed to a Java
> component, XML FOP, and turned into PDF. For other pages I use a
Javascript
> component to read the POST data and generate an HTML response.
>
> Microsoft has ASP+COM; Apache+XPCOM+Javascript is a very similar but
> portable environment.
Yes and something like an application server framework could be built out of
XPCOM. Just vapourware for now in my head. But I get all sorts of ideas
about publishing components that could publish html from data access
components (filesystem, flat file, object db, rdbms...) and also call
methods to update data in them. Also in the playground would be templating
components (that imlplement some templating language like asp, or php, or
webmacro), security managers and others.
Web applications could be built by writing business logic as a bunch of
XPCOM components (you could use C++, Python or JavaScript), using the above
core components and maybe other Webapp components. Plug and play data
stores, connect and create webapps, framework reuse, the works...!
Yes this is all very big but using it could start small first and grow fast
using Python rather than C++ components initially.
Shalabh