Dieter Maurer wrote:
The RAMCacheManager is associated with (what I call) site building
objects (those have an identifying URL, for example).
Why do you think that?
"User" objects are not site building.
But in zope, they should always have a url ;-)
The UserFolder is but usual implementations do no
Dieter Maurer wrote:
You are probably right -- but "SimpleUserFolder" is really "simple" (which
sometimes is good).
Simpler is ALWAYS good, as the name of my company kinda gives away ;-)
Nothing should ever be less simple than is absolutely necessary!
Had *you* used all these reusable components t
Chris Withers wrote at 2005-4-7 13:33 +0100:
exUserFolder has built in caching (positive and negative caches),
>>>
>>>Dunno what that means, but SUF supports caching via standard
>>>RAMCacheManagers
>>
>> That sounds very strange: user objects cached in a RAMCacheManager...
>
>Why? How does t
Chris Withers wrote at 2005-4-7 13:29 +0100:
> ...
>I believe in re-using lots of simple compments to build complex
>applications. I hate to see loads of common concepts like caching,
>sessions, cookie-management and rdb interaction re-implemented in
>non-reusable ways so many times...
You are
Dieter Maurer wrote:
exUserFolder has built in caching (positive and negative caches),
Dunno what that means, but SUF supports caching via standard
RAMCacheManagers
That sounds very strange: user objects cached in a RAMCacheManager...
Why? How does that memory-based cache differ in concept from th
Dieter Maurer wrote:
I is just that with "exUserFolder", there is a management page
where you configure the parameters for the user cache -- that's all
of it. No special Python Scripts, no association with a RAMCacheManager,
no headache with invalidation (after user object changes through the API).
Chris Withers wrote at 2005-4-5 23:52 +0100:
>Dieter Maurer wrote:
>> exUserFolder has built in caching (positive and negative caches),
>
>Dunno what that means, but SUF supports caching via standard
>RAMCacheManagers
That sounds very strange: user objects cached in a RAMCacheManager...
>or ZSQL
Chris Withers wrote at 2005-4-6 10:04 +0100:
> ...
>Oh right, well, again, should be fairly trivial to setup with python
>scripts and RAMCacheManagers.
When I called "exUserFolder" a big brother of "SimpleUserFolder"
I did not want to imply that you can not add all the missing
features to "Simple
Jens Vagelpohl wrote:
"negative" caching means that there is a separate cache to cache failed
user lookups for a while and return a failure immediately instead of
re-trying the user lookup doing a (possibly expensive) user search in
the underlying backend.It's a little bit like Squids negative_t
I am not sure I have much to add. I have been concerned about your
product architecture and unusual login procedure, but that is really non
of my business. Some of what you say below is inconsistent:
> One problem that concerns next query is that it took only one table
> for user details whereas
On Apr 6, 2005, at 0:52, Chris Withers wrote:
Dieter Maurer wrote:
exUserFolder has built in caching (positive and negative caches),
Dunno what that means, but SUF supports caching via standard
RAMCacheManagers or ZSQL method caching.
"negative" caching means that there is a separate cache to cach
HI Cliff,
I was hoping another reply eagerly. hope you dint give up on me.
I've got some clarifications given below.
On Mon, 04 Apr 2005 16:08:50 +0100, Cliff Ford <[EMAIL PROTECTED]> wrote:
> I am abstracting bits of your email below in case anyone else wants to
> join in.
>
> If you a
Dieter Maurer wrote:
exUserFolder has built in caching (positive and negative caches),
Dunno what that means, but SUF supports caching via standard
RAMCacheManagers or ZSQL method caching.
directly integrates with the MembershipTool
What does that entail? SUF should quite happilly replace the use
On Tue, Apr 05, 2005 at 09:32:04PM +0200, Dieter Maurer wrote:
> exUserFolder has built in caching (positive and negative caches),
I guess that by "negative cache" you mean something like
a cache of failed user lookups?
Nice.
--
Paul Winkler
http://www.slinkp.com
___
Chris Withers wrote at 2005-4-5 13:54 +0100:
>Dieter Maurer wrote:
>> "exUserFolder" is something like the big brother of
>> "SimpleUserFolder" -- much more complex but also much more flexible...
>
>I dispute that ;-)
That is usual with us two ;-)
>I don't know of anything you can do with XUF tha
Dieter Maurer wrote:
"exUserFolder" is something like the big brother of
"SimpleUserFolder" -- much more complex but also much more flexible...
I dispute that ;-)
I don't know of anything you can do with XUF that can't be done with SUF...
Chris
--
Simplistix - Content Management, Zope & Python Cons
Hi list,
I've got some clarifications given below.
On Mon, 04 Apr 2005 16:08:50 +0100, Cliff Ford <[EMAIL PROTECTED]> wrote:
> I am abstracting bits of your email below in case anyone else wants to
> join in.
>
> If you are going to use Plone I can't offer advice - I have looked at
> Plone on
prabuddha ray wrote at 2005-4-4 01:41 -0700:
> ...
>> A combination of exUserFolder and MySQL would do.
>
>i don know about them, something like mysqluserfolder or
>simpleuserfolder components ?
"exUserFolder" is something like the big brother of
"SimpleUserFolder" -- much more complex but also mu
I am abstracting bits of your email below in case anyone else wants to
join in.
> I dint want to built customized login page in 1st place. Actually this
> is a Govt. stores management site used in my state only bulit all in
> ASP. I 've to convert this into a Zope and Plone version.
> So i wanted
Hi list,
never before i got such a holistic advice.
thanks so much Cliff.
About the 1st mail,
On Sat, 02 Apr 2005 17:03:56 +0100, Cliff Ford <[EMAIL PROTECTED]> wrote:
> Customisation of the login sequence is quite difficult for Newbies
> because there are lots of different ways to approach the p
prabuddha ray wrote at 2005-4-2 04:38 -0800:
> ...
>I've gone through the zopebook but dint find much help there.
>
>can u plz tell me where do i get to know about pythopn scripting done
>in zope n ZPT examples.
The Zope Book (2.7 edition, online) definitely gives help
on python scripting -- retry
I have been trying to think of ways of providing specific pointers, So,
assuming you have a custom login page and a custom python script that
processes that page:
In the Python script you could set a cookie for the District:
context.REQUEST.RESPONSE.setCookie('District', district)
where district
Customisation of the login sequence is quite difficult for Newbies
because there are lots of different ways to approach the problem - you
have already tried some. I suspect that trying to match what was done in
PHP may be part of your problem. It would be helpful to know if your
lists of users
Its been very kind of u all to be critical about a newbie like me.
I'll definitely lookout for those ettiquetes.
My python script error got solved as i missed the silly ' ' in the
response.redirect statemnet.
I set the user and pwd request vars in sesson var.
Tried cookie crumbler and MysqlUserF
prabuddha ray wrote at 2005-3-30 23:50 -0800:
> ...
>now my problem how n where do i check d pwd n redirect to the next zpt
>or the previous one if its wrong.
Apparently, you need some background reading...
Especially, you need to understand that HTTP is a stateless
protocol and *EACH* request mu
Cliff Ford wrote:
> Use SimpleUserFolder and CookieCrumbler, and cut out the cute
> abbreviations like "n" and "d" while you're at it.
I second that! I have started hitting the delete button rather than
engage in the mental translation.
I gave up and added ray to my spam can procmail rule. Oh we
> Use SimpleUserFolder and CookieCrumbler, and cut out the cute
> abbreviations like "n" and "d" while you're at it.
I second that! I have started hitting the delete button rather than
engage in the mental translation.
Cliff
Chris Withers wrote:
prabuddha ray wrote:
now my problem how n where do
Somhorst JJT wrote:
You could try to look at the tutorial on devshed.com. They created a login
system using text files. Its not exactly
as you want but it gives you an idea about how to handle things :)
Talk about re-inventing wheels. Zope has an amazingly powerful and
flexible security architec
prabuddha ray wrote:
now my problem how n where do i check d pwd n redirect to the next zpt
or the previous one if its wrong.
i've a zsql method giving me the pwd for the user param passed.
i wanted to kno if i can call this method on d onsubmit event?
kindly gimme solns u've in mind.
Use SimpleUse
: donderdag 31 maart 2005 9:50
To: zope@zope.org
Subject: [Zope] Re: login page problem
thnx dieter n chris,
i cudnt make my point clear.
1st a recap : i've a zpt login page wherein i have got the district
name n coressponding users drop down list built.
now after select
thnx dieter n chris,
i cudnt make my point clear.
1st a recap : i've a zpt login page wherein i have got the district
name n coressponding users drop down list built.
now after selecting d district n username d passwd is to b filled.
then d form is to b submitted.
It has to
31 matches
Mail list logo