[Zope-dev] WebDAV Collection/Resource Chameleon Question
We are trying to make a 'folderish' (WebDAV Collection) class appear as a WebDAV Resource to WebDAV clients. I won't go into the reasons why we want to do this unless someone is interested. We have made several attempts at this but have been unsuccessful to date. Rather than go into all the gory details about what we have tried I am asking if anyone could tell me if it is even technically possible to trick the WebDAV machinery (server/client) into treating this class in this way? TIA Eric ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] z3 sprint at pycon?
Absolutely!!! Actually, I was hoping that this is how it might fall out. By hook-or-crook, I want to get two of our developers to pycon. The possibility of a 'web services' z3 sprint would be major icing on the cake (for us). If the interest is not there, however, (hard to get a read on that) any exposure to a sprint (for us) would be great. If the interest is not there, I think we will try and steal a few hours of Brian's busy schedule to (at least) begin mapping out a strategy to move forward with his work (to date). As I said in the past, I will be able to put full-time (long term) developer resources into this effort early next year. Eric Roby Eric you were talking about a Zope 3 Web Services sprint in March? There's likely to be a whole bunch of us at PyCon and with Brian just down the road, it might be a more suitable venue. -- Andy McKay ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Web Services Sprint???
I am responding to this one at home ... so don't confuse the email address ... Sorry ... I agree ... have had some discussions with Steve Alexander and then with Brian and definitely only interested in Zope 3 (MVC) with a possibility (for us) of backporting components of it to Zope 2 if Zope 3 stable doesn't happen until late calendar year 2003. Steve A. is very optimistic though... On a local note ... Fat Tuesday is on March 4th this year. If you haven't been to Mardi Gras well I don't know quite how to explain it... the Krewes pick up the tempo near the end of February and Krewe of Endymion is always a good one ( March 1st). If you want to get down on bourbon street (god help ya) then Krewe of Barkus is on February 23rd. This is the lo-down on this years schedule - http://www.mardigrasday.com/mardigras/schedule.php. Eric - Original Message - From: Andy McKay [EMAIL PROTECTED] To: Brian Lloyd [EMAIL PROTECTED]; Ross J. Reedstrom [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, December 04, 2002 1:28 PM Subject: Re: [Zope-dev] Web Services Sprint??? We'd also be willing to host the WS sprint here in VA if that helps - though New Orleans sounds like a lot more fun! :^) Eric you didn't specify the Zope version, most sprints are for zope 3 and we could do a bigger sprint then. I think any Web Services sprint for Zope 2 or 3 would be pointless without Brian ;) A lot warmer too ;) -- Andy McKay ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope ) ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] Web Services Sprint???
There has been a (tiny) bit of chatter (over the last couple of months) regarding the status of Web Services in Zope. Would anyone be interested in focusing the chatter into a full blown sprint? We have at least three developers (here) that would be very interested. Eric ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Web Services Sprint???
Andy, I (we) are located about about 45 miles east of New Orleans, situated on a NASA base. Eric Andy McKay wrote: Yes. Where are you located? I was thinking of organizing a west coast US sprint... -- Andy McKay - Original Message - From: Eric Roby [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, December 04, 2002 4:27 AM Subject: [Zope-dev] Web Services Sprint??? There has been a (tiny) bit of chatter (over the last couple of months) regarding the status of Web Services in Zope. Would anyone be interested in focusing the chatter into a full blown sprint? We have at least three developers (here) that would be very interested. Eric ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope ) ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Web Services for Zope; what happened?
Brian, I have been an active user of Zope for nearly two years. My current position affords me the opportunity to finally give something back to the community. I work for NOAA and Web Services will be a critical piece of our web architecture strategy this coming year. Our branch is located in southwestern Mississippi, so we are in the building phase (wrt python/zope expertise - no Zope developers down here except me and impossible to get anyone who has the experience to seriously consider relocating here ... Ha! ). What I am able to offer is 1-2 fulltime software engineers for as long as it takes to do this right. I have read your proposal (just after you released it last year) and thought it very well done. I like the implementation you describe and agree with your proposal 100%. The time frame that I am talking about (fulltime developer support) is beginning in January. If it is possible to get some preliminary stuff out of the way before hand, that would be great. If it would require some face time with you, that would be possible as well. Let me know if this is an agreeable arrangement and your thoughts on how we proceed from here. Any responses should be directed to my work email which is [EMAIL PROTECTED] Thanks in advance... Eric I've had a number of people inquire about the status of the package, but so far no one willing to volunteer to move things forward. If you (or anyone else) is interested, I'd be happy to provide any guidance I can. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Web Services for Zope; what happened?
Andy, I wondered about that. I have been following some of the dialog on the Zope 3 dev list but it is unclear to me its status. We (my office) would like to have the Web Services capability by July/August time frame (earlier if possible), so don't know if that falls in line with a stable Zope 3. Your thoughts... Eric If its in Jan. would looking at Zope 3 be a better idea? -- Andy McKay www.agmweb.ca ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] how bad are per-request-write-transactions
I developed a profiler service for a production site about 8 months ago. I essentially did what you are asking. I needed to see how customers were using the various navigational elements and other services provided within the site layout. The logging service could not give me a sense of the context. To make a long story short, I had a method in the standard_html_header that kicked off the evaluation process. I essentially created a mirror of the site (containers/sub-containers/methods) for each hit for each day for each month , etc... This provided me with a way to see specific site activity in real-time. Each object that was evaluated (for each day) had two tinyTable instances. One recorded each hit as a record (IP, referrer, username, time) while the other tallied the numbers per hit (per unique IP). This was all running on a Sun on a terrible network and I saw little or no performance difference and the ZODB growth was as you might expect adding the additional folder objects and tinyTable instances. It wasn't a high profile site (about 3000 hits per week). I ran the service for three months with no problems. The key was the hits recorded in the tinyTable's did not create a ZODB transaction. Hope this helps Eric - Original Message - From: Casey Duncan [EMAIL PROTECTED] To: Ivo van der Wijk [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, April 16, 2002 10:04 AM Subject: Re: [Zope-dev] how bad are per-request-write-transactions This will kill performance, especially concurrent use of the site. It will also cause large amounts of database bloat. Do you need real time numbers, or is a delay (such as 24 hours) acceptable? If you can stand a delay, another approach would be to write a script which scans the z2.log file (or another log that you generate on page hits) each night and in a single transaction updates a counter on each object hit. If you use the z2.log, no additional writing is needed to the FS, and you get the benefit of easy access to the counts directly from the objects, without degrading performance or db bloat. -Casey Ivo van der Wijk wrote: Hi, How bad are per-request transactions in a non-ZEO environment? I.e. each request on a folder or its subobjects will cause a write transaction (somewhat like a non-fs counter, but worse as it happens for all subobjects) And if this is really bad, are there any workarounds except for writing to the filesystem? Cheers Ivo ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope ) ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Re: [Zope3-dev] Are there Graphic Designers?
I have been working with Plone now for a couple of days. I think your suggestion is an excellent one. It has very crisp/clean lines ... excellent implementation... I propose to base the Zope3 ZMI on the Plone CMF skin (designed primarily by the talented Alexander Limi and Vidar Andersen with important coding by Alan Runyan), which can be seen at http://plone.org. I don't know if Limi group are available to do the work themselves, unless ZC hires them for the job, but I don't think they would object either. I know at least Alan has a lot of interest in Z3. As I'm skinning Plone/CMF for my primary job, I'd be willing to do (or coordinate if other people want to help) the work of adapting the skin to Zope3 needs. []s, |alo + ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] ZEO storage server zdaemon question??
I am starting a ZEO storage server. Looking at start.py, unless I specify -s option (resets the z variable) the zdaemon runs by default (if I start it as root). However, when I start it I only see two nobody processes (running on a Linux box). In previous ZServer configurations, when started as root, I saw the zdaemon (root) process and then the nobody processe(s). Am I mis-understanding or am I doing something stupid??? Eric ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] ActiveState Python Distributions
I am in the process of setting up a group of Zope servers (some ZEO and some not) using the INSTANCE_HOME technique. I am currently running a Zope 2.4.4b1 and Zope 2.5 (pointing to) on the latest ActiveState Python distribution release. They are ONLY development sites right now. The cluster I am about to setup will be production. Since ActiveStates release lags a bit from the Python release, will I get into trouble setting up a central (ActiveState) Python Interpreter from which to drive my Zope cluster. All will be 2.5+ with the exception of a Zope instance running 2.4.4 (for OracleDA compatability). Any thoughts... Thanks in advance Eric ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] OpenSSH configuration between ZEO clients storage server
Anyone had any experience trying to secure the transactions between ZEO clients and a storage server??? Our shop is already using OpenSSH, I have read some introductory information about OpenSSH. It is just not clear to me the level of effort required to implement this or if implemented, will the additional overhead further exasperate the potential for unresolved conflict errors??? Any thoughts... Eric ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: TF ZMI, was: RE: [Zope-dev] Zope 2.6 and OrderedFolders
I think this is an excellent alternative to handle the UI aesthetics. The other part of this issue (for me) is the acquisition of these objects. Even if they are hanging out in the root, I would still like to be able to put templates in a template folder, scripts in a scripts folder etc... and not have to go through a great deal of fanfare to acquire them. It would be nice to be able to define mappings (or not) for the acquision process to evaluate once the trail hits root and before it looks in REQUEST. This feature of TF is really nice (just dangerous). Eric You know, the funny thing is that TF really accomplishes the goals of a ZMI/UI-improvement hack (unclutter a view of a folder to VISUALLY separate the software/content/presentation space) implemented, IMHO, in the wrong place. I would think there is another way that a Folder UI could be uncluttered without the magic of TF, and that is add translucency (items are there, but obscured from view) to the UI layer - that is, the ability to VISUALLY unclutter different users' views of objects in a folder via ZMI; views could be stored per user. For example, you could select ZSQL Methods and RDB connections in a folder to be hidden from everybody but the Database programmer; you could keep these and Python Scripts obscured from the view of a content person or presentation designer, etc. Well, they wouldn't be hidden, but visually 'compacted' and relegated to a small drop-down box at the bottom of the page to unclutter it... so the standard tabled object list wouldn't iterate over objectIds() or objectValues(), but instead a higher-level filter function. A complimentary filter function would render the 'hidden' objects as a sequence as well. __ZMI manage_main Now:__ ===\===\===\===\--- ZMI tabs % :::=== TP.NAME. .SZ. ..LM.. []-- -- []-- -- []-- -- []-- -- []-- -- [RN][CT][CP][DL][I/E][SA] --- Buttons for checked __ZMI With Translucency:___ ===\===\===\===\--- ZMI tabs % :::=== TP.NAME. .SZ. ..LM.. []-- -- []-- -- []-- -- []-- -- []-- -- [RN][CT][][][][][Hide] --- New HideBtn Hidden Items: [Select Item... [v] [Open][Unhide][ViewAll]--- Buttons for doing things ^ with hidden | items | +--- ViewAll = pop-up new window This would be more visually convenient. I'm thinking of trying to monkey-patch OFS.Folder to just do this. Of course, with these kind of modifications, for any given folder, there's no mandatate that anything need to be hidden at all. Thoughts? Sean ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] Zope 2.6 and OrderedFolders
I think OrderedFolders is a great product and should be in the core ... but does this also mean that TransparentFolder will get those parts (that Shane mentioned some time ago) optimized that kept it from making it into the core before?? If so ... sounds like a win-win situation. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] Squid Proxy VS LVS+Apache+ZEO
I apologize (in advance) if this is on the wrong list but some of the previous discussions regarding these topics have been done here. I have read much of the documentation on Squid, the zope.org cluster configuration, and many of the excellent How-To's out there. However, my particular case requires ssl for authentication to the ZMI. It appears that ssl is best accomplished with Squid, however we have to be able to provide many of the services that the zope.org cluster leverages with LVS. It appears that the Apache+mod_proxy+ZEO configuration provides much of the functionality that Squid+ZServer would provide, alone. I guess my biggest problem is determining whether it makes sense to use Squid in conjunction with ZEO (which we want to pursue) or re-build Apache with mod_ssl in the LVS+Apache+mod_proxy+ZEO setup?? If any one has been down this road I would greatly appreciate any insight that you might have. Thanks in advance... Eric ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope 2.6 planning - call for contributors!
Let's get a discussion started to define 2.6 I'd like to see the ZSyncer Product, or a variant thereof, included in Zope by default. That is, I'd like Synchronization, to a be a default property of Zope objects, so that objects/content can be pushed and pulled between two Zope installations. I venture a guess that the development/production model is common, and this helps quite a bit in maintaining this model. Ziniti Absolutely ... and I would also like to see Richards excellent Call Profiler service become part of the core. It is an (absolutely) essential tool for a number of reasons. My impression from previous threads is that others feel the same way too. I would also like to know what level of effort it would take to ramp-up transparent folders so that it could be considered core ready??? Anyway, my two cents... Eric ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] OracleStorage Used in a Production Environment
Is anyone successfully using OracleStorage in a production system or (better yet) as a storage server in a ZEO configuration ? It doesn't appear that any work has been done on it for nearly 18 months. Will OracleStorage work with the DCOracle2 product in support of 9i ? Thanks in advance Eric ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] OracleStorage Used in a Production Environment
Mathew Thanks for the quick response. My previous Zope project worked out great. I feel very comfortable with the speed and stability of ZODB. However, I was only managing 40,000+ objects. My new project has the potential of exceeding a million objects. That plus the fact that they (the customer) have already invested in 9i and an Oracle DB administrator. So I am compelled to explore this as an alternative to ZODB. Are there any implications to using OracleStorage with regard to ZCatalog and acessing other Oracle tables via Z SQL Methods ? Again ... Thanks Eric ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] Extending Zope with Eiffel
Ok ... don't laugh (too hard) yet. I know this sounds of blasphemy but let me explain. I spent many years as a meteorologist in the Navy. One tool that would have been invaluable to me (to provide better predictions and warning capabilities) is an expert system. I am sure NOAA probably has one but the Navy doesn't. And they are the ones that would benefit from such a system the most because their forecasting responsibilities are global in nature where NOAA has a much smaller yard to watch over. I have pondered how to build such a system for over 10 years. Things began to fall into place this year when I stumbled upon Zope and when the Navy decided to get serious about Web Services. I like Python ... but I don't think (as a scripting language) it is up to the challenge of an expert system. A language that I feel is up to the challenge is Eiffel (especially in conjunction with ISE EiffelStudio .. an awesome modeling and development environment). So a question for the Zope guru's out there. Since Python is such an adept glue language and Eiffel systems are distributed as C-packages, from a technical perspective, would it be absurd to develop the system in Eiffel and integrate it into Zope as a product (or better yet a Web Service in the future). Am I way off base here ? Or am I wrong about my assessment of Python's ability to build an expert system ? Thanks (in advance) for any insight... ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] TALES in DTML
YES YES YES ... THANKA-YOU THANKA-YOU THANKA-YOU... Evan Wrote ... I've been given time to work on draft documentation changes for: http://dev.zope.org/Wikis/DevSite/Proposals/DTMLplusTALES If you're interested, now is the time to comment. Cheers, Evan @ digicool ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope ) ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Re: Zcatalog bloat problem (berkeleydb is a solution?)
Chris McDonough Wrote: CatalogAware is arguably broken and should really not be used. In the meantime, if you care at all about cataloging, do not use CatalogAware. Instead, manage the recataloging yourself and don't uncatalog a changed object before recataloging it during this manual operation, because this defeats all of the carefully set up change detection code (which may or may not still be working since I last worked on it ;-) Chris, Thank you for your candor here. I wish this minor detail had been disclosed in the Zope book. Chapter 9 was my holy grail when I started down this trail (creating these new ZClasses that would auto catalog themselves). It looked good in print... I have banked a good deal of my project on this very service and ... well it is a bit frustrating to find out that I need to go back and re-do my work. Along this same vein, I would suggest that (possibly) ZClasses don't really work, either, and should not be used. There was a comment from another developer (on zope-dev a month or so ago) that essentially (in his own words) made this very claim. At the time, I chalked it up to this Real Zope Developers Don't Use ZCLasses kinda comment. There certainly are enough Zope products out there that (at least) leverage some of the ZClass plumbing. Another claim in the Zope book (chapter 8) says that I can leverage my 6+ years of Perl experience to create Zope scripts. Well, I would suggest that this doesn't really work, either... The bottom line to all this venting (and I am not trying to shoot the messenger here) is that I need to understand where my efforts should be focused. If I need to abandon ZClasses in lieu of pure Python, then I need to know that now so I don't waste any more time on these false starts. The Perl thing is just a matter of principle (I think Perl's implementation of OO stinks). The way it is presented in the book, I would expect it to be a core Zope thing and not some appendage that requires a particular compiler and Andy sitting next to you. I don't intend to abandon Zope, I just need a reality check... Eric ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Re: Zcatalog bloat problem (berkeleydb is a solution?)
Erik Enge wrote on 26 June: If your application can't be written in five minutes and you expect to use it more than once, you shouldn't use ZClasses - IMO. The only argument for ZClasses (that I had at the time) was that it was very easy and fast to set up a couple of classes and some instances. After I wrote mk-zprod, making Python Products is even faster than ZClasses, and certainly scales better. Thank you for your thoughts. The comments throughout this thread have been very insightful. I see where I need to go from here. I will be checking out mk-zprod. I have a nagging question that you might be able to help me with (in light of mk-zprod). I understand that the 'Class-Id that a ZClass gets assigned upon creations is vital to Zope's ability to manage class instances. Is it possible to make a Python class to replace the ZClasses I have already created and be able to support the ZClass instances I have already created? If so, how do you get a Python class to answer to a specific Class-Id. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Re: Problems with Transparent Folder and Zope 2.3.3
Shane, I'm glad to know the product is being used. I don't think it will be in the core distribution since it causes a performance hit. Shane I use Transparent Folders HEAVILY in my site designs. There are some Gotchas' that I have learned to deal with regards to acquisition, but I find their function indispensable. I am curious what the performance hit is that you mentioned?? Eric ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Re: Problems with Transparent Folder and Zope 2.3.3
Shane Hathaway wrote: If we're willing to start changing things at the C level, however, there are more options. Is this an effort that would ultimately move Transparent Folders into the Zope Core ??? Eric ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] [Announce] API Documentation Fishbowl Project
Jimbo, I concur 100%. I am a Zope newbie (relatively speaking - since February) but I have been developing Web Information Systems since '95. My tool of choice was perl/CGI. I attended a DEVX conference in December of '99 and was introduced to Java Servlets and the J2EE spec. I knew this was the transition that I had to make, professionally. However, 100% of my work evolves around information management and publishing. J2EE doesn't immediately solve this requirement without a great deal of tooling. I saw the benefits of the enterprise but couldn't justify the effort (to my customers). In walks Zope and the lights/whistles/fireworks went off. Zope immediately provides me the vehicle to move from a 'Cottage Software' paradigm to a (sort-of) 'Industrial Software' paradigm. I am no python programmer, yet. But, with the other available tools (DTML, acquisition, ZClasses), I have been able to get the job done. I have hit a few land-mines since February. In some cases I was able to work through the problems from How-To's, others from the mail-listings. But a couple of problems have yet to be resolved. The new Zope Book is a step towards consolidating all these other doc efforts but it falls short on utility. I have many perl books on my book shelf. The one that I always go back to is my original 'Camel' book. Wall Schwartz put the right mix of fact, fable and 'case studies' to get the imagination brewing. I don't need my hand held but I would greatly appreciate some insight on what is possible and what is not. The biggest stumbling block for me to date (and potentially the most powerful tool for me) has been connected with the nuances of ZClasses. The examples in the book gloss over the implementation details that would be the most instructive and could have saved me days of searching and swearing. I ended up searching for some ZClass products and worked through them to fill in the blanks. I see enormous potential for Zope in the Peer-to-Peer revo/evo-lution. I want it to succeed. I scream Zope at every opportunity. But, I have invested nearly 800 hours of my time to be able to talk-the-talk and now walk-the-walk. I feel quite comfortable in recommending this system as the final solution as we move to P2P. Not everyone can afford that kind of commitment. The people paying the bills certainly won't. Certainly, the API documentation could be presented better, but expand on some of that brain-storming that is going on behind those DC doors (well not all of them ... you guys need your trade secrets too), those 'what if' scenarios that would go a long way towards enlightening the masses. Eric Please don't banish this wonderful product to Eternal Geekdom by not simplifing the documentation by putting together concrete examples on how to implement concepts and products. In short enough geek speek. Change the language into something the rest of masses can understand. How can I use zope/API to get PAID! How can I actually make the dcworkflow or the core session or the ZPT do something. Plenty of example uses. I think they might call them case studies or something to that effect. Thanks, -Jimbo ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] WEBDav - ZClass Problems
I have two ZClasses, one with base class of CatalogAwareBase and ZDTMLDocument, the other with base class of _ZClass_for_Renderable and CatalogAwareBase. Manager role has the full set of permissions for the classes. ZInstances are created as expected, TTW. However, when I try to manage these ZInstances via a WEBDav client, the WEBDav Server simply doesn't show that the objects are there. Is the WebDav server setup to ONLY manage DTMLDocuments and DTMLMethods? I have had no problems with my WEBDav client when managing these traditional Zope objects. Is this a side effect of ZClasses or of CatalogAware? As a side, the FTP client has no problems with these ZInstances. What gives??? Eric ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] Simple ZClass Stuff
I have been on this Zope journey since late February. Most times Zope has been like an artichoke, thorny on the outside but improves dramatically as you peel off the layers and can get to the meat. Other times (very few to date) Zope is like an onion, the more layers you peel off the more tears you have to deal with. Well this is one of those onion-times. I have been exploring the processes involved in creating Zope products via ZClasses. I have read all the primers/How-To's, latest version of the Zope Book. I have been successful in creating a Renderable:Renderable-ZCatalog:CatalogAware structured-text document class. However, I am unable to create a simple ZCatalog:CatalogAware-OFS:DTMLDocument class. I have tried many different incantations, sacrificed my first born but to no avail. I have even tried to just select OFS:DTMLDocument as my subclass. Regardless how I slice it, I consistently get: Error Type: TypeError Error Value: unsliceable object The Traceback is as follows:***Sorry, these guys still evade my comprehension*** Traceback (innermost last): File F:\WebSite\lib\python\ZPublisher\Publish.py, line 223, in publish_module File F:\WebSite\lib\python\ZPublisher\Publish.py, line 187, in publish File F:\WebSite\lib\python\Zope\__init__.py, line 221, in zpublisher_exception_hook (Object: RoleManager) File F:\WebSite\lib\python\ZPublisher\Publish.py, line 171, in publish File F:\WebSite\lib\python\ZPublisher\mapply.py, line 160, in mapply (Object: htmlDocumentClass_add) File F:\WebSite\lib\python\ZPublisher\Publish.py, line 112, in call_object (Object: htmlDocumentClass_add) File F:\WebSite\lib\python\OFS\DTMLMethod.py, line 189, in __call__ (Object: htmlDocumentClass_add) File F:\WebSite\lib\python\DocumentTemplate\DT_String.py, line 549, in __call__ (Object: htmlDocumentClass_add) File F:\WebSite\lib\python\DocumentTemplate\DT_With.py, line 133, in render (Object: htmlDocumentClass.createInObjectManager(REQUEST['id'], REQUEST)) File F:\WebSite\lib\python\DocumentTemplate\DT_Util.py, line 334, in eval (Object: htmlDocumentClass.createInObjectManager(REQUEST['id'], REQUEST)) (Info: REQUEST) File lt;stringgt;, line 0, in ? File F:\WebSite\lib\python\ZClasses\ZClass.py, line 543, in createInObjectManager (Object: htmlDocumentClass) File F:\WebSite\lib\python\OFS\ObjectManager.py, line 265, in _getOb (Object: Traversable) TypeError: (see above) NOTE: On one attempt, I modified the constructor input form to use 'addDTMLDocument' and the class method to use 'manage_edit' and 'manage_upload'. These changes got past the 'unsliceable object' error, however, when instantiating this class, I was unable to access the property sheets and views that I had defined. I was left with the default views defined for the DTML Document class. The Zope Book says I can create a new class using OFS:DTMLDocument as my base class, generate my property sheets, hook my property sheets to views and be on my way. If anyone can enlighten me here I would be much in you debt. Obviously, I am missing a key point. Eric ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] Building a Zope Site from a Source Distribution
Could anyone point me to documentation or instructions on how to build Zope to a particular version of Python. My goal is to understand the process so that I can do this on the Win32, Linux RPM and Solaris distributions (make directives, etc...). My first attempt will be focused on the Win32 distribution. I have Borland's C++ compiler (the one that has been released to the public). I have looked at the Win32 source distribution and the build_extensions.py file makes reference to setup20 and setup15 files in the lib/python folder. They aren't there so I am a bit puzzled as to the purpose of this build script. Eric ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] ActiveState / DC Collaboration
This is to the folks at DC; Will there be an effort to make Zope 2.3.x play with ActivePython 2.0 or is this a longer range goal ... Zope 3.x ??? I know there are alot of other irons in the fire but I am just trying to make some design decisions. I am bringing up multiple Zope sites in about six weeks. A small part of the effort can easily be accomplished with WEBDav clients but a significant portion of the site has evolved over the past 6 years and it is Perl/CGI. I know I can go the Python 1.5.2/distutils/compile source route but would prefer to leverage ActiveStates efforts and simply use pyppm to install pyperl and ppm to install Hack-Names. Any insight would be much appreciated. Eric ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )