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 to
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 not
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
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
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 cache
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
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
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
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
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 that can't be
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
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
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 much more
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
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
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
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 must
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
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
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 i
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 well,
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 :)
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of
prabuddha ray
Sent:
22 matches
Mail list logo