Re: [Zope3-Users] Re: Blog naming proposals
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 blog products out there sooner or later. :-) ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Re: Blog naming proposals
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://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] Blog naming proposals
On 5/28/07, Jonathan [EMAIL PROTECTED] wrote: blathers pretty close to blether ... so it would make sense one who chatters incessantly, or to engage in long winded and/or idle talk. personally, I'm a fan of z3blag a la http://xkcd.com/c148.html :P Bleurg. As in I gat meself a bleurg! :-) -- 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] best practice for serving static content by front-end webserver?
On 1/13/07, Sascha Ottolski [EMAIL PROTECTED] wrote: Now, when grepping the zope sources, and third party packages, the included files are spread around. that seems to make it impossible to write proper rewrite rules. if a request wants /++resource++/image.gif the webserver couldn't possibly know if image.gif is found in app/Zope-3.3.0/lib/python/zope/app/i18n/browser/ or in app/Zope-3.3.0/lib/python/zope/app/rotterdam/ or in various other directories that carry images. It seems that your objective is to not have Zope serve images. I think the easiest way to do that is to use a cache that has a very long cache-timeout for images. I've found Varnish to be very flexible and useable. The way to figure out where an image is located and then returning it is called traversal and Zope already does that, and you are unlikely to actually be able to make 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] Open Ofice and Zope
On 11/3/06, Sreeram Raghav [EMAIL PROTECTED] wrote: Hello, Here I have a starnge problem. I created a knowledge base of a certain bunch of documents(PDF, MSWORD, OO) My question is when I click on the link to that document using zope(ZMI), it prompts me to use a client side application. 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 Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Looking for best practice in content indexing
On 10/3/06, Thierry Florac [EMAIL PROTECTED] wrote: - generally speaking, is it better to keep a single big catalog, or a set of many catalogs, each of them indexing a smaller set of classes ? I suppose that querying is more simple with a single catalog, but what about general performances ?? That completely depends on what you are gonna do. I would say that you should have one catalog, except for specail cases, where you index a certain type only to do a certain type of lookups. (In those cases, you often don't even need a whole catalog, but a BTree is often enough). - I have to index main content, but also reference classes which are used to classify my main content (example : I describe forests in a first step and afterwards, my main contents can be affected to one or more forests). In such a case, I want to make queries concerning forests themselves, but also queries about main content concerning forests they are attached to (to get, for example, every subject attached to a given forest). In this case also, is it better to keep track of the reference itself (myContent.forest = myForest) or of an attribute of the reference (myContent.forestId = myForest.uniqueId) ?? I'd go with the attribute, although I guess a field index should be able to index the object directly (haven't tried though). - perhaps a stupid question, but what's the best method to get the equivalent of Zope2's meta_type indexing, to only get instances of a given class, when queried indexes 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 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.3.0 - Adding Utilities to Content Space
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 utilities to a Site Mgmt Folder You can see it like this: The difference between a folder 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 Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Zope 3.3.0 - Adding Utilities to Content Space
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 utilities to a Site Mgmt Folder You can see it like this: The difference between a folder and a site has lessened. Folders are no more or less content space than sites. Any thing you can browse too is content. ;-) No, Lennart, this is wrong. A site is still very much a site (ISite determines site-ness, nothing else). They're still regular folders that contain content. The only difference between sites and folders is that sites are a palce where you can make local component registrations. This is still the same in Zope 3.3, only the constraint *where* these components live has changed. Yes, I realized what he meant after I posted, and hoped nobody would notice my mistake. :-) -- 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] Logout
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, 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 as WSGI app using mod_python
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 anyway. :) You will still have Zope3 running, you just won't use zserver. If it's easy to set it up that way I don't know. It makes theoretical sense to do so however, so keep us posted. Could somebody tell me what the status of this stuff is? Is it just an experiment which might be dropped in the future? Has somebody experiences to share? WSGI is pretty cool. The Zope 3 implementation seems stable. ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Blog package
On 8/17/06, David Pratt [EMAIL PROTECTED] wrote: * Accessing /blog/ will show a list of all posts by reverse date order * Accessing /blog/year/, eg /blog/2006/ will show a listing of posts for just that year. * Accessing /blog/year/month/, eg /blog/2006/12/ will show a listing of posts for that month. * Accessing /blog/year/month/day/, eg /blog/2006/12/20/ will show all postings on that particular day * Accessing /blog/year/month/day/article will show a particular article. What!? Does people actually WANT that? I thought that was just an effect of either crappy 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://www.cps-project.org/ ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Time for a Decimal field type in zope.schema?
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 http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] Re: [Zope3-dev] z3c vs. the zorg
On 8/25/06, Martijn Faassen [EMAIL PROTECTED] wrote: Technically it isn't a problem, that's why it's not at all essential. But it might be nice for some other reasons: * people who write a new community package knows which namespace to use * we could present this to the outside world a bit 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/mailman/listinfo/zope3-users
Re: [Zope3-Users] CoInitialize and Zope3
On 7/21/06, Luke Benstead [EMAIL PROTECTED] wrote: These exceptions seem to occur in the rollback transaction code in adodbapi. After a bit more investigation I noticed that rollbackTrans was being called because of an exception stemming from C:\Python24\Lib\site-packages\twisted\python\threadpool.py Now my questions are... are these errors occurring because of the use of Coinitialize()? and if so how can I use CoInitialize with Zope3 so that I can use adodbapi? I suspect that it will be easier for those in the know answer that question if you say what the twisted exception is. Error 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
Re: [Zope3-Users] Re: I fold. What are ++etc++ and ++resource++ etc?
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, 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
On 6/1/06, Stephan Richter [EMAIL PROTECTED] wrote: Yes, the PO file format is totally independent of Zope and Python. However, the directory structure is not independent of which i18n implementation you have. ;) Five and Zope3 uses the same one, though: lang/LC_MESSAGES/domain.mo I think Plone uses: lang/LC_MESSAGES/domain.po Notice the difference, Zope3/Five requires you to compile to po files, Plone doesn't. CPS uses another one completely. On Wednesday 31 May 2006 04:29, Chris Withers wrote: - How would I mark up constant and computers strings in zodb-based Python Scripts? Mark up? - How do I generate .pot files from ZPTs, Python Scipts and External Methods? I used to use PTS' .missing functionality and just spider the whole app. Is something similar available in Zope 2.9/3 land? In Zope 3 you can simply call utilities/i18nextract.py; it will extract all 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 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?
On 5/29/06, Frank Burkhardt [EMAIL PROTECTED] wrote: Different factories won't help because the user should be able to update the file object's content after ist was created. Yeah, that's what I suspected. I still have the feeling there must be a better way, but I have no answers now. :) I want to make an object provided one interface (IFile) always and one interface (IImage) sometimes. Sometimes means whenever libmagic thinks, the file is an Image. I don't want to modify any interface but only the object's list of provided interfaces. That is certainly possible, even if I don't 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] Debugger for Zope 3
On 4/26/06, Stephan Richter [EMAIL PROTECTED] wrote: WingIDE's debugger is superb. Once you set the thread count to 1 it should work. At some point we'll have to write a small package that installs the debugger hook automatically. For now duplicating the Zope 2 steps and the Zope 2 product 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 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
On 4/5/06, David Pratt [EMAIL PROTECTED] wrote: Hi. I am interested in Z3 for a desktop app and would be looking at using py2exe and py2app for packaging along with the gui and its functionality. It seems at the outset this might be sort of messy since Zope typically expects to live somewhere other than site-packages at the outset and then has its own packages to deal with. Yes, but the zope packages only expect to be somewhere on the python path. That this is usually not in site-packages doesn't matter. I am curious to know whether Zope's packaging will eventually change to be like 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 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] Are views destroyed after processing
On 4/5/06, Reinhold Strobl [EMAIL PROTECTED] wrote: What about the creation and destroying of views? Are they always created new, when a request receives? And then afterwards, are they destroyed? Or are they one created at program start? Well, since the constructor is called, I think they are always created new, Correct. but is there any documentation about that? Well... Views are adapters, and that's how adapters work. Otherwise you would have to have a pool of them that you need to keep track of and know which ones are used and the reinitialize them and that would just 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-users
Re: [Zope3-Users] ZODB storage ways
On 4/3/06, Shane Hathaway [EMAIL PROTECTED] wrote: - For online replication and availability (PGStorage theoretically replaces not only FileStorage but also ZEO and ZRS) OK, good reason. However, pickles aren't transparent, so PGStorage doesn't match the requirements. Well, the dude hasn't 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] ZODB storage ways
On 4/3/06, Reinhold Strobl [EMAIL PROTECTED] wrote: I am searching for a way to change transparently the storage of ZODB from file-base to a relational database. In general, Zope books state, that this is possible. Yes. By changing the storage from FileStorage to something that stores pickles 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, 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
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 to get 2.1. :) -- 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] The Zope Software Certification Program and CommonRepository Proposal
On 2/22/06, Lukasz Lakomy [EMAIL PROTECTED] wrote: Hello Stephan and all 1. Zope Certified Company. Soemthing similar to certificates given by commercial companies: Microsoft, Oracle etc. Sometimes there are companies creating comemrcial aplications with Zope. They have no possibility to make them open source or to contribute to Zope 3 development. But they want to measure their quality of work and comapre to other companies/competitors. So I'm thinking also about levels of maturity for company. It could be achieved by participations in some trainings or maybe by audits from Zope Corporation. It won't be free of course! It always look nice on the comapny website where there is a logo Technology X certifies and makes the comapny trustworthy. 2. Zope Certified Programmer. They are also certificates for persons who know given technology. Why we cannot make it for Zope also? For example if a company wats to employ a programer it could state that he needs Zope Certified Programmer Level X. This shows the maturity of developer and be motivating for him. The base leves should be obtained by sending some piece of code, next level after some Internet chat, rest maybe on exams during sprints or in the company that are being certified. The knowledge for base levels should be checked via Internet because of long distances. It also should be free or very cheap, the higher levels may be more expensive. Doing these things requires that you make a complete certification scheme, with several courses and tests to make sure that it people have thr right knowledge, and update courses and update tests for new versions, and handling of the database of certified people and companies and making sure it's up to date and all that. All in all there would have to be several full time people involved in this. So, it's quite evident that this is nothing the community has any sort of capacity to handle. There are however, companies that do this. But as far as I know, they do it because another company pays them. Developing the courses and the tests is a heavy investment, that has to be slowly recouperated over time by certifying people, and certification companies would probably not want to take that risk with a small market such as Zope development. That would men that the Zope foundation would have to pay for it, and I don't think it can afford to, and even if it could, there are better ways. However, the Zope Foundation provides an alternative. Organisations and people can become members of the foundation. I don't remember the details, you'd have to check out that discussion instead. Although it's not certification, it provides people and companies 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 list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] Debugging doctests
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 of the doctests. Right?) This has been fixed since ages. :-) Ah, not in Zope 2.9 it seems. Is this expected, or an I doing something wrong? I'm running the Five tests with bin/zopectl test --dir Products/Five as usual, and having a set_trace() in the doctests behaves exactly as with the old test runner, where you have to debug though the doctest running as well, which makes it pretty useless... Hang on, I just tried it with Zope 3.2 too, and it didn't work either. What am I doing wrong? -- 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: [Zope] Debugging doctests
On 2/23/06, Stephan Richter [EMAIL PROTECTED] wrote: How do you want to use the debugger? I'd like to be able to step through the tests. I run the tests, if the set_trace() occurs it throws me to the prompt and all is fine. I can use the debugger as usual. When I do this, I get a prompt. Pressing next returns to the running of the tests, not the next line of the test. Here is an example: import pdb;pdb.set_trace() gsm = zope.component.getGlobalSiteManager() gsm.provideUtility(I1, ob) gsm.provideUtility(I11, ob11) When I run this, my debuggning session looks like this: $ bin/zopetest --dir zope/component Running unit tests: --Return-- /opt/Zope-3.2.0/lib/python/zope/testing/doctest.py(351)set_trace()-None - pdb.Pdb.set_trace(self) (Pdb) s --Return-- doctest zope.component.tests.test_getAllUtilitiesRegisteredFor[4](1)?()-None - import pdb;pdb.set_trace() (Pdb) s /opt/Zope-3.2.0/lib/python/zope/testing/doctest.py(1257)__run() - self.debugger.set_continue() # Example Finished (Pdb) s --Call-- /opt/Zope-3.2.0/lib/python/zope/testing/doctest.py(353)set_continue() - def set_continue(self): (Pdb) s /opt/Zope-3.2.0/lib/python/zope/testing/doctest.py(356)set_continue() - if self.__debugger_used: (Pdb) s /opt/Zope-3.2.0/lib/python/zope/testing/doctest.py(357)set_continue() - pdb.Pdb.set_continue(self) (Pdb) s --Call-- /usr/lib/python2.4/bdb.py(196)set_continue() - def set_continue(self): (Pdb) s /usr/lib/python2.4/bdb.py(198)set_continue() - self.stopframe = self.botframe (Pdb) s As you see, I can't even step into that next line. And even if I could, the necessity of having to step through the doctestrunning would be a major pain in the ass. Here is a non-doctest exampe as comparison. This is what I want: import pdb;pdb.set_trace() sm = zapi.getSiteManager() sm.registerUtility(IDummyUtility, dummy1) sm.registerUtility(IDummyUtility, dummy2) - sm = zapi.getSiteManager() (Pdb) n /home/zopes/cps34/Products/Five/site/tests/test_utility.py(209)test_registeringTwiceIsConflict() - sm.registerUtility(IDummyUtility, dummy1) (Pdb) n /home/zopes/cps34/Products/Five/site/tests/test_utility.py(210)test_registeringTwiceIsConflict() - sm.registerUtility(IDummyUtility, dummy2) (Pdb) s --Call-- /home/zopes/cps34/Products/Five/site/localsite.py(147)registerUtility() - def registerUtility(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://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
On 2/23/06, Chris McDonough [EMAIL PROTECTED] wrote: I dunno about sucking because they are quite good for documentation, Oh, absolutely. but I tend to write plain-old unittests instead of doctests when I'm testing without any pretense towards writing documentation. Exactly my sentiments. Being able to set a breakpoint in the test body is important for me too. I probably could be setting breakpoints once I'm in the debugger Well, how do you set a breakpoint in something which has no py-file and line, but is in a text-document or string? :-) Not to mention, doctests 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
[Zope3-Users] Re: [Zope3-dev] Re: [Zope] Re: The Zope Software Certification Program and Common Repository Proposal
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 that this was two independent things. I sure didn't. So, the idea is to have a website for listing Zope3 products with it's certification. And another idea is to have a common repository, with rules for that. One question is then what requirements to have on repositories that join into the certification process. Same as on the ZF repository? None at all? Something in the middle? ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Accessing an attribute of 'context'
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 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] (Beginner's) Questions concerning ZopeX3 Component Communication
On 2/17/06, Reinhold Strobl [EMAIL PROTECTED] wrote: I am new to ZopeX3 and currently working with components. I would like to build a client/server application. The client (no browser) should be able to invoke methods of the component in the ZopeX3 Server. I have seen examples based on XML-RPC, but are there no other possiblities, which enables remote calls in an integrated way, I mean, is something like following is possible: Server (Zope): === Interface IReceipeInfo Implementation of that interface: class ReceipeInfo(object): implements(IReceipeInfo) ... def getTimeToCook(self): return ... Client (Python) == rec = ReceipeInfo() rec.getTimeToCook() I mean, is a remote call in that kind possible? No. The client and server are two different computers. 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/mailman/listinfo/zope3-users
Re: [Zope3-Users] What attributes are made persistent
On 2/15/06, Peter Bengtsson [EMAIL PROTECTED] wrote: D'oh! That's confusing. Isn't there a class that gathers all of these in one. All of who? It seems confusing, you derive from Persistent but only some are accepted. Does that mean that there's PersistentFloat and PersistentTuple too? 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/ ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] What attributes are made persistent
On 2/14/06, Florian Lindner [EMAIL PROTECTED] wrote: Hello, in a class derived from Persistent, which attributes are stored? All or only those thar are declared in the interface? All. def __init__(self): self.queue = {} self.queue seem is empty each time I restart Zope. 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/mailman/listinfo/zope3-users
Re: [Zope3-Users] Trying to use browser:form - 404
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/ ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Generations of Zope and Enterprise Culture
On 2/9/06, Edward Pollard [EMAIL PROTECTED] wrote: place to be. However, non-Zope development groups on campus have asked me: So, what will we do when another version of Zope comes along that will completely break backwards compatibility again? Nothing. Why would yo do anything? Zope3 will not stop working if Zope4 comes along, just as Zope2 has not stopped working when Zope3 came along. Certainly this discussion has to have taken place somewhere before. Oh yeah. Hundreds of thousands of times with different software. It's a variation of the forward compatibility-discussion, but forward compatibility is a myth. Nobody can predict the future. Will the bright minds behind Zope 3 come up with something even brighter and make something completely new? Possibly, we don't know. Or some Ruby guys will come up with it and everybody will shift to a new completely incompatible version of Ruby on Rails. Or Microsoft can suddenly decide to go open source. NOBODY KNOWS. All we can do is guess, and most of our guesses wll be wrong. Therefore: You do today, what works today, and worry about tomorrow when it happens. For example, what did you do in 1998, and did you in 1998 know what you would be doing today? If you in 1998 knew that you were going to have a Zope 2 based website, then they have a point. If you don't, then they don't have a point. :-) Now, how you break that information to management, is nothing I can help you with. ;-) We have as much invested in ColdFusion as we do Zope 2 and there is a perceptual issue here I'm not certain how to correct via education. Ah! But unlike Zope2 or Zope3, ColdFusion *will* break when incompatible versions come out, because it's closed source, so you can't fix the bugs. With open source you can. If the bug is too complex, yo can pay somebody to fix it for with. With ColdFusion, you're up shit creek without a debugger. Clearly Zope 3 does so much more out of the box to support the standards based semantically driven web site we are saying we want in our needs assessment documents, but it is a hard thing to sell. I'm the worst salesman in the world. All I can do is shoot other peoples arguments to pieces. ;-) Second, the existence of Zope 3 has completely shot any support for Zope 2 continuation out of the water in our environment. Is this fair, or is there life left to the Zope 2 tree we've developed 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://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] Generations of Zope and Enterprise Culture
On 2/10/06, Edward Pollard [EMAIL PROTECTED] wrote: Is this a viable strategy? We'd really be starting from scratch, so would such an approach enhance our work or hold us back? Five is a viable strategy, but unless you need Zope2 products it will most likely just hold you back. It seems the more I read about Five the less I understand the point of Zope3, but I chalk that up to my ignorance. Well, no, Five is all about getting Zope3 technology into Zope2. It's there fore people who want the component thinking but can't move to Zope3. It may be that Five ends up making Zope2 and Zope3 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@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] Simple Acquisition
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 for each item/folder they want to display? A web application platform is not something you design with. Teaching the web designer interfaces an python probably does not help, you still can't design it with Zope 3. You design *for* Zope 3, which is an altogether different issue. Zope 2 was a way to create web sites, that was too good at it and got used as an application server instead. Zope 3 is an application server. http://blogs.nuxeo.com/sections/blogs/lennart_regebro/2005_10_04_zope2-vs-zope3-faq ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] How To Solve in Zope 3
On 2/3/06, David Johnson [EMAIL PROTECTED] wrote: There will exist the situation in which some hosts will have IP addresses on different networks. Should networks be the container? Should hosts? Some other solution? What would you do? The network do ont contain the hosts, they conect them, 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/ ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] How To Solve in Zope 3
On 2/5/06, David Johnson [EMAIL PROTECTED] wrote: That is exactly it. I wonder how to connect them in the ZMI. So far, my leading thought is to create a Network container that contains IP Addresses. I will then register the Hosts as utilities. Each IP address will have be able to select a Host utility. Well, how about storing is persistent list of ip-adresses on the host, which you then can look up the ip-address object with? From a python perspective all of this is no problem; it's making it all presentable and manageable that is the crux. I think you are overcomplicating 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@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Re: Please Guido, pick me, pick me!
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. Eh, no... You could do Zope 2.10 Fluffybunny as well. ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Please Guido, pick me, pick me!
On 2/2/06, Jean-Marc Orliaguet [EMAIL PROTECTED] wrote: I think this has to do with python being used both as a scripting language and as a language to create high-level components. There will always be a category of users looking for quick-and-dirty templating capabilities in web frameworks and others looking for more abstract components that address issues from a more abstract and certainly more complex perspective. I was thinking the same thing, and I have started thinking about if there is a way to use Zope 3 for quick and dirty stuff as well. The answer is probably no, but still. ;) -- 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: Anybody has answers to this? Re: Beginner looking for help...
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 of document saying we created Zope 3 for the following reasons Other than fun, of course, like what problems in Zope 2 is it trying to solve. Aha. An IManagerbabble implementation with no available IUsefulness adapters. The whole model of viewlets/portlets, how to skin/theme, etc. could really use a nice online tutorial, even though Zope 3 is currently undergoing transition in this area. Yup, you are right, the docs are weak there. -- 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
On 1/20/06, Andreas Jung [EMAIL PROTECTED] wrote: It's even worser (due to a calculation error): 10 billion would mean 310 tx/second but 100 billion would mean 3100 tx/second...you should look for something _bigger_. 3100 WRITE transactions per second? 3100 changed or added objects per second? 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/mailman/listinfo/zope3-users
Re: [Zope3-Users] Zope 3 Capacities
On 1/19/06, David Johnson [EMAIL PROTECTED] wrote: I'm trying to scope out Zope 3's capacities. A quick note: In the things you mention, Zope 2 and Zope 3 are similar, as they both use the same ZODB. So answers to your question could equally be done with Zope 2 example. And I personally do not have a high volume site, but such sites has been installed. The people who did that gets to answer on how big they were. :) The bottleneck with ZODB tends to be writing transactions, while just reading transactions is handled with much greater ease, so that's the most critical data in tis type 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 Ready for Production? Really?
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 please go ahead. If you can come up with ways to improve what you think are weak points, then please do so. ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Zope 3 vs Zope 2
On 1/10/06, David Johnson [EMAIL PROTECTED] wrote: We're producing a new application, and wondering, should we use Zope 3 or Zope 2? Well, maybe this can help: http://blogs.nuxeo.com/sections/blogs/lennart_regebro/2005_10_04_zope2-vs-zope3-faq Is Zope 3 ready for a production environment? 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] Web Component Development w/ Zope 3 - reviews?
The worst part is that the books complement each other so you really want both. :-D Stephan Richters book is terse and detailed, Philipp von Weitershausens book is more explaining but doesn't have all the details. But, that also means that I recommend Philipp von Weitershausens Web Component 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