Re: [Zope] New to zope
> So, I am asking for advice. My website is going to be fairly simple. I need a > user base which I don't expect to grow beyond 100 users, and for each user I > need a pretty typical login/register/lost your password page and probably a > cookie based session tracking. > > Any product that covers my needs ? I had a quick look at a few user products, > but most of them seem to be targetted to authenticate users through external > resources (database, apache, ...) while I just need the good old cookie way. There is PAS (Pluggable Authentication Service). It has some plugins built in. In your case the simplest configuration may be: 1. Install PAS product 2. Create a folder with ZMI and set permissions you want (usually View for authenticated users) 3.Add PAS instance to this folder - this will create acl_users folder 4. Go to acl_users and add two plugins: 1. CookieCrumbler (or something like that - I don't remember name) 2. ZODB UserManager 5. Activate these plugins (in their properties) 6. Go to ZODB UserManager plugin and add a new users and open new browser window and try to access your folder. 7. AFAIR you may define own login page and set property for cookie crubler to use this. 8. Forgot password needs to be done somewhere else. -- Maciej Wisniowski ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] New to zope
Now, the second step. I now have a basic understanding of how zope works thank to the zope book. I want to start developing my website. I had a look at the different products available and my god ! there are hundreds of them. None of them who really do exactly what you want. Most products that are Open Source do stuff which is highly relevant only to Zope solutions. So, I am asking for advice. My website is going to be fairly simple. I need a user base which I don't expect to grow beyond 100 users, and for each user I need a pretty typical login/register/lost your password page and probably a cookie based session tracking. Any product that covers my needs ? I had a quick look at a few user products, but most of them seem to be targetted to authenticate users through external resources (database, apache, ...) while I just need the good old cookie way. I've written a few of these now. We have our own user database and write our own login form, permissions, user admin all in python and SQL using nothing of the Zope security that you've read about in the book. Example:: def attemptLogin(self, username, password): user = self.SQLSelectUser(username=username, password=password) if user: self.REQUEST.SESSION.set('uid', user.uid) redirect("logged-in") else: redirect("login-form?had_fun=no") You can use the Zope object database for some configuration or content management but continue to most of the business in SQL and just use Zope as a framework rather than an application server. One hint: If you stick to Zope 2.8.8 or older you can use Product Refreshing which means you won't have to restart Zope for every trivial little change or upgrades. Thanks in advance, Philippe Fremy ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] new to zope basic questions
- Original Message - From: "Michael Douglass" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 25, 2000 12:04 PM Subject: [Zope] new to zope basic questions > just started working through the zcmg document from the zope site & have > already found a question i cant answer. completed the first tutorial but my > screen does not have such things as the control panel etc down the left > side. i am wondering if i accessed the interface correctly. the process i > followed was > 1. logged into the members part of zope.org > 2. then accessed the 'Manage items in your personal folder' link > this seemed to give me the appropriate interface without control panel etc. > have gone to add a user & there is no acl users link etc. > sorry about asking such basic questions but am stumped. I believe the ZCMG is intended for your own installation of Zope. Zope.org provides a restricted subset of Zope's features... To really play with Zope (and add-on Products, etc.), I'd recommend downloading and installing it. You'll find you can get Zope up and running on most platforms very easily. Kevin ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )