Re: [Zope] Periodic task in a Zope 2 environment

2009-02-17 Thread Chris Withers
Marco Bizzarri wrote: Is there a better way to run such tasks in Zope 2 environments? Have a look at Stepper: http://www.simplistix.co.uk/software/zope/stepper ...and then actually *use* cron to trigger stepper ;-) Chris -- Simplistix - Content Management, Zope Python Consulting

Re: [Zope] Periodic task in a Zope 2 environment

2009-02-17 Thread Chris Withers
Thibaud Morel l'Horset wrote: What I did to solve this problem is simply create a few crons on the server that each do a mechanize (http://wwwsearch.sourceforge.net/mechanize/) http call to a specific location in Zope which basically acts as a private API: when called, it executes a

Re: [Zope] Periodic task in a Zope 2 environment

2009-02-17 Thread Marco Bizzarri
On Tue, Feb 17, 2009 at 6:48 PM, Chris Withers ch...@simplistix.co.uk wrote: Marco Bizzarri wrote: Is there a better way to run such tasks in Zope 2 environments? Have a look at Stepper: http://www.simplistix.co.uk/software/zope/stepper ...and then actually *use* cron to trigger stepper

[Zope] Zope2 and XMLRPC methods

2009-02-17 Thread Rowan Woodhouse
Hi, I'm having some trouble getting XML-RPC methods going on Zope2/Five. I've got the following in my configure.zcml: configure xmlns=http://namespaces.zope.org/zope; xmlns:browser=http://namespaces.zope.org/browser; xmlns:five=http://namespaces.zope.org/five;

Re: [Zope] Zope2 and XMLRPC methods

2009-02-17 Thread Bill Campbell
On Tue, Feb 17, 2009, Rowan Woodhouse wrote: Hi, I'm having some trouble getting XML-RPC methods going on Zope2/Five. I've got the following in my configure.zcml: configure xmlns=http://namespaces.zope.org/zope; xmlns:browser=http://namespaces.zope.org/browser;

Re: [Zope] Zope2 and XMLRPC methods

2009-02-17 Thread Rowan Woodhouse
Bill Campbell wrote: On Tue, Feb 17, 2009, Rowan Woodhouse wrote: Hi, I'm having some trouble getting XML-RPC methods going on Zope2/Five. I've got the following in my configure.zcml: configure xmlns=http://namespaces.zope.org/zope;

[Zope] Stored Procedures Versus ZSQL Methods

2009-02-17 Thread Remy Pinsonnault
Hello, We have a Zope application with thousands of Z SQL methods connected to an Oracle Database. Our DBA want us to develop our new applications using stored procedures called through external methods, instead of using directly Z SQL methods, for performance issues and memory usage. Do stored

Re: [Zope-dev] SVN: zope2book/trunk/ Lot's of updates over the weekend!

2009-02-17 Thread Tino Wildenhain
Dieter Maurer wrote: Tres Seaver wrote at 2009-2-15 10:45 -0500: ... At the moment, the book is largely a guide to what can be done with Zope TTW. DTML is still part of that store: it isn't gone, nor even deprecated: its just that most core developers prefer not to use it in most cases. Note

Re: [Zope-dev] SVN: zope2book/trunk/ Lot's of updates over the weekend!

2009-02-17 Thread Wichert Akkerman
Previously Martijn Pieters wrote: On Tue, Feb 17, 2009 at 12:08, Tino Wildenhain t...@wildenhain.de wrote: You should really not generate CSS ;) And JS is best generated with Jason :-) You need to generate CSS when you want to use absolute paths for images referred to in your CSS. This

[Zope-dev] Zope Tests: 7 OK, 1 Failed

2009-02-17 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list. Period Mon Feb 16 12:00:00 2009 UTC to Tue Feb 17 12:00:00 2009 UTC. There were 8 messages: 8 from Zope Tests. Test failures - Subject: FAILED (failures=1) : Zope-trunk-alltests Python-2.5.4 : Linux From: Zope Tests Date: Mon Feb 16

Re: [Zope-dev] SVN: zope2book/trunk/ Lot's of updates over the weekend!

2009-02-17 Thread Stephan Richter
On Tuesday 17 February 2009, Wichert Akkerman wrote: You need to generate CSS when you want to use absolute paths for images referred to in your CSS. This can easily be done with ZPT: Very often you don't need to do that though, and it actively breaks the ability to do prototyping with your

[Zope-dev] Single Sign On

2009-02-17 Thread Shane Hathaway
I'm working with a customer on a single sign on (SSO) system for Zope. We haven't yet chosen which SSO system we want to use. I would like to hear from anyone who has set up SSO with Zope. We have some definite requirements: * We can't accept arbitrary identities like OpenID normally does.

Re: [Zope-dev] SVN: zope2book/trunk/ Lot's of updates over the weekend!

2009-02-17 Thread Simon Michael
Tres Seaver wrote: I think it is too premature to be moving the DTML chapters out of the book: if we arent just updating the book to be current with 2.12, then we probably need to discuss what kind of book we want, before chopping it apart. and I would rather make the case, explaining the

[Zope-DB] Stored Procedures Versus ZSQL Methods

2009-02-17 Thread Remy Pinsonnault
Hello, We have a Zope application with thousands of Z SQL methods connected to an Oracle Database. Our DBA want us to develop our new applications using stored procedures called through external methods, instead of using directly Z SQL methods, for performance issues and memory usage. Do stored

Re: [Zope-DB] [Zope] Stored Procedures Versus ZSQL Methods

2009-02-17 Thread JPenny
Yes, with a stored procedure the DB does not have to reparse and prepare a new plan for every query. This can be a major win. Esp. on Oracle. Remy Pinsonnault remypinsonna...@gmail.com Sent by: zope-boun...@zope.org 02/17/2009 06:37 PM To zope-db@zope.org, z...@zope.org cc Subject

Re: [Zope-DB] [Zope] Stored Procedures Versus ZSQL Methods

2009-02-17 Thread JPenny
No, ZSQL really predates bind variables. That is, they we available on a few systems, but were rare. If the Oracle specialist has a reason for going to external methods, like his server is seriously loaded, I would pay attention to him. If he is just following some set of best practices, well,