[Zope] [ANN] jsonserver 1.1.pre2 released (AJAX)

2005-12-21 Thread Balazs Ree
Jsonserver provides an alternative way of AJAX client-server communication on Zope. Jsonserver enables Zope to act as a JSON-RPC server. JSON-RPC is an XML-RPC replacement. It is built on JSON, a javascript based data interchange format. JSON has bindings for more languages. On the client side, th

Re: [Zope] apache open proxy configuration problem

2005-12-21 Thread Tino Wildenhain
Ed Colmar schrieb: > Hey All.. > > I'm following up on this thread after lots of different configuration > attempts, reinstalling apache2 from source, more configuration attempts, > banging my head against the wall, and endless troubleshooting.. > Unfortuantely I am still failing to configure thi

Re: [Zope] apache open proxy configuration problem

2005-12-21 Thread Jens Vagelpohl
On 21 Dec 2005, at 23:09, Ed Colmar wrote: Hey All.. I'm following up on this thread after lots of different configuration attempts, reinstalling apache2 from source, more configuration attempts, banging my head against the wall, and endless troubleshooting.. Unfortuantely I am still fa

Re: [Zope] apache open proxy configuration problem

2005-12-21 Thread Ed Colmar
Hey All.. I'm following up on this thread after lots of different configuration attempts, reinstalling apache2 from source, more configuration attempts, banging my head against the wall, and endless troubleshooting.. Unfortuantely I am still failing to configure this correctly. Thankfully t

Re: [Zope] More on understanding conflicts

2005-12-21 Thread Dennis Allison
The side effect is that sessions will live longer than the specified period, up to 300 seconds longer if session-resolution-seconds is set to 30 seconds. In my case, setting it higher helps, b ut does not eliminate the problems. On Wed, 21 Dec 2005, Maciej Wisniowski wrote: > > >The missing d

Re: [Zope] More on understanding conflicts

2005-12-21 Thread Maciej Wisniowski
The missing detail here is that reading a session object causes a write to the database to update the last access time for that session object. So what looks like a plain old read to the application code above, in-fact includes a write just below the surface. (This is a design choice so that sta

Re: [Zope] More on understanding conflicts

2005-12-21 Thread Chris McDonough
On Dec 21, 2005, at 2:17 PM, Dennis Allison wrote: I have begun to think that the Zope session variable mechanism, as implemented, addresses a different part of the storage spectrum than we need. A small number of per user parameters (3 to 10) are used by almost every request. Most of the p

Re: [Zope] More on understanding conflicts

2005-12-21 Thread Dennis Allison
Michael -- You raise an interesting point. We use sessions to hold the volatile state for each user in a highly interactive, highly personalized site. A session lasts from login until logout or until there has been no activity for a long time. Perhaps, if I were to simply excise the session ti

Re: [Zope] More on understanding conflicts

2005-12-21 Thread Chris McDonough
On Dec 21, 2005, at 1:07 PM, Dennis Allison wrote: Sorry if I appeared unresponsive--the fact that we use frames is hardly a secret. I suppose that it would be helpful to make up soem summary of features for ongoing threads like this one. It was a secret to me (again, perhaps because of m

Re: [Zope] How to make good architecture in Zope2?

2005-12-21 Thread Roman Suzi
Lennart Regebro wrote: On 12/20/05, Roman Suzi <[EMAIL PROTECTED]> wrote: Lets suppose that I've done OO Analysis and have a dozen of nice classes which model my problem domain. Lets also suppose that I did it on the basis of known use cases. Now I want to build Web application fulfilling th

Re: [Zope] More on understanding conflicts

2005-12-21 Thread Michael Dunstan
On 12/22/05, Dennis Allison <[EMAIL PROTECTED]> wrote: > The issue here has had to do with session variables and their iteraction > with the persistence mechanism and conflicts and multiple threads for the > same session. Chris McDonough has pointed out that session variables can > cause writes an

Re: [Zope] More on understanding conflicts

2005-12-21 Thread Dennis Allison
On Wed, 21 Dec 2005, Chris McDonough wrote: > On Dec 21, 2005, at 11:38 AM, Dennis Allison wrote: > > > > > Chris, > > > > You asked about frames a while back and I responded in the > > affirmative. > > I am sure I mentioned that we use frames and framesets and > > explained that > > we use a

Re: [Zope] More on understanding conflicts

2005-12-21 Thread Chris McDonough
On Dec 21, 2005, at 12:40 PM, Dennis Allison wrote: Chris W, The issue here has had to do with session variables and their iteraction with the persistence mechanism and conflicts and multiple threads for the same session. Chris McDonough has pointed out that session variables can cause

[Zope] Zope/CMF developer required

2005-12-21 Thread FAIRS, Dan, FM
Hi, The Royal Bank of Scotland is looking to recruit a contract developer to join the Corporate Markets Content Management System development team. The successful candidate will meet or exceed the following requirements: - 3 years experience developing with Python, Zope and the CMF - 3 years wo

Re: [Zope] More on understanding conflicts

2005-12-21 Thread Dennis Allison
Chris W, The issue here has had to do with session variables and their iteraction with the persistence mechanism and conflicts and multiple threads for the same session. Chris McDonough has pointed out that session variables can cause writes and write conflicts even if the only Zope level access

Re: [Zope] More on understanding conflicts

2005-12-21 Thread Chris McDonough
On Dec 21, 2005, at 11:38 AM, Dennis Allison wrote: Chris, You asked about frames a while back and I responded in the affirmative. I am sure I mentioned that we use frames and framesets and explained that we use a bit of Javascript to manage loading individual frames rather than loading

Re: [Zope] More on understanding conflicts

2005-12-21 Thread Dennis Allison
Chris, You asked about frames a while back and I responded in the affirmative. I am sure I mentioned that we use frames and framesets and explained that we use a bit of Javascript to manage loading individual frames rather than loading the entire frameset whenever possible. Still, your point

Re: [Zope] More on understanding conflicts

2005-12-21 Thread Tino Wildenhain
Chris McDonough schrieb: .. > This is still a reasonable thing to do, but if you can get away with > using sessions in only *one* of the pages of your frameset, things will > get much better. > Or even drop frames completely. They are too much pain for too less gain imho. ___

Re: [Zope] More on understanding conflicts

2005-12-21 Thread Chris McDonough
On Dec 21, 2005, at 10:32 AM, Dennis Allison wrote: Thanks again Chris for the helpful comments. The navigation_box, in this context is just a table which is rendered into a frame in our standard frameset. It is not an iframe. So you do use frames! That's a huge clue. I wish I didn't feel l

Re: [Zope] More on understanding conflicts

2005-12-21 Thread Chris Withers
Dennis Allison wrote: Ah so desu. That's the conceptual hook I was missing. Only one transaction per request and no subtransactions! ZODB substransactions won't help you here in the slightest... A transaction is processing initiated by a client request or a redirect. (Anything else?) A

Re: [Zope] zope and LDAP for authorisation

2005-12-21 Thread Marinussen, M.J. (Ria)
Hi Jens, you were right, there was a problem with the way I configured the added attribute in the LDAP Schema tab.. a stupid problem actually. When you add an attribute that does not exist in LDAP and want to use that as a login name attribute, it obviously does not work and zope simply returns "

Re: [Zope] More on understanding conflicts

2005-12-21 Thread Dennis Allison
Thanks again Chris for the helpful comments. The navigation_box, in this context is just a table which is rendered into a frame in our standard frameset. It is not an iframe. In the sense I used them below, a transaction and a request are the same thing. This follows from the fact that each

Re: [Zope] zope db question

2005-12-21 Thread Infor Gates
Zope comes with a built-in tutorial and an example. It is a good starting point.Jos� Carlos Senciales Chaves <[EMAIL PROTECTED]> wrote:Hi   I am new phyton and zope programmer.   I have to make a product for zope and i must use a list of groups with a lot of data.   I�m wondering if i

Re: [Zope] Zope, Apache, REMOTE_USER

2005-12-21 Thread Alan Milligan
Robert Boyd wrote: > FWIW, my situation is a Shibboleth setup where I wrote a customized > Cookie Crumbler to recognize the identity of an authenticated user > requesting a Zope CMF site. It identifies the principal's user id > through REMOTE_USER. Hmmm, I think what is happening is that Zope's HT

Re: [Zope] Zope, Apache, REMOTE_USER

2005-12-21 Thread Robert Boyd
> Regardless, REMOTE_USER is just an environment variable, and if you can > *prove* it's being set in Apache but not passed to Zope, I'd be surprised. > > You can also use Apache directives to do this as well. It's been a > while but SetEnv does spring to mind... > It's an environment variable in

[Zope] Re: zope db question

2005-12-21 Thread Rocky Burt
Hi José, If you're "learning" how to use Zope then it'd be best (imho) for you to learn how to do it with the ZODB (this is the 'default' way to store data persistently in Zope). Later on if you have a specific reason to put this in a relational database (please, don't use gadfly) then it'll be

Re: [Zope] More on understanding conflicts

2005-12-21 Thread Chris McDonough
Write conflicts happen for a transaction. In Zope, there is one transaction per request. There are two distinct sections to the navigation_box transaction. There's a transaction for something named "navigation_box"? Is this an IFRAME? One where the session variables are read and a sec

Re: [Zope] zope db question

2005-12-21 Thread Andreas Jung
--On 21. Dezember 2005 11:09:14 +0100 José Carlos Senciales Chaves <[EMAIL PROTECTED]> wrote: Hi I am new phyton and zope programmer. I have to make a product for zope and i must use a list of groups with a lot of data. I´m wondering if i must to use a list of persistent objects or if it´

Re: [Zope] More on understanding conflicts

2005-12-21 Thread Maciej Wisniowski
There are two distinct sections to the navigation_box transaction. One where the session variables are read and a second where they are used. To minimize conflicts, the what is now a single tranaction should be split into two separate transactions. Any thought as to how to do that? If navig

Re: [Zope] error installing zope from source

2005-12-21 Thread Martijn Pieters
On 12/20/05, adeline nombre <[EMAIL PROTECTED]> wrote: > the problem now is that when I do "make" there is this error message:" does > not find file /usr/lib/python2.3/config/Makefile . And when > I look in /usr/lib/python2.3/ , there is no directory "config". > I have python2.3. > my OS is debian

[Zope] zope db question

2005-12-21 Thread José Carlos Senciales Chaves
Hi   I am new phyton and zope programmer.   I have to make a product for zope and i must use a list of groups with a lot of data.   I´m wondering if i must to use a list of persistent objects or if it´s better use a database like gadfly with tables or another one.   I´m a little confuse. I

Re: [Zope] Zope, Apache, REMOTE_USER

2005-12-21 Thread Alan Milligan
Jens Vagelpohl wrote: > I think you missed the point. The main reason to ditch it is the fact > that there is no one who is willing and able to support the code for it > in Zope. Just because someone comes up with a combination where FCGI > might have a benefit still does not give us a developer

Re: [Zope] question for anyone using apache on windows

2005-12-21 Thread Chris Withers
I'm sure there's an Apache list you could be asking these questions, this has nothing to do with Zope. #apache on irc.freenode.net is where I'd go ;-) Chris michael nt milne wrote: Hi Ok so I looked at this stuff but can't find anything listed for point 3. Also I had to set Plone to listen o

Re: [Zope] Zope, Apache, REMOTE_USER

2005-12-21 Thread Jens Vagelpohl
I think you missed the point. The main reason to ditch it is the fact that there is no one who is willing and able to support the code for it in Zope. Just because someone comes up with a combination where FCGI might have a benefit still does not give us a developer to support it. jens O

[Zope] FTP rights problem

2005-12-21 Thread Martin Koekenberg
Hello,   When a user connects with FTP to a Zope folder with only rights on that subfolder he can't create a folder or delete files. He has the Manager role and all the rights.   Is this a bug or do I have to give this user Manager rights to the root of the zope instance ? Or is there an

[Zope] Re: a binary of zope for debian

2005-12-21 Thread Maik Ihde
adeline nombre <[EMAIL PROTECTED]> writes: > Hi. it's me again. I'm in trouble. Can somebody tell me where to fin a binary of zope for debian which can be run with python2.3. ? thank you very much If you want an actual Zope version you will need to install it from source, which is very easy

Re: [Zope] List within a list - how to use in a page template

2005-12-21 Thread Cameron Beattie
David H wrote: # python script # input: a tuple named tup of index items to include in list of lists, eg (1,3) and the list of lists #example input: listoflists = [[61282125371L, 1, 6, 0], [61282125379L, 1, 6, 0], [61282825240L, 6, 6, 0]] #example tup: (1,3) ret = [] for i in range(len(li