Hi, I am new to Zope and I plan to develop a small web site. I am developing at the moment on windows although the final site will go under Linux. I am almost finished reading the zope book. First thing, it was difficult to download Zope. The website lists two versions of zope 2.9.x and 2.10.x , none of which has a windows installer, although the book explicitely said there should be one :-) I had to get back to 2.9.4 to get a windows installer, that would not work out of the box. I was also confused of whether I should use zope 2 or zope 3. The zope book does not mention anything about it, but I soon figured out that the zope book seem to be made for zope 2. I also had a look at different products but it is very difficult to tell if they are for zope 3 or zope 2. Or is zope 3 backward compatible with zope 2 ? Is there any doc about zope 3 ? Since the book is made for zope 2, I think I'll stay with that one. I can not go without documentation. As a newcomer, I must say that the documentation is not very consistent or easy to find. Many resources speak about a zope wiki, which does not exist anymore. Another zope wiki is available, but is not cited in the main documentation page. The main wiki page is a huge list of modules, where it is difficult to find one's path. I assume the wiki is mainly for developers, not for users, right ? The main documentation page of zope also points to zdp.zope.org as a documentation project effort, but the website does not exist. :-( 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. 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. Thanks in advance, Philippe Fremy
Hi Philippe
I was also confused of whether I should use zope 2 or zope 3.
The zope book, which you found, is targetting Zope 2.6 or 2.7 - the whole documentation Area on zope.org is basically outdated and a total mess. Sorry for that, but actually zope.org is not in a good shape which will hopefully change in the future.
are for zope 3 or zope 2. Or is zope 3 backward compatible with zope 2 ?
No, but many good things from Zope3 get backported to Zope2 using a bridge product called "Five".
Is there any doc about zope 3 ? Since the book is made for zope 2, I think I'll stay with that one. I can not go without documentation.
There is an excellent book on Zope3 by Philipp v. Weitershausen, there will be an updated version out at the end of the year, see http://www.worldcookery.com/ for further infos, and also some quick start tutorial stuff about Zope3. Basically, if you want to develop your website from scratch, then you should go for Zope3. It is a complete rewrite with many new and good concepts. There is also a different mailing list for zope3 users.
different products available and my god ! there are hundreds of them.
If you want, you can have a few full blown CMS Systems, based on Zope2: look for Plone, Silva or even ZMS. Or you can use the CMF (Content Management Framework) to build your own Site. Would you rather use a full blown solution, including wysiwyg Editing, Workflows, and many predefined content types, so you can quickly begin customizing its visual appearance or do you want to build your own? Kind Regards Maik
Thanks for the answers so far. Maik Ihde wrote:
If you want, you can have a few full blown CMS Systems, based on Zope2: look for Plone, Silva or even ZMS. Or you can use the CMF (Content Management Framework) to build your own Site.
Would you rather use a full blown solution, including wysiwyg Editing, Workflows, and many predefined content types, so you can quickly begin customizing its visual appearance or do you want to build your own?
The thing is, I don't need a CMS. I don't need customised appearance, powerful editing feature and so on. Basically, my users will login into the website, and configure a few parameters for a service, and then see regularly the output of the service. The service will be managed by an external python script. So, the website is only there for keeping information about users, which part of the service did they subscribed to, with which options. I just need a kind of simple "login or create new account" stuff, and the ability to store data associated with each user. The website is really small scale. regards, Philippe
+-------[ Philippe Fremy ]---------------------- | | Thanks for the answers so far. | | Maik Ihde wrote: | > If you want, you can have a few full blown CMS Systems, based on Zope2: look for | > Plone, Silva or even ZMS. Or you can use the CMF (Content Management Framework) | > to build your own Site. | > | > Would you rather use a full blown solution, including wysiwyg Editing, | > Workflows, and many predefined content types, so you can quickly begin | > customizing its visual appearance or do you want to build your own? | | The thing is, I don't need a CMS. I don't need customised appearance, powerful | editing feature and so on. | | Basically, my users will login into the website, and configure a few parameters | for a service, and then see regularly the output of the service. The service | will be managed by an external python script. | | So, the website is only there for keeping information about users, which part of | the service did they subscribed to, with which options. | | I just need a kind of simple "login or create new account" stuff, and the | ability to store data associated with each user. http://sourceforge.net/projects/exuserfolder/ Is a user folder that lets you authenticate your users against pretty much anything, as well as let you store arbitrary properties against those users in a fairly simple manner (in just about any place). -- Andrew Milton akm@theinternet.com.au
Hmm, I have the feeling that you really want to take a closer look at Zope3... Kind Regards Maik
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
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
participants (5)
-
Andrew Milton -
Maciej Wisniowski -
Maik Ihde -
Peter Bengtsson -
Philippe Fremy