Re: [Zope-dev] Call Profiler
Doesnt seem to like being refreshed and some event items arent in the time dict, I noticed these were items that I had got in a ram cache. So i just stuck an if at line 496. Other than that its a great product. Most important tool since refresh if you ask me... - Original Message - From: Richard Jones [EMAIL PROTECTED] To: zope-dev [EMAIL PROTECTED] Sent: Thursday, January 31, 2002 5:13 PM Subject: [Zope-dev] Call Profiler I've just announced our Call Profiler product on zope.org and the zope announce list (waiting for people in different timezones to authorise them :) ( http://www.zope.org/Members/richard/CallProfiler/ for the impatient) In a nutshell, it patches the rendering guts of DTMLMethod, ZSQL, etc. and the ZPublisher so that we can get timing marks for requests as the calls are made. The patching is quite simple (once I got the hang of it ;) and reversible, and means that there's no changes required to the Zope core to enable the testing (which our initial versions did). It does pose a question though: would it be better to have support for this stuff in the core, or is it OK for a product like this to dynamically patch the call methods when it needs to? On one hand, the performance hit when dynamically patching the methods is zero when the product is not active, but it does mean diddling with methods that really probably should be left alone. On the other hand, having changes to the core code to test for profiling being enabled introduces a small performance hit even when profiling is not activated. Any comments? Richard ___ 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] DISCUSS: Community checkins for CVS
Does anyone think this is close enough that I can go ahead and get the bootstrap group (under ten, selected by us) going? I'd like to avoid making them sign and mail an agreement, then do it again if there's substantive changes. Go for it. ___ 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] What would *you* like to have in PropertyManager and friends?
ZWiki's seem a little wonky at the moment so Im commenting here. The one big that would be hugely helpful is a dict property class. Should be quite simple and very useful IHMO without having to rely on TinyTables etc. Cheers and thanks for starting up the project. - Original Message - From: Lalo Martins [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, May 27, 2001 4:38 PM Subject: [Zope-dev] What would *you* like to have in PropertyManager and friends? raise ZopeProject('http://dev.zope.org/Wikis/DevSite/Proposals/PropertyRevamp') We at Hiperlogica realize a lot of you people prefer to write your code in Python in the filesystem. However, we also believe the power of Zope's trough-the-web RAD framework is one of the reasons for its success; more importantly, it's a good part of the reason it works for *us*. In this spirit, we fired up HiperDom a few months ago, and we're now working on ZUnitTTW to allow developers to unit test their ZClasses and even their very sites. Now, we've been taking note of a lot of peeves we have with Properties, in the past one year or so. After all this time, and dealing with some Zope internals, we feel confident enough to propose to fix them. So we're raising a Project in the fishbowl to implement these changes. But before we dive in the mud, we'd like to hear from people that really use Properties (and/or ZClasses), or that would use them if they were more powerful. Please go to the Proposal page, linked above, and tell us what you think. []s, |alo + -- I say a prayer now our love's departed That you'll come back to stay Bring back the perfect day http://www.laranja.org/mailto:[EMAIL PROTECTED] pgp key: http://www.laranja.org/pessoal/pgp Brazil of Darkness (RPG) --- http://www.BroDar.org/ ___ 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] .zexp's
Just ran into a problem with a newbie where they couldnt figure out where to import the zexp, if its a product it should go in /Control_Panel/Products, if not it should go in the ZODB. I couldn't think of an obvious way to tell, so I just had a look in the zexp and came up with this: file = open(infile, 'r') if string.find(file.readline(), 'App.Product') = 0: print "%s is a product zexp, go to Control_Panel" % infile Can anyone think of a better way? It would be figure out where to stick this in ExportImport.py so it would give nicer error messages... Cheers -- 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] Allowing secure 'import' access in zope folder hosting
Just a random, related thought that came up: Wouldn't it be nice if people could devellop locally on their own zope (under windows or unix) and hit the 'Sync' button on their "SyncedFolder" to transparently upload their work to the zope server where it becomes live immediately? (ok, this wouldn't work for external databases) Just a thought. I know it doesn't cover all situations and there are other ways to do this (next to just developping remotely using versions). I have a system that does that now using xml-rpc. Im trying to turn it into a product so I can get release it. It can be a big security headache -- 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] Catalog Indexes.
I'd like to find this telephone number (it is a string...): +44 1234 123456. But no partial matching? Use a FieldIndex... If you want partial matching you're fu... not in a very good position ;-) Theres a cool hack to Splitter.c by Jason Spisak that doesnt remove numbers and punctuation from the Catalog. I make no promises since I haven't tried it. That should enable you to make it a text field and then do globbing... -- 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 )