[XML-SIG] Python / XML / XSLT vs. Cocoon for website server side
Craeg K Strong
cstrong at arielpartners.com
Thu Aug 14 23:22:21 EDT 2003
I went through a similar decision process last November. I wrote up the
Although it is dated, the basic conclusions are still valid IMO. Both
products have gotten significantly better
since then. There are also other python-based frameworks I have
learned about since that time that probably
should have been part of the evaluation, such as Twisted and 4Suite.
Hope this helps,
Richard Johannesson wrote:
>>>I am laying out a new medium size website that I was hoping I could use
>>>Python / XML on the server side. This is a brand new site, no e-commerce
>>>first, but will add later. Site will need the blog, wiki, group calendar,
>>>and other basic features. The size of site will initially about 50 pages,
>>>but should grow quickly to few thousand pages. Much of the content will
>>>produced by users. So, main concern is being able to apply stylesheets to
>>>content to keep a consistent look.
>>> - All HTML generation done via XSLT
>>You may also want to consider straight Python. You could use
>>Python code that works from the XML DOM (e.g. minidom). There are
>>also several solutions that will turn an XML document into a
>>specialized DOM where the classes (and the instances that form the
>>DOM tree) reflect the elements and tags in the XML source document.
>This might be a good alternative. After dismissing the Java/Cocoon route,
>I'm looking at the different html/XML libraries available in Python. Trying
>to decide which ones should be used.
More information about the XML-SIG