Well there are a few reasons. I know only a cursory bit about xslt,
however, so let me know if I'm off base on any of these.
We chose PHP over XSLT because:
-PHP is faster, and more mature.
-Can handle CGI variables which keep state between different HTML views.
-Can read form data given by user.
-Can read in user-defined local configuration files from disk
(private_clusters, etc).
-Can call functions using local shell (for rrdtool graph, for example).
On the other hand, I think PHP is a cumbersome language. I have talked
about using mod_python, but the fact is, I would have to see a really
good reason for doing so, as it would take alot of work, and perhaps
end up being slower.
Hope this helps answer your question.
Federico
On Thursday, December 5, 2002, at 11:53 AM, [EMAIL PROTECTED]
wrote:
The Ganglia web frontend uses PHP to transform xml to html (I think).
Why was that method chosen instead of using PHP to make calls to xslt
scripts to do the transformation? Is there a belief that PHP is better
than xsl for coding xml to html transformations? Does the Ganglia web
front end include transformations that aren't easily expressed in xsl?
Jonathan
Federico
Rocks Cluster Group, Camp X-Ray, SDSC, San Diego
GPG Fingerprint: 3C5E 47E7 BDF8 C14E ED92 92BB BA86 B2E6 0390 8845