Re: [Zope] When to use a relational database

2008-02-09 Thread Tim Nash
Thanks Dieter. I will look into using the zope 3 views in 2.10 and compare their performance with DTML. BTW, I hope plone people understand that I am a big fan of plone, zope 3 and zpt. They just don't fit my current application. @quizzical: As others have pointed out, zope really excels at

Re: [Zope] When to use a relational database

2008-02-09 Thread Stephan Richter
On Friday 08 February 2008, Dieter Maurer wrote: Jaroslav Lukesh wrote at 2008-2-7 22:40 +0100: JAvascript nor CSS cannot be dynamically generated from ZPT. They can be generated by ZPTs -- though it is not very natural. Have a look at z3c.zrtresource, which is a simple package allowing some

Re: [Zope] When to use a relational database

2008-02-09 Thread Paul Winkler
On Thu, Feb 07, 2008 at 07:14:46PM -0800, Tim Nash wrote: Why does storing a single document lead to close to 120 objects being inserted? I'd bet almost all of that is updates to catalog indexes and metadata. Is it something related to plone or is this the case for all ZPT storing? Is it

Re: [Zope] When to use a relational database

2008-02-08 Thread Dieter Maurer
Tim Nash wrote at 2008-2-7 19:14 -0800: ... Why does storing a single document lead to close to 120 objects being inserted? Almost surely due to full text indexing. -- Dieter ___ Zope maillist - Zope@zope.org

Re: [Zope] When to use a relational database

2008-02-08 Thread Dieter Maurer
Jaroslav Lukesh wrote at 2008-2-7 22:40 +0100: JAvascript nor CSS cannot be dynamically generated from ZPT. They can be generated by ZPTs -- though it is not very natural. -- Dieter ___ Zope maillist - Zope@zope.org

Re: [Zope] When to use a relational database

2008-02-08 Thread Dieter Maurer
Tim Nash wrote at 2008-2-7 13:21 -0800: From what I have read online, the things that slow zope down are primarily the numerous security checks In modern Zope versions you can use Zope 3 views. The corresponding templates are trusted. For earlier Zope versions, there is TrustedExecutables (they

Re: [Zope] When to use a relational database

2008-02-07 Thread quizzical
Dieter Maurer wrote: quizzical wrote at 2008-2-6 16:03 -0800: ... Apologies if this is a dumb question, I have had a good look through the archives and on the web. My question is basically about how to design a website. I really like the ease with which you can build applications in zope

Re: [Zope] When to use a relational database

2008-02-07 Thread Jaroslav Lukesh
- Original Message - From: Dieter Maurer [EMAIL PROTECTED] quizzical wrote at 2008-2-6 16:03 -0800: ... Apologies if this is a dumb question, I have had a good look through the archives and on the web. My question is basically about how to design a website. I really like the ease with

Re: [Zope] When to use a relational database

2008-02-07 Thread Jaroslav Lukesh
JAvascript nor CSS cannot be dynamically generated from ZPT. ZPT is thing for HTML and XML only. But with DTML you able to generate any binary data, same as with python script or external method. Please read archives few months back, here are many discussions about DTML vs. ZPT. In

Re: [Zope] When to use a relational database

2008-02-07 Thread Tim Nash
From what I have read online, the things that slow zope down are primarily the numerous security checks and the large number of objects that need to be written to the zodb when you save a document. Is there a way we can manage these bottlenecks? Has anyone rated the performance of say DTML vs ZPT?

Re: [Zope] When to use a relational database

2008-02-07 Thread Dieter Maurer
quizzical wrote at 2008-2-6 16:03 -0800: ... Apologies if this is a dumb question, I have had a good look through the archives and on the web. My question is basically about how to design a website. I really like the ease with which you can build applications in zope but I often see comments

Re: [Zope] When to use a relational database

2008-02-07 Thread Tim Nash
In this article: http://www.upfrontsystems.co.za/Members/roche/where-im-calling-from/zodb-benchmarks Roché Compaan says the following: For an application like Plone an insertion rate of 250 objects per second results in terrible performance if you consider that storing a single document instance

Re: [Zope] When to use a relational database

2008-02-06 Thread Chetan Kumar
On 2/7/08, quizzical [EMAIL PROTECTED] wrote: Hi everyone, Apologies if this is a dumb question, I have had a good look through the archives and on the web. My question is basically about how to design a It will be a good idea to look at the discusion on this topic on plone list too. Some