Re: [Zope-dev] Professional Sites Using Zope??
On 16 May 2001, at 15:21, Jason Cunliffe wrote: > > "Can't tell" as in "don't know" or "not permitted"? Pointless to tell because its password protected. There's nothing to see here, move along folks. Btw, this site is also serving up a one-page-web-app for IE 5.5 that heavily uses ADO and XML to generate a shipping interface. It's a work in progress but I'm really beginning to like XML and XSLT. > ..lots of other 'professional' Zope sites to consider, for example at a > random what do you call these two yes, but what the heck does "professional" mean? Brad Clements,[EMAIL PROTECTED] (315)268-1000 http://www.murkworks.com (315)268-9812 Fax netmeeting: ils://ils.murkworks.com AOL-IM: BKClements ___ 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] convert zope objects to unicode
Hi Sin, see http://dev.zope.org/Wikis/DevSite/Projects/SupportPython21/FrontPage for whats going on at the unicode-sector for zope. IMHO it does not make sense to duplicate effort. Regards Tino --On Donnerstag, 17. Mai 2001 01:27 +0800 Sin Hang Kin <[EMAIL PROTECTED]> wrote: > If I would like to hack zope to store all string objects in unicode, where > is the best place to do it? > > I would like to have the incoming string go through unicode(inputstr, > encoding) and all outgoing strings go through with > outputstring.encode(encoding) > > However, after looking around the zope source, I can not find where is the > appropriate place to do it. > > Rgs, > > Kent Sin > - > kentsin.weblogs.com > kentsin.imeme.net > > > ___ > 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] Professional Sites Using Zope??
Hi Jawad, we use the existing heterogenous database system of your company for a B2B e-commerce solution. With zope we had the flexibility to do so and archive releability too. For access to databases we use Merant middleware together with ZmxODBC. Unfortunately the service is not open to the public. It has come out only the strange databases are somewhat a bottleneck for the system. However, we handle around 100 customer at any given moment round the clock. The other site we built with zope is our companys public web site. You'll find it on http://www.peacock.de/ HTH Tino Wildenhain --On Mittwoch, 16. Mai 2001 12:15 -0700 Jawad <[EMAIL PROTECTED]> wrote: > > Hi, > > I am a newbie in zope and want to use it to develop a e-commerce order > processing system using Zope. I have experience in languages like > Smalltalk and Java, so learning Zope is fun too. Please let me know What > Database will be useful and please don't recommend MY SQL. It does not > even support Foreign Key relationship. Does Zope support DB2 , SQL > Anywhere, or Oracle.? > > I am also interested to know Is there any professionally developed sites > in Zope/Python. Please let me know the URL. > > Regards > Jawad > ___ 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] Professional Sites Using Zope??
Thanks for the news... "Brad Clements" <[EMAIL PROTECTED]> wrote: > I have another site I can't tell you the URL for, its for an importer-exporter handling 600 > packages per day (shipping, tracking, customs, etc) His customers (100 or so) and their > staff (200 or so) login to track packages every day. "Can't tell" as in "don't know" or "not permitted"? This increases my ongoiing suspicion that Zope is #1 secret weapon [webpon?] for many. Arguably, The most 'professional' zope sites almost uniformly do not appear to be listed, dicsussed, promoted or cerdit Zope either. See posts from a while back about the radio stations and others listed at: http://www.zopezen.org/links in particular cbs new york and its merry clones: http://cbsnewyork.com/ http://1010wins.com/ http://www.krockradio.com http://www.wcbs880.com http://www.wcbsfm.com http://www.wfan.com ..lots of other 'professional' Zope sites to consider, for example at a random what do you call these two http://ddi.cs.uni-dortmund.de/ http://www.rosettaproject.org:8080/live ./Jason ___ Jason CUNLIFFE = NOMADICS['Interactive Art and Technology'] ___ 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] ZSQL Methods in Z Classes
Hi Guys, I wanted to use ZSQL Methods in Z Classes to share code between different parts of a large project. The different parts need to use similar, but separate, database namespaces, but I still wanted to use the same methods. Now, ZSQL Methods treat their Database connection ID, for some reason, on a par with their source -- it is not a parameter. You are not supposed to run one ZSQL Method on two connections. (One can try to acquire, restricting yourself to the same ID name in different folders; I think this will not work, and the ZSQL methods will get to their original DB connection first). I tried to bypass this limitation, by defining a forwarding database adapter. The idea was that this adapter's connection string would point to a resource (property or method) which will specify the actual connection. The idea was that in a ZClass, I could have this be a pythonscript which will look into an instance property sheet, thereby allowing different instances to use different connections. This seemed to work very nicely at first: After the ZClass with the forwarding adapter and pythonscript was installed into a folder, all its methods worked like magic. I was very happy. Then we restarted Zope, and ever since, it seems like the Adapter is being called by the ZSQL Methods without any acquisiotion context. Could you help show me what went wrong? BTW: I intended to make the forwarding DA a product, and to ship with it a base ZClass for ZSQL methods-using ZClasses, which I wanted to call "ZSQL Class". But even before the current problems, I was halted by the fact that if you define a database connection in a ZClass, ZSQL Methods in derived classes cannot use it. In fact, even ZSQL Methods in the same class as the adapter act funny -- you can set it as their connection, but in the source they say "connection not found", and you can't test them in the class context (even when they don't rely on instance resources). Hope this is informative enough, and that others have thought of these problems, Shai. ___ 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] Professional Sites Using Zope??
On 16 May 2001 12:15:54 -0700, Jawad wrote: > > Hi, > > I am a newbie in zope and want to use it to develop a e-commerce order > processing system using Zope. I have experience in languages like Smalltalk > and Java, so learning Zope is fun too. > Please let me know What Database will be useful and please don't recommend > MY SQL. It does not even support Foreign Key relationship. Does Zope > support DB2 , SQL Anywhere, or Oracle.? > > I am also interested to know Is there any professionally developed sites in > Zope/Python. Please let me know the URL. Rule Number One: NO HTML ON THE LIST! The, go to www.zope.org. There you will find mant links to sites/companies using zope, in addition to documentation (such as the zope book, linked from the front page). Bill ___ 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] convert zope objects to unicode
If I would like to hack zope to store all string objects in unicode, where is the best place to do it? I would like to have the incoming string go through unicode(inputstr, encoding) and all outgoing strings go through with outputstring.encode(encoding) However, after looking around the zope source, I can not find where is the appropriate place to do it. Rgs, Kent Sin - kentsin.weblogs.com kentsin.imeme.net ___ 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] Professional Sites Using Zope??
On 16 May 2001, at 12:15, Jawad wrote: > I am also interested to know Is there any professionally developed sites in > Zope/Python. Please let me know the URL. What does "professionally developed" mean? http://www.adirondackcraft.com - Zope and Interbase I have another site I can't tell you the URL for, its for an importer-exporter handling 600 packages per day (shipping, tracking, customs, etc) His customers (100 or so) and their staff (200 or so) login to track packages every day. It's based on Zope 2.2 (argh) and Interbase on Linux. No problems. Brad Clements,[EMAIL PROTECTED] (315)268-1000 http://www.murkworks.com (315)268-9812 Fax netmeeting: ils://ils.murkworks.com AOL-IM: BKClements ___ 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] Re: (LONG) RE: [SmartObjects] Wrap-up of the discussion goingon on zope-dev?
Albert, thank you so very much for the summary. It is great! Regards, Stephan Stephan Richter iuveno AG - freier Mitarbeiter Technical Design and Development ___ 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] Escaping double quotes
Hi, I have been searching for a way to escape double quotes in DTML and have not found it The following is what I would like to do: > Anyone have any ideas? Thanks, Jeff
[Zope-dev] ZServer, FTP and setVirtualRoot
Hi all, i have a little problem with FTP. first i have a folder foo, in this Folder is a dtml-method which generates a session id add this id after the current path( http://xxx.yyy.com/foo/98347698234562/ ) and sets the result with REQUEST.setVirtualRoot as the SiteRoot. The dtml-method generating the id is th access-rule of this folder. Now the problem is, if i connect to my Zope via ftp and go to the folder foo i don't get all the objects. If i remove the access-rule from foo i see all with ftp. Q: Is there a way to disable the access-rule for ftp-requests or does the ftp-server not handle VirtualRoots ?? Thanks - as ___ 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] OR mapping proposal
Albert Langer wrote: > > [Phillip] > http://dev.zope.org/Wikis/DevSite/Proposals/ORMappingDB > > Comments encouraged! > > [Albert] > I've added some there. > > Jim highlighted a project Risk there: > > "Updates to RDBMS data outside of the OR mapping could cause > cached data to be inconsistent." I agree! In fact, Jim and others here at DC have been suggesting this idea for a long time now, but I've always resisted because of this issue. But now I see two workable approaches to solving the problem: 1) Create an invalidation protocol where other applications are required to update a special table every time they make changes to the database. Zope checks this table at the beginning of each transaction. Databases that have strong support for triggers would be able to do this at the database level. 2) Some kinds of objects will stay in memory only for the duration of a transaction. PJE hinted at this and I like it. Some people may decide that *all* relational objects should behave this way, in which case the decreased performance would still be equal to or slightly better than competing projects AFAICT (since this proposal has the advantage of some of the logic being implemented in C.) Thanks for your comments in the wiki. After talking with others here at DC, it's clear I should have provided a description of the possible solutions for some of the major issues. We're all still learning how the process is supposed to work. The next step in the process is to get it reviewed, after which we can turn this into a project. Your comments will become a part of the project. Shane ___ 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] Xron, suse 6.4
Hi Nick, I am having the same problem with installing Xron on my suse 6.4 machine. My question is, are you now running Xron with succes ? And how did you do this ...? Because, I would like to run this product as well. Thanks, Els * - Original Message - From: "Nicholas Lo" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: August 18, 2000 12:41 AM Subject: xcron test > Hi Loren, > > I have a problem with installing Xron 0.9 onto my machine. Currently, > I'm running SuSE Linux 6.4 on a 600MHz/128Mb/20Gb PC. I have followed > the release note and set the STUPID_LOG_FILE environment variable to > point the log file, and Xron itself is, of course, resides in the > /Products directory. When I start Zope, the console looks okay. However, > the browser keeps on loading and loading and could not show the Zope > management screen. I have also tried Xron on my notebook, which is > running Win98. Everything works just fine. I just wonder what's gone > wrong. > > Thanks. > > Nick > ** -- ___ Els Homan European Molecular Biology Laboratory (EMBL) 6, rue Jules Horowitz, B.P.181 38042 Grenoble cedex 9. France [EMAIL PROTECTED] (Email) 04 76 20 74 66 (Phone) 04 76 20 71 99 (Fax) __ ___ 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] ZCatalog, REQUEST, misc.
> > (it's fairly DWIM-ish as well) > > DWIM? Do What I Mean. ;-) ___ 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] Professional Sites Using Zope??
Hi, I am a newbie in zope and want to use it to develop a e-commerce order processing system using Zope. I have experience in languages like Smalltalk and Java, so learning Zope is fun too. Please let me know What Database will be useful and please don't recommend MY SQL. It does not even support Foreign Key relationship. Does Zope support DB2 , SQL Anywhere, or Oracle.? I am also interested to know Is there any professionally developed sites in Zope/Python. Please let me know the URL. Regards Jawad
Re: [Zope-dev] ZCatalog, REQUEST, misc.
On Tue, 15 May 2001, Chris McDonough wrote: > YourCatalog.catalog_object(newobject) > > as opposed from inheriting from CatalogAware and relying on manage_afterAdd > or calling object.index_item() manually. That's really it. Well, if you put it that way :) *removing CatalogAwareness* > (it's fairly DWIM-ish as well) DWIM? > Both CatalogAware and CatalogPathAware need to be fixed somewhat (they > need to be replaced with an observer-based cataloger). This is > probably my fault at this point, but don't say I didn't tell you not > to use them later. ;-) Hehe, ok :) ___ 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] OR mapping proposal
[Phillip] http://dev.zope.org/Wikis/DevSite/Proposals/ORMappingDB Comments encouraged! [Albert] I've added some there. Jim highlighted a project Risk there: "Updates to RDBMS data outside of the OR mapping could cause cached data to be inconsistent." This strikes me as rather fundamental. Unless the goals include actual *sharing* of RDBMS data with other applications completely independent of Zope I doubt that the most important benefits of an OR mapping could be achieved. Essentially SQL RDBM Systems are *about* sharing data among applications. When "customers want SQL" that is often what they actually want. An SQL RDBMS can be overkill for other purposes which may be just as well achieved by an embedded ODBMS like ZODB, an SQL file system like MySQL or an LDAP directory. Alternative goals for *exporting* ZODB data to an RDBMS continuously, *importing* data from an RDBMS at regular intervals and *embedding* an RDBMS database for exclusive use by Zope with no write access for other applications could all be met more easily. There is certainly no major difficulty on the RDBMS side, giving a Zope instance control over a set of tables for it's own use and providing append only and read only access to export and import tables or views for regular or continuous replication. But the combination of all 3 (which could be delivered incrementally in any order) is *not* the same as *sharing*. As I understand it, Zope's approach to cacheing inherently prevents support for the Isolation part of ACID. Conflicting writes to the same object are detected by version stamps but the objects used by a transaction in one thread may have been inconsistently changed by transactions in other threads. This will not be detected unless those objects used are also changed. Similar problems are inherent in LDAP directories, which are also designed for relatively static data with a low rate of updates. This is acceptable for many applications. Scope can and should be limited to sharing that works with optimistic checkout and does not require pessimistic locking. It is common for an "Enterprise Object" to be read from an RDBMS with it's stamp noted, modified independently by an application and then updated iff the stamp was not changed. Only the simultaneous checking of the stamp and update of the object needs to be wrapped within a short ACID RDBMS transaction. For example ACS 4 maintains a timestamp on every object which can be used for this purpose. This is similar to the ZODB approach. Note however that: 1) The application must be prepared to deal with an exception that cannot just be handled as a lower layer "ConflictError" by retrying. 2) The object will often be a composite - eg an order header *and* all it's line items, and fulfilments. Entanglement with other objects such as products (for pricing) is avoided by specific application programming (which may also be done in stored procedures within the DBMS). 3) This does not support *any* cacheing of objects outside of a transaction. The RDBMS itself provides internal cacheing (often of the entire database for efficient queries with web applications). This leads to the ACS paradigm of "the web server is the database client", which is actually rather similar to Zope's "Zserver is the ZODB client". Both ACS and Zope involve complex issues for database client side cacheing Both 1 and 2 completely preclude any possibility of the same level of "transparency" as for ZODB, while in no way hindering use of "pythonic" syntax. For most Zope web object publishing purposes cached objects just need to be kept reasonably up to date rather than synchronized with RDBMS transactions. The only viable mechanism I can think of for dealing with item 3 in a Zope context would involve the RDBMS maintaining a "Changes" table which it appends to whenever any object that has a special column for "ZeoItem" is changed without also changing the value of "ZeoItem". (ACS does not do this and I'm not sure what it does do). Zeo would monitor that table, either by regular polling or continuously (eg with PostgreSQL as a "LISTENer" responding to NOTIFY commands issued automatically whenever the triggers append to the Changes table). For each change Zeo would notify it's Zope instances to invalidate their caches for that item. I'm not familiar enough with Zope cacheing internals to know whether some other approach is feasible. Requiring such changes in a shared database is certainly undesirable. Q1. Could somebody please post specific URLs for relevant documentation of Zope cacheing? Q2. I have a related question about the Zope design overall. As far as I can make out Zope actually keeps separate copies of persistent objects in RAM for each thread, and relies on the fact that there is a tree structure corresponding to the URL paths that ensures objects from which attributes will be acquired tend to already be in RAM when the acquisition occurs. I assume this is trading off the horrendous inef