Re: [Zope3-Users] newbie problems with new content-type
Chris Withers wrote: Lorenzo Gil Sanchez wrote: c:\path\to\my\instance\bin\test -vpu --dir z:\my_root_app_dir [ traceback ] ImportError: No module named z:.my_root_app_dir Is my_root_app_dir on your PYTHON_PATH? Yes it is also, do you have __init__.py files in \tests? Yes I do If you have, you should be able to do: c:\path\to\my\instance\bin\test -vpu tests c:\zope\development\bin\test -vpu tests Running tests at level 1 Total: 0 tests, 0 failures, 0 errors No tests are found :( Thanks anyway Lorenzo ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] New User: Zope 2, or Zope 3?
Hi folks! I'm starting work on a from-scratch web application, and I'd like to use this as a first-time-application using Zope. (Actually, this is not really the first time... but my previous was something really simple way back in the Zope 1 days, so... just pretend this is first-time). I'm trying to get started quickly (of course), and want to do it reading as much documentation as possible, without depending on you fine folk too much for help. From my research it seems that there's a bunch of documentation and tutorials geared around Zope 2, but not anywhere near as much for Zope 3, and Zope 3 seems a vastly different beast than '2'. So, my question is... should I stick with Zope 2 for the moment (with its plethora of documentation), or dive right into Zope 3 and battle it out (and depend more on the community for any lack of documentation)? In particular, I DO want a decent tutorial to work through to get me started (and I cant find one of any depth at all for Zope 3). Or... can I use the Zope 2 tutorials to work through Zope 3 ?? My background: I'm a seasoned python developer, and have written my own web-frameworks for various applications. This time I want to use something more 'mainstream' so other developers on the project have something 'familiar' to work with, or at least something that will be useful to learn. The application will need to connect to a PostgreSQL database, and would like some simple authentication plugins so end-users of the application can create accounts, log in, and have data restricted based on logins. Nothing much more fancy than that. Thanks kindly for your consideration! -- (`-/)_.-'``-._Chris Cogdon [EMAIL PROTECTED] . . `; -._)-;-,_`) (v_,)' _ )`-.\ ``-' _.- _..-_/ / ((.' ((,.-' ((,/ fL ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] New User: Zope 2, or Zope 3?
On Feb 8, 2006, at 6:05 PM, Chris Cogdon wrote: Hi folks! I'm starting work on a from-scratch web application, and I'd like to use this as a first-time-application using Zope. (Actually, this is not really the first time... but my previous was something really simple way back in the Zope 1 days, so... just pretend this is first-time). I'm trying to get started quickly (of course), and want to do it reading as much documentation as possible, without depending on you fine folk too much for help. From my research it seems that there's a bunch of documentation and tutorials geared around Zope 2, but not anywhere near as much for Zope 3, and Zope 3 seems a vastly different beast than '2'. Yes, it is. So, my question is... should I stick with Zope 2 for the moment (with its plethora of documentation), or dive right into Zope 3 and battle it out (and depend more on the community for any lack of documentation)? In particular, I DO want a decent tutorial to work through to get me started (and I cant find one of any depth at all for Zope 3). Jim's tutorial is a very good start. Philipp's book is a bit out of date but still generally very valuable and would probably be your next stop. Stephan's book is usually recommended for working after Philipp. Or... can I use the Zope 2 tutorials to work through Zope 3 ?? Nope. They share the ZODB, and basic object publishing concepts. Recently, Zope 2 has begun integrating Zope 3 technologies, but it's still more like Zope 3 knowledge can be back-ported to parts of Zope 2, but not vice versa, much. My background: I'm a seasoned python developer, and have written my own web-frameworks for various applications. Sounds like you are a Zope 3 candidate then. If you want through-the- web development, Zope 2 is what you want (ATM, at least); if you want more standard python development, Zope 3 is what you want. This time I want to use something more 'mainstream' so other developers on the project have something 'familiar' to work with, or at least something that will be useful to learn. The application will need to connect to a PostgreSQL database, and would like some simple authentication plugins so end-users of the application can create accounts, log in, and have data restricted based on logins. Nothing much more fancy than that. Sounds like a good Zope 3 app. The authentication stuff should be custom plugins for zope.app.authentication. I don't remember where the DBA for PostgreSQL is, but it's in the svn.zope.com repository someplace (and others can point it out). Gary ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] New User: Zope 2, or Zope 3?
On 2/9/06, Chris Cogdon [EMAIL PROTECTED] wrote: I'm trying to get started quickly (of course), and want to do it reading as much documentation as possible, without depending on you fine folk too much for help. From my research it seems that there's a bunch of documentation and tutorials geared around Zope 2, but not anywhere near as much for Zope 3, and Zope 3 seems a vastly different beast than '2'. Right. So, my question is... should I stick with Zope 2 for the moment (with its plethora of documentation), or dive right into Zope 3 and battle it out (and depend more on the community for any lack of documentation)? In particular, I DO want a decent tutorial to work through to get me started (and I cant find one of any depth at all for Zope 3). Quick answer: If you need a product that runs on Zope 2, like for example CPS, Plone or Silva, you should use Zope 2. Otherwise you should use Zope3. Longer answer: http://blogs.nuxeo.com/sections/blogs/lennart_regebro/2005_10_04_zope2-vs-zope3-faq I'd guess you'd be more happy with Zope3. It's much more Pythonic. Or... can I use the Zope 2 tutorials to work through Zope 3 ?? Nope. ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] New User: Zope 2, or Zope 3?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, there are two books, one from Philipp von Weitershausen, the other from Stephan Richter. You may have a look at http://www.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/ProgrammerTutorial http://www.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/FrontPage/Zope3Book http://www.benjiyork.com/quick_start/ Egon Chris Cogdon schrieb am 09.02.2006 00:05: Hi folks! I'm starting work on a from-scratch web application, and I'd like to use this as a first-time-application using Zope. (Actually, this is not really the first time... but my previous was something really simple way back in the Zope 1 days, so... just pretend this is first-time). I'm trying to get started quickly (of course), and want to do it reading as much documentation as possible, without depending on you fine folk too much for help. From my research it seems that there's a bunch of documentation and tutorials geared around Zope 2, but not anywhere near as much for Zope 3, and Zope 3 seems a vastly different beast than '2'. So, my question is... should I stick with Zope 2 for the moment (with its plethora of documentation), or dive right into Zope 3 and battle it out (and depend more on the community for any lack of documentation)? In particular, I DO want a decent tutorial to work through to get me started (and I cant find one of any depth at all for Zope 3). Or... can I use the Zope 2 tutorials to work through Zope 3 ?? My background: I'm a seasoned python developer, and have written my own web-frameworks for various applications. This time I want to use something more 'mainstream' so other developers on the project have something 'familiar' to work with, or at least something that will be useful to learn. The application will need to connect to a PostgreSQL database, and would like some simple authentication plugins so end-users of the application can create accounts, log in, and have data restricted based on logins. Nothing much more fancy than that. Thanks kindly for your consideration! - -- Egon Frerich, Freudenbergstr. 16, 28213 Bremen E-Mail: [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (MingW32) Comment: GnuPT 2.7.2 Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFD6n96uTzybIiyjvURAoL0AJ9YlEpls4B9LN5dF+sAyy7Vl6vQHwCglMWZ OexMbN9tRKBEXoKNNCAo79Q= =Xkkc -END PGP SIGNATURE- ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] Re: [Zope3-dev] Re: Do we really want Zope 3 marketing talk isolated on zope-web?
Michael Haubenwallner wrote: Gary Poster wrote: I'm not sure shuffling the hype and Zope 3 marketing conversations to zope-web is a good idea. I'm not trying to fix zope.org (eek), and I'm not trying to improve the Zope 2 image (though that would be nice too). I, and I think others, are interested in marketing Zope 3. As such, are we really such a big group that we should divide up onto a *third* list (zope3-users, zope3-dev, and zope-web)? I haven't signed up there yet, myself. I feel like going off isolates the people working on the marketing stuff: new blood doesn't see the work and possibly join in; and old easily-annoyed-and-unsubscribed-to-yet- another-freaking-list blood doesn't have visibility of the work. Yes, this has been a lot of email messages, but I'd rather hang out together. Thoughts? 'Zope-web' has always been the list to talk about zope websites related stuff (there's just been zope.org until now). If its about scope and implementation it should be on zope-web. Working on marketing stuff (and i think you are talking about content and direction here) could as well happen in zope3-dev or zope3-users lists. Right, zope-web is for working together and building a better web presence for Zope. I happen to believe that this is absolutely essential, vital, and integral to marketing Zope. It's the core of how we present ourselves, and everything else is less than secondary, if done in isolation from a better communication on what Zope is, what it's good for, etc. Evidently a lot of people disagree with me on this, and think that fixing these other aspects of Zope marketing first will work better. I haven't really seen an explanation for how that would work while we retain the present zope.org as the only web presence Zope 2 and Zope 3 have. Somehow people don't seem to be discussing other activities much in the recent threads, such as the writing intro text, of tutorials, designing and presenting screencasts, gathering links and other information. So, if you just want to chat about marketing, there's no need at all to go to zope-web. Perhaps you shouldn't in fact, as it might distract us from the core task at hand there, which is zope.org. If you agree with me that the website is the core problem we need to tackle (and the other issues will come along with it), then please join zope-web and help us write text, organize a website, refine a website layout, and so on. Regards, Martijn ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] Extending interfaces and implementations
Hi, when a class is augumented of a new attribute, my understanding is that the instances created with the older version of the class will not have that attribute. Will the interfaces and methods that are also updated to reflect the new attribute will fail on older instances? Is there any migration tools used to update old instances? Does one have to rewrite it every time one does an upgrade? I guess one could decide to populate that attribute with its default value like most systems tend to do.. but what methods would I have handy? Is a completely different strategy used, like versioning of classes with templates and class method implementations linked to the specific version of the instance's class? Maybe the problem I am talking about only concerns ZODB based repositories of objects and not RDBs. Does everyone use RDBs? Also how difficult would it be to add a runtime reload of zcml configurations or python modules? Was it a design decision not to have this handy, or would such a feature be interesting for the community? Thanks Ben. ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Examples
Hi, My two cents worth - A lot of time is spent saying Zope3 is different to Zope2 -- its better (and I wholeheartedly agree). However, there is a lot of stuff which is in the zope 2 books which is applicable to zope3, but is absent. eg: ZPT design, SQL integration. Is it possible for those relevant chapters to be merged in with the zope3 documentation? Regards, Adam Stephan Richter wrote: On Friday 13 January 2006 16:45, David Johnson wrote: I'm having trouble getting comfortable with how to architect applications in Zope 3. Does anyone know of specific examples or sites that would provide ideas? For example, I've having trouble with SQL integration and passing parameters with ZPT, building menus and navigation, and setting up logins/managing users. Did you read the books? They cover quite a bit of information. There are also several sample apps out there that you can use as examples. Regards, Stephan ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Extending interfaces and implementations
I think you might find that zope3 generations address your requirement. See: http://svn.zope.org/Zope3/trunk/src/zope/app/generations/README.txt?view=markup As far as reloads go, it would be very useful, but my understanding is that it is hard to implement reliably. My workaround is to do as much development in your tests as possible, so I can mostly avoid restarts. Maybe someone else can explain exactly how hard it would be to add reloads. MattOn 2/8/06, Behrang Dadsetan [EMAIL PROTECTED] wrote: Hi,when a class is augumented of a new attribute, my understanding isthat the instances created with the older version of the class willnot have that attribute. Will the interfaces and methods that are also updated to reflect the new attribute will fail on older instances?Is there any migration tools used to update old instances? Does onehave to rewrite it every time one does an upgrade? I guess one could decide to populate that attribute with its default value like mostsystems tend to do.. but what methods would I have handy?Is a completely different strategy used, like versioning of classeswith templates and class method implementations linked to the specific version of the instance's class?Maybe the problem I am talking about only concerns ZODB basedrepositories of objects and not RDBs. Does everyone use RDBs?Also how difficult would it be to add a runtime reload of zcml configurations or python modules? Was it a design decision not to havethis handy, or would such a feature be interesting for the community?ThanksBen.___ Zope3-users mailing listZope3-users@zope.orghttp://mail.zope.org/mailman/listinfo/zope3-users ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users