Re: [Zope] Core Session Tracking kudos namespaces

2001-01-07 Thread Chris McDonough
On Thu, 4 Jan 2001 19:48:53 -0800 (PST) Bob Sidebotham [EMAIL PROTECTED] wrote: --- Somebody wrote: Of course, the best solution would be for the 'magic' lookup to be optional... Alright, I've not a zope master, but isn't this already provided generically with: dtml-with

Re: [Zope] Core Session Tracking kudos namespaces

2001-01-07 Thread Tres Seaver
"Chris McDonough" [EMAIL PROTECTED] wrote snip I think the idiom here will be: dtml-with "datamgr.getSessionData()" mapping dtml-var foo /dtml-with But I don't see how to do that, because if I stick a dtml-with, for instance, into generic header code (included, for example, by

Re: [Zope] Core Session Tracking kudos namespaces

2001-01-04 Thread Chris Withers
Chris McDonough wrote: So the question becomes: do we want DTML namespace lookup magic or no DTML namespace lookup magic for names that we attempt to look up in a session data object? I don't know the answer. I'm so sick of magic at this point that I'm apt to vote "no", but if it affords

Re: [Zope] Core Session Tracking kudos namespaces

2001-01-04 Thread Phil Harris
- Original Message - From: "Chris Withers" [EMAIL PROTECTED] To: "Chris McDonough" [EMAIL PROTECTED] Cc: "Dieter Maurer" [EMAIL PROTECTED]; "Bob Sidebotham" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, January 04, 2001 9:57 AM Subject

Re: [Zope] Core Session Tracking kudos namespaces

2001-01-04 Thread Dieter Maurer
Chris McDonough writes: So the question becomes: do we want DTML namespace lookup magic or no DTML namespace lookup magic for names that we attempt to look up in a session data object? Maybe, we do not want the magic automatically but have a simple way to call for it, when we like. I

Re: [Zope] Core Session Tracking kudos namespaces

2001-01-04 Thread Bob Sidebotham
--- Somebody wrote: Of course, the best solution would be for the 'magic' lookup to be optional... Alright, I've not a zope master, but isn't this already provided generically with: dtml-with SESSION only All these arguments leave me a little confused: As a newbie, I read the zope

Re: [Zope] Core Session Tracking kudos namespaces

2001-01-04 Thread Bob Sidebotham
--- Chris McDonough [EMAIL PROTECTED] wrote: I sympathize with the need to convert all your scripts over to use sessioning from hidden form-field encoding and the like... I'd really appreciate some input as to what kinds of problems you're trying to solve with sessioning. I don't have any

Re: [Zope] Core Session Tracking kudos namespaces

2001-01-03 Thread Dieter Maurer
Chris McDonough writes: Currently, nothing would be acquired, and the dtml-var a call will fail inside of a "with sessiondatamanager" even if we did have a __getattr__ interface to session data objects Are you sure? As I understand it, at least a dtml-with

Re: [Zope] Core Session Tracking kudos namespaces

2001-01-03 Thread Chris McDonough
EMAIL PROTECTED] Sent: Wednesday, January 03, 2001 4:50 PM Subject: Re: [Zope] Core Session Tracking kudos namespaces Chris McDonough writes: Currently, nothing would be acquired, and the dtml-var a call will fail inside of a "with sessiondatamanager" even if we

[Zope] Core Session Tracking kudos namespaces

2001-01-02 Thread Bob Sidebotham
1. The Core Session Tracking looks like it will be really helpful. I AM BLOWN AWAY BY THE QUALITY OF THE DOCUMENTATION. Congratulations for making really readable, easy to use installation and use instructions. Part of the reason I'm so blown away, of course, is that the quality of this

Re: [Zope] Core Session Tracking kudos namespaces

2001-01-02 Thread Chris McDonough
1. The Core Session Tracking looks like it will be really helpful. I AM BLOWN AWAY BY THE QUALITY OF THE DOCUMENTATION. Congratulations for making really readable, easy to use installation and use instructions. Part of the reason I'm so blown away, of course, is that the quality of this

Re: [Zope] Core Session Tracking kudos namespaces

2001-01-02 Thread Bob Sidebotham
The advantage of the last form (below), is that you can use acquisition, and don't need to know whether the variable came from the session or from elsewhere. If you *really* want it to come from the session only, you can always add the "only" tag to the dtml-with call. In conjunction with this,

Re: [Zope] Core Session Tracking kudos namespaces

2001-01-02 Thread Bob Sidebotham
And as I've just figured out by trying to convert some stuff to sessions, a not unconsequential result of allowing session variables to be acquired (if only for read purposes), is that existing code is easier to adapt. I might now call a script without burying form variables or parameters in the

Re: [Zope] Core Session Tracking kudos namespaces

2001-01-02 Thread Chris McDonough
hurt in a real-world app. Thanks much for all the input! - C - Original Message - From: "Bob Sidebotham" [EMAIL PROTECTED] To: "Chris McDonough" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, January 02, 2001 11:55 PM Subject: Re: [Zope] Core Session Tracking kudo