Re: [Zope3-Users] How to organize common code for Z2 and Z3

2005-04-13 Thread Lennart Regebro
distribution with that layout could be provided as well. Anything bad with this? -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/ ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org

Re: [Zope3-Users] Web Component Development w/ Zope 3 - reviews?

2005-06-22 Thread Lennart Regebro
Development with Zope 3 as the one to get first. -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/ ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Disappearing dictionary. Upon restart, dictionary resets.

2005-09-21 Thread Lennart Regebro
, the dictionary comes up empty. You need to use a PersistentDictionary. Ordinary dictionaries do not detect that they have changed, and so do not get written to the ZODB. -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org

Re: [Zope3-Users] Direct ZODB access in a Zope3 instance

2005-12-02 Thread Lennart Regebro
On 12/1/05, Brad Allen [EMAIL PROTECTED] wrote: The self.context is used in a mysterious way here. Nothing in the class definition binds it. Well, the MessageDetails class is used as a mix-in into a BrowserViewClass. The browser views init does: def __init__(self, context, request):

Re: [Zope3-Users] Zope 3 vs Zope 2

2006-01-10 Thread Lennart Regebro
? Yes. -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/ ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Zope 3 Ready for Production? Really?

2006-01-14 Thread Lennart Regebro
On 1/14/06, David Johnson [EMAIL PROTECTED] wrote: I know I've asked this before, but I still have to question whether Zope 3 is ready for a production environment. I don't understand the purpose of this post. If you don't think it's ready, then don't use it. If you think it's ready, then

Re: [Zope3-Users] CalCore from CPS and Zope3?

2006-01-18 Thread Lennart Regebro
. -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/ ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Zope 3 Capacities

2006-01-19 Thread Lennart Regebro
of evaluations, I would guess. -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/ ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Zope 3 Capacities

2006-01-20 Thread Lennart Regebro
? Yes, I want to know what kind of web app creates that amount of data too. ;) -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/ ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org

Re: [Zope3-Users] Anybody has answers to this? Re: Beginner looking for help...

2006-01-21 Thread Lennart Regebro
On 1/20/06, Roman Susi [EMAIL PROTECTED] wrote: - is there any conception strategy associated with Zope3 ? What is a conception strategegy? - is there any place where I could find good and small applications samples or tutorials, notably about viewlets ? Well, you already have the Zope 3

Re: [Zope3-Users] Re: Anybody has answers to this? Re: Beginner looking for help...

2006-01-22 Thread Lennart Regebro
On 1/22/06, Jeff Rush [EMAIL PROTECTED] wrote: Lennart Regebro wrote: On 1/20/06, Roman Susi [EMAIL PROTECTED] wrote: - is there any conception strategy associated with Zope3 ? What is a conception strategy? Sounds like he wants a architectural direction document, some kind

Re: [Zope3-Users] Please Guido, pick me, pick me!

2006-02-02 Thread Lennart Regebro
. ;) -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/ ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Re: Please Guido, pick me, pick me!

2006-02-03 Thread Lennart Regebro
. What, there is now Zope 2, Zope 3 AND Zope Zingo? -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/ ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3

Re: [Zope3-Users] Re: Please Guido, pick me, pick me!

2006-02-03 Thread Lennart Regebro
On 2/3/06, Alen Stanisic [EMAIL PROTECTED] wrote: I think the idea was Zope 3.2 Zingo, Zope 3.4 Bingo, not Zope Zingo :) Well, all we do then is making funny release code names. That's not clarifying the difference between Zope 2 and Zope 3 at all... This way it would be clear it is Zope 3.

Re: [Zope3-Users] Re: Please Guido, pick me, pick me!

2006-02-03 Thread Lennart Regebro
then people will see it as a release code name, because that's what it will be. -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/ ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org

Re: [Zope3-Users] How To Solve in Zope 3

2006-02-04 Thread Lennart Regebro
, and the hosts do not contain the networks, so neither, a far as I can see. You need separate networks and hosts lists, where the hosts can be connected to one or more networks. -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org

Re: [Zope3-Users] How To Solve in Zope 3

2006-02-04 Thread Lennart Regebro
it. When the python level is ready, it's really only a question of how to generate the HTML code to display it... -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/ ___ Zope3-users mailing list Zope3-users

Re: [Zope3-Users] Simple Acquisition

2006-02-06 Thread Lennart Regebro
On 2/4/06, David Johnson [EMAIL PROTECTED] wrote: If I understand correctly, a non-technical web designer would not be able to do much design work with Zope 3 unless they understand how to program interfaces also or they would have to design the old-fashioned way by creating a separate page

Re: [Zope3-Users] New User: Zope 2, or Zope 3?

2006-02-08 Thread Lennart Regebro
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

Re: [Zope3-Users] Generations of Zope and Enterprise Culture

2006-02-10 Thread Lennart Regebro
some experience in? Should I be considering pitching a Zope 2 solution instead? There is definitely life in Zope2 left. It will without any doubt be supported and developed for years to come, although the development is now mostly on consolidation with Zope3. -- Lennart Regebro, Nuxeo http

Re: [Zope3-Users] Generations of Zope and Enterprise Culture

2006-02-10 Thread Lennart Regebro
merge completely in some future, but as noted before: Nobody really knows how the world looks in five years. -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/ ___ Zope3-users mailing list Zope3-users

Re: [Zope3-Users] Trying to use browser:form - 404

2006-02-10 Thread Lennart Regebro
instead of browser:form, does it work then? -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/ ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Trying to use browser:form - 404

2006-02-11 Thread Lennart Regebro
Look at the recend email from Helmut Merz [EMAIL PROTECTED] in this thread. He did exactly what I want and it works without an implements. Yes, because he is not using browser:form. -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org

Re: [Zope3-Users] What attributes are made persistent

2006-02-14 Thread Lennart Regebro
. That's because dictionaries are not derived from Persistent. Try PersistentDict. -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/ ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org

Re: [Zope3-Users] What attributes are made persistent

2006-02-15 Thread Lennart Regebro
? Because floats and tuples are not mutable. You can't change them, so the don't need to know that they should be persisted when changed. If not, why *only* dicts? There is also PersistentList. -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org

Re: [Zope3-Users] (Beginner's) Questions concerning ZopeX3 Component Communication

2006-02-17 Thread Lennart Regebro
. For that reason you must use some kind of network protocol to communicate between them. -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/ ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org

Re: [Zope3-Users] Accessing an attribute of 'context'

2006-02-20 Thread Lennart Regebro
On 2/20/06, Frank Burkhardt [EMAIL PROTECTED] wrote: Works: self.context.myattribute Works: removeSecurityProxy(self.context).__getattribute__('myattribute') What I want to do: Doesn't work: self.context.__getattribute__('myattribute') getattr(self.context, 'myattribute') -- Lennart

[Zope3-Users] Re: [Zope3-dev] Re: [Zope] Re: The Zope Software Certification Program and Common Repository Proposal

2006-02-21 Thread Lennart Regebro
OK, so it is now clear from Stephans comments that thsi really is two separate proposals, just mixed into one file because of Stephans workload. I think we should properly split them up, because this clearly made a lot of people confused, and I wonder if anybody that read this proposal realized

Re: [Zope3-Users] The Zope Software Certification Program and CommonRepository Proposal

2006-02-23 Thread Lennart Regebro
with some sort of stamp of we are commited and knowledgable in this area which of course is the whole point of certification. :) -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/ ___ Zope3-users mailing

[Zope3-Users] Debugging doctests

2006-02-23 Thread Lennart Regebro
On 2/21/06, Stephan Richter [EMAIL PROTECTED] wrote: On Tuesday 21 February 2006 12:14, Lennart Regebro wrote: (btw, through all this, I assume that Jims fix for the doctest debugging problem that he mentioned did work, and that you now can insert an import pdb;pdb.set_trace() in the middle

[Zope3-Users] Re: [Zope] Debugging doctests

2006-02-23 Thread Lennart Regebro
(self, interface, utility, name=''): (Pdb) I can't seem to be able to do this. There used to be an issue with the debugger not displaying anything, since doctests mess with stdout and that has been fixed. This is what Benji and I were talking about. Oh. -- Lennart Regebro, Nuxeo http

Re: [Zope3-Users] Re: [Zope] Debugging doctests

2006-02-23 Thread Lennart Regebro
do suck. -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/ ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Re: [Zope] Debugging doctests

2006-02-23 Thread Lennart Regebro
are not debuggable from WingIDE. ;-) -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/ ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Re: [Zope] Debugging doctests

2006-02-24 Thread Lennart Regebro
On 2/24/06, Martijn Pieters [EMAIL PROTECTED] wrote: On 2/23/06, Lennart Regebro [EMAIL PROTECTED] wrote: Not to mention, doctests are not debuggable from WingIDE. ;-) In 2.1 you can; the following is the equivalent of pdb.set_trace(): wingdbstub.debugger.Break() :) Oh, cool. I need

Re: [Zope3-Users] Beginner's question: Components without persistence?

2006-02-28 Thread Lennart Regebro
On 2/28/06, Reinhold Strobl [EMAIL PROTECTED] wrote: Hi, I would like to know, if components must always be persistent. Well, in general, only local components, or components who need to store data needs persistence. -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management

Re: [Zope3-Users] Re: Beginner's question: Components without persistence?

2006-02-28 Thread Lennart Regebro
On 2/28/06, Reinhold Strobl [EMAIL PROTECTED] wrote: where do I put application logic??? Ööööh. In Python code? :-) I have the feeling I don't understand the question. -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org

Re: [Zope3-Users] ZopeX3 Component Architecture in comparision to MVC - general question/example

2006-02-28 Thread Lennart Regebro
On 2/28/06, Reinhold Strobl [EMAIL PROTECTED] wrote: Model = Content in Zope View = Views in Zope but what about the controller? As Jean-Marc sais, the view is both view and controller. It turns out that most MVC implementations have trouble separating the view and the controller anyway. If

Re: [Zope3-Users] Re: ZopeX3 Component Architecture in comparision to MVC - general question/example

2006-02-28 Thread Lennart Regebro
On 2/28/06, Reinhold Strobl [EMAIL PROTECTED] wrote: Thanks for the reply. But how would you implement previously described task with the calculator? I would implement it as a view on whatever object I want to view it on. Which may even be *, that is any object. -- Lennart Regebro, Nuxeo

[Zope3-Users] Re: [Zope3-dev] Visionaire! (All your problems, solved)

2006-03-02 Thread Lennart Regebro
product packages like ecm support, and Zope2 backwards compatibility and such makes sense. The Suite does not. -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/ ___ Zope3-users mailing list Zope3

Re: [Zope3-Users] Re: [Zope3-dev] Visionaire! (All your problems, solved)

2006-03-04 Thread Lennart Regebro
. Examples of when things have changed name is when PCMCIA changed name to PC-card. They have had to live with both names forever. I can't think of any product wh has had a successful name change after it's widespread release. -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content

Re: [Zope3-Users] ZODB storage ways

2006-04-03 Thread Lennart Regebro
in an SQL database. Personally, I have never really understood why you'd want to do that. :) But the reality is different, isn't it? Well, no, not really, but the solution mentioned in the Zope boks may not do what you expect. So, question one: What is it you want to achieve? -- Lennart Regebro

Re: [Zope3-Users] ZODB storage ways

2006-04-04 Thread Lennart Regebro
uttered any requirements yet. :) -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/ ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Zope3 as a package

2006-04-05 Thread Lennart Regebro
other things python (and other frameworks like TurboGears or Django) in this regard that are happy to live in site-packages. They should be, yes. Do you have an example of a zope package that doesn't work if it is located in site-packages? -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS

Re: [Zope3-Users] Are views destroyed after processing

2006-04-05 Thread Lennart Regebro
be complicated and error prone and have exactly no benefit. :) -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/ ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3

Re: [Zope3-Users] Debugger for Zope 3

2006-04-26 Thread Lennart Regebro
is the way to go. You don't happen to have that code somewhere? I could probably mold it into a product, and would really like it. Figuring out what the WingDBG product really does is gonna take me way to much time. :) -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management

Re: [Zope3-Users] Reference to a COM object (or other external resource) in a Zope object

2006-05-27 Thread Lennart Regebro
it somewhere into it? Of course. -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/ ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] How to manually define an object's provided interfaces?

2006-05-29 Thread Lennart Regebro
, really have to. -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/ ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] How to manually define an object's provided interfaces?

2006-05-29 Thread Lennart Regebro
like it. :-P -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/ ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] i18n questions

2006-06-01 Thread Lennart Regebro
message strings from Python, ZPT and ZCML files. Last time I tried this didn't work under Five. I haven't tried Since 2.8, though. -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/ ___ Zope3-users

Re: [Zope3-Users] Re: I fold. What are ++etc++ and ++resource++ etc?

2006-06-13 Thread Lennart Regebro
On 6/13/06, Chris Withers [EMAIL PROTECTED] wrote: Indeed. Just as long as it's possible and doesn't involve too much hoop jumping ;-) Yup. And if you name all views something that ends in .html, and never ever call an attribute anything ending in .html, you are fine. :-) -- Lennart Regebro

Re: [Zope3-Users] CoInitialize and Zope3

2006-07-21 Thread Lennart Regebro
messages are usually helpful. -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/ ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

[Zope3-Users] Re: [Zope3-dev] z3c vs. the zorg

2006-08-25 Thread Lennart Regebro
. If there is no interest in merging basic toolkits into the same namespace (which there overwhelmingly was not in the other discussion) then having both z3c and zorg can't be a problem either. ;) -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org

[Zope3-Users] Re: [Zope3-dev] z3c vs. the zorg

2006-08-25 Thread Lennart Regebro
more coherently; look at all these nice zorg components. I completely agree. -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/ ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org

Re: [Zope3-Users] Time for a Decimal field type in zope.schema?

2006-08-31 Thread Lennart Regebro
On 8/31/06, Darryl Cousins [EMAIL PROTECTED] wrote: Hi, For what it may be worth, a Decimal field: Just a note: The format should be localized. In some countries 0,01 is used. (yes, a comma). ___ Zope3-users mailing list Zope3-users@zope.org

Re: [Zope3-Users] Zope 3 as WSGI app using mod_python

2006-09-08 Thread Lennart Regebro
On 7/8/06, Achim Domma [EMAIL PROTECTED] wrote: I'm interested in running Zope 3 via mod_python as WSGI app directly in apache. I like the idea to configure different instances simply in my apache config and don't have to setup different running zope instances. You are gonna have to do that

Re: [Zope3-Users] Blog package

2006-09-08 Thread Lennart Regebro
programming or stupid programmers. :) Can you explain an approach to accomplish something similar in zope3. As long as you also make it possible to access each article with just /blog/article, I'll be happy. :) -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http

Re: [Zope3-Users] Logout

2006-09-22 Thread Lennart Regebro
On 9/22/06, Florian Lindner [EMAIL PROTECTED] wrote: Fix issue 239. Logout feature for Basic HTTP auth. Basic HTTP auth has no logout. All you can do is open a page which you are not allowed to access. The browser should then drop the login/password, however, IE doesn't. -- Lennart Regebro

Re: [Zope3-Users] Zope 3.3.0 - Adding Utilities to Content Space

2006-09-28 Thread Lennart Regebro
and a site has lessened. Folders are no more or less content space than sites. Any thing you can browse too is content. ;-) -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/ ___ Zope3-users mailing list

Re: [Zope3-Users] Zope 3.3.0 - Adding Utilities to Content Space

2006-09-28 Thread Lennart Regebro
On 9/28/06, Philipp von Weitershausen [EMAIL PROTECTED] wrote: Lennart Regebro wrote: On 9/28/06, Tom Dossis [EMAIL PROTECTED] wrote: I've noticed the following changes in the zope 3.3 ZMI Zope 3.3 - Can add utilities anywhere, e.g. to Folders (content space). Zope 3.2 - Can only add

Re: [Zope3-Users] Looking for best practice in content indexing

2006-10-03 Thread Lennart Regebro
are applied to several classes (example : I use adapters to handle workflow publication on a wide set of classes, and I want to retrieve contents of a given class in a given workflow step) ?? Hmm. What a good question. :) -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management

Re: [Zope3-Users] Open Ofice and Zope

2006-11-06 Thread Lennart Regebro
. But I was wondering if I can use the server side open office application to open all the word and open office applications. No. -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.nuxeo.org/ ___ Zope3-users mailing list

Re: [Zope3-Users] best practice for serving static content by front-end webserver?

2007-01-14 Thread Lennart Regebro
it signficantly faster that Zope already does. ;) -- Lennart Regebro: Python, Zope, CPS, Plone. +33 661 58 14 64 ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Blog naming proposals

2007-05-28 Thread Lennart Regebro
! :-) -- Lennart Regebro: Zope and Plone consulting. http://www.colliberty.com/ +33 661 58 14 64 ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Re: Blog naming proposals

2007-06-06 Thread Lennart Regebro
On 6/2/07, Martin Aspeli [EMAIL PROTECTED] wrote: FWIW, I think it'd sound a lot less like a tool for l33t teenagers if it didn't have the Z in it, but otherwise a good choice of name. :) So, it needs to be N01z3, then. :-) Me speek l33t. -- Lennart Regebro: Zope and Plone consulting. http

Re: [Zope3-Users] Re: Blog naming proposals

2007-06-23 Thread Lennart Regebro
On 6/13/07, Fernando Correa Neto [EMAIL PROTECTED] wrote: If you choose for a z in it, then ezblog would make senseas long as you make it *really* easy ;) From experience, and name with ez, ec or any other version of easy is likely a bad idea, as there will be at least three other easy