Douglas Douglas wrote:
I'm starting my graduation project at school and decided to use Zope3 (hope it
won't be too difficult!). The project is about developing a website for high
school students in El Salvador (Central America) to load and retrieve
environmental data acquired from data loggers (s
Hehe,
Well, it's ALMOST true, since you guys have done so much amazing work
since I last looked in!
Anyway, as a newbie, I got some questions:
- What docs should I read first?
- How do I get Zope 3 up and running on Windows, and what's the "best"
version for me to try?
- Where can I find good
Chris Withers wrote:
Anyway, as a newbie, I got some questions:
- What docs should I read first?
Is there no authoritative answer to this question?
- How do I get Zope 3 up and running on Windows, and what's the "best"
version for me to try?
And I'd REALLY like the a
And I'm pretty sure that Zope 3 needs Python 2.4 ;-)
Chris
Adam Groszer wrote:
Hello Shariq,
Plone is a product for Zope 2.xx.
Monday, July 11, 2005, 1:07:12 PM, you wrote:
ss>
ss> Hi,
ss> I have download Zope3 by using Python 2.3 but i didn't find
ss> any Product directory where I can
Jim Fulton wrote:
Chris Withers wrote:
And I'm pretty sure that Zope 3 needs Python 2.4 ;-)
No, Zope 3 works with Python 2.3. Some add-ons might require 2.4.
Really? I'm sure I saw something fly by saying Zope 3 required Python
2.4 :-S
Chris
--
Simplistix - Content Manage
Florian Reiser wrote:
I would be happy if the DA's would convert an SQL NULL to None and not the
class Missing.Value. It really causes much trouble. I don't know if all
DA's do that, but the Z ODBC adapter I use at the moment, does this.
A Zope 3 ZODBC adapter? cool :-)
Nevertheless, I'd
Alec Munro wrote:
class SomeObj:
some_dictionary = PersistentDict({})
ouch, never use mutables for class attributes, for exactly the reasons
you've found.
two points:
1. the dict will get newly created every time this code runs, ie: each
time Zope starts.
2. the object is never "seat
Fred Drake wrote:
Definately! The similar naming of these two built-ins has been an
endless cause for confussion.
What's the correct use case for the NotImplemented singleton?
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
Fred Drake wrote:
A rich-comparison method should return NotImplemented to indicate that
it doesn't implement the specific comparison; the response should be
for Python to allow the other operand a chance to handle the
comparison (inverted, of course).
Oh :-(
What an unfortunate name, I'd have
Fred Drake wrote:
On 10/20/05, Chris Withers <[EMAIL PROTECTED]> wrote:
What an unfortunate name, I'd have called it Uncomparable on some such...
While the current name is unfortunate, and Uncomparable would make the
two easier to distinguish, Uncomparable would also be wr
Fred Drake wrote:
On 10/21/05, Chris Withers <[EMAIL PROTECTED]> wrote:
At the very least NotImplementedComparision or
NotImplementedOperandForType would be more explicit...
Indeed. We (and many others in the Python community) are in complete
agreement on this.
Well, if we
Andreas Jung wrote:
i18n:attributes just replaces the attributes with content from the
catalog file.
How can change an image depend on the user location?
how about i18n:attributes="src python: test(your_condition, 'someurl1',
'someurl2')" ?
I tend to create a folder of the image name, wit
Simon Hang wrote:
1. Installed mod_ntlm for apache 1.3, and tested.
Really? Did you get this to work? I've heard it was flakey and/or broken...
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
___
Simon Hang wrote:
Not under heavy load. Any machine should be able to handle this.
Ah, hmmm, do you know how it would behave under high load?
Our current use case resulted in problematic behaviour under high load
and I wonderd if this had been addressed in the version you are using..
But n
Philipp von Weitershausen wrote:
True, it's not the nicest solution. But you could make it safer by first
stripping the according request variable from the QUERY_STRING.
mod_rewrite is quite powerful in that respect.
Is it just me, or should a deep feeling of uneasiness accompany the
extractio
Alec Munro wrote:
My users are unable to rename things, seemingly everywhere. They can
add, remove, but not rename, or cut/copy. I'm not sure how to set the
permission for this.
Do they have the necessary permissions on the objects container rather
than the object itself?
cheers,
Chris
--
Jim Fulton wrote:
This is a matter of policy. It is straightforward to change. Many people
hate
@@ and the ++view++name syntax. They will often arrange their item and
view
names so that they don't overlap.
How hard is it to plug in different url parsing? It's often something
people want to
Jim Fulton wrote:
This isn't really URL parsing, it's traversal. It's easy to plug in
different traversal adapters.
Are there any examples of this or docs?
Chris - sorry if I'm missing something obvious :-S
--
Simplistix - Content Management, Zope & Python Consulting
- http://www
Maciej Wisniowski wrote:
AFAIR there is a suspend transaction feature in SQLRelay database connector
but I've never tried this feature in Zope. SQLRelay has DA for Zope 2.x. so
I think it would be necessary to write such thing for Zope 3.x.
Not everyone is fooled into thinking they need an RDB
Hi All,
I'm shortly going to be jumping on a nice long flight and really want to
play with Zope 3 again. I'll be taking the two books with me, but what
else do I need to get going on Windows, with no internet connection?
I'm thinking:
- up-to-date checkout (but of what branch?!)
- some bina
Andreas Jung wrote:
This would be 31-310 tx/second...forget the ZODB :-)
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_.
I'm curious to know what the app is ;-)
I don't
Brad Allen wrote:
Maybe it's too late for this, but what about coming up with a new name
to reflect the reality that Zope 3 is a complete redesign and rethink?
I always thought Zope sounded too much like "SOAP", anyway.
Here are some name ideas
I think renaming would be an exceptionally bad
Lorenzo Gil Sanchez wrote:
c:\path\to\my\instance\bin\test -vpu --dir z:\my_root_app_dir
[ traceback ]
ImportError: No module named z:.my_root_app_dir
Is my_root_app_dir on your PYTHON_PATH?
try this just before you run the test:
set PYTHON_PATH=%PYTHON_PATH%;z:\my_root_app_dir
also, do you
Steve Wedig wrote:
I'm in the planning stages for developing a Zope 3 application. It
would be nice to know my http caching plan ahead of time. It seems
that the two main options are squid and apache. I was wondering if the
most flexible setup might be to have apache running behind squid, and
zop
Reinoud van Leeuwen wrote:
On Tue, Feb 14, 2006 at 09:15:42PM +0100, Florian Lindner wrote:
I also think that pure Latex would be the best choice. It's convertible into a
lot different formats and can be edited just using a simple text editor.
Isn't Docbook a better choice? Is is specially des
Peter Bengtsson wrote:
self.queue seem is empty each time I restart Zope.
That's because dictionaries are not derived from Persistent. Try PersistentDict.
D'oh! That's confusing. Isn't there a class that gathers all of these in one.
Urm, Peter, the rules of persistence w.r.t. mutable objects
Peter Bengtsson wrote:
That's very interesting. If you understood Squid better do you think
you'd leave out apache?
Maybe, I guess I just have a soft spot for Apache though ;-)
And what about the performance overhead? Any experience you can share?
Nope, Plone gives me all the performance o
Peter Bengtsson wrote:
So by using PersistentList it just means that you can use:
self.alist.append(1)
in your code. The attribute, self.alist, is still saved even without
PersistentList but it just means you have to be careful when writing
to it.
PersistentX classes also usually subclass Pers
Fred Drake wrote:
I've worked a bit with generating OpenDocument documents for use with
OpenOffice, and have no expectation that the document will be edited
in a way that a plain-text user will be happy with. Since the files
are ZIP files that contain XML, it's not like supporting plain text
use
Andre Meyer wrote:
BUT I read on this list that the books that cover Zope 3.0 are outdated for
the current 3.2 release.
They're still largely correct and both very useful to read and do the
examples from...
How should one get started now? Use the books with
3.0 and try to upgrade later?
Fred Drake wrote:
On 2/16/06, Chris Withers <[EMAIL PROTECTED]> wrote:
Indeed, but I'm guessing there's maybe a script that can be run to turn
OpenDocument into DocBook and vice versa?
The DocBook --> OpenDocument conversion is lossy, so there's no round trip.
:-(
O
Andrew Sawyers wrote:
If you have needs for Apache, use Apache - but there is no need for it
just for rewriting urls.
Agreed, Jens can fill you in on the rest of the details as to why we use
Apache ;-)
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consulting
Shaun Cutts wrote:
Ok everyone: it is a zope bug.
Can you make sure it ends up in the collector please?
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
___
Zope3-users mailing lis
Stefane Fermigier wrote:
You should probably report this to the Debian Zope packaging team.
...and then once you've given up on package builds, try compiling from
source ;-)
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
___
Shaun Cutts wrote:
So far so good, modulo the replication issue. (We don't have much
funding yet... but if initial launch goes well, we're hopeful :)).
As people have mentioned, you can use repozo to get almost the same
effect. Either that or do app-level replication ;-)
It would be very ni
Hi Shaun,
Shaun Cutts wrote:
Ah -- very nice: so Data.fs *is* a transaction log.
Yup, and a very simple, robust one at that ;-)
In theory an RDBMS
with write ahead logging is still more secure because the transaction
log is only backup, and the rest of the database is another copy of the
cur
Martin Aspeli wrote:
Personally, I still find it hard to know where the line goes between the
ZMI and my own UI code, if I should be extending the ZMI or replacing
it. Perhaps because I'm tainted by Zope 2's idea of the ZMI, though.
I'm fairly sure the idea with Zope 3 was to be able to re-use
Stefane Fermigier wrote:
Zed/The Component Architecture Formerlyknown as Zope/GoldEgg/whatever
that's not called Zope something: YUCK!
(Who's Zed? Zed's dead, baby!)
+ sys.maxint
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
___
Andreas Elvers wrote:
Personally I don't like to store big files (pictures and the like) in
ZODB. Zope provides you the functionality to store this data outside of
ZODB (somewhere on the harddrive). Although commonly a reference still
exists in ZODB in form of a content object. This content obje
Reinhold Strobl wrote:
is it possible to integrate CORBA with Zope.
Sure, but I doubt it's been done before, so you'd be on your own...
I mean, generally can I can code
every python code in Corba,
Dunno what this means, CORBA's a communication protocol not a
programming language, right?
Isn't this what the "generations" code is for?
cheers,
Chris
Pete Taylor wrote:
Hi all,
I've run into an interesting issue. I've been building an application
in zope3 over the last few months to meet a business need where I
work. Basically just capturing a lot of data about prospective
insur
j.kartnaller wrote:
I am looking for a hook where I can install some code at the beginning
of each request before the request is processed.
Why do you think you need to do that? ;-)
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
__
Reinhold Strobl wrote:
For instance, server A provides the views and server B provides business
functionality via utilities. As a side effect, this should help to increase
scalability, since I split functionality over multiple servers.
But how to I get them to work together? Is XML-RPC the right
Stephan Richter wrote:
for entry in tuple(tree.keys())
for entry in tree.iterkeys()
Which of these is preferred?
What, specifically, does iterkeys do? I've never bumped into it before
and I'm interested if there's a contract that says iterkeys returns an
immutable key sequence, which is kin
Stephan Richter wrote:
On Tuesday 23 May 2006 01:38, Frank Burkhardt wrote:
[x for x in iterator()]
easier is list(iterator())
Okay, but where does BTrees promise that iterkeys() returns something
that's immutable?
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consult
Hi All,
Dunno if this is the right list, but it's about Zope 3's i18n stuff and
Five and Zope 2.9, so if anyone can recommend a better list, please let
me know...
I did try and ask about this on the zope@zope.org list but got no
response :-(
I have a ZODB-based Zope 2.7 app using PTS that
Marco Mariani wrote:
and then in overrides.zcml:
Thanks!
Where does this snippet go in Five-land?
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
___
Zope3-users mailing list
Stephan Richter wrote:
On Wednesday 31 May 2006 04:29, Chris Withers wrote:
- Can my existing .pot and .po files be used?
Yes, the PO file format is totally independent of Zope and Python.
But with PTS, I don't need to build .mo's myself, right? ;-)
- How would I mark up co
ould I move to the above
layout? Where do I put the various folders?
On Wednesday 31 May 2006 04:29, Chris Withers wrote:
> - How would I mark up constant and computered strings in zodb-based
> Python Scripts?
Mark up?
ie: indicate that they are strings that need to be translated..
Stephan Richter wrote:
On Friday 02 June 2006 03:52, Chris Withers wrote:
Stephan Richter wrote:
On Wednesday 31 May 2006 04:29, Chris Withers wrote:
- Can my existing .pot and .po files be used?
Yes, the PO file format is totally independent of Zope and Python.
But with PTS, I don't
Stephan Richter wrote:
The point is that I am not interesting in supporting the ZMI at all. I have no
use for users or developers to ever use the ZMI. In fact, basing my skin on
the ZMI is bad because it provides all those URLs I (a) do not have control
over -- thus being a security risk, and
Stephan Richter wrote:
Use Python popen or popen3. It allows you to execute shell comands. As the
other response suggests, you can use "sudo" or "su" to become root.
Actually, since Zope 3 uses Python 2.4, you have access to the wonderful
subprocess module, which I'd thoroughly recommend :-)
Philipp von Weitershausen wrote:
Failing to find a clear explanation, I only see a ways for Zope3-based
sites to:
1. Be toyed with by the user.
How so?
"ooo look, pretty shiny things in urls, I wonder what they mean"
2. Fall out of search engines.
Why?
Search engines don't particularly
Philipp von Weitershausen wrote:
2. Fall out of search engines.
Why?
Search engines don't particularly like weird characters in urls.
@ and + are not "weird" characters in URLs. They're allowed by the spec
and I'd be surprised if they actually are a problem. So far, this is all
hand-waving.
Thierry FLORAC wrote:
While using Zope2, I used to "split" my ZODB into several parts, using
the "old" DBTab product configuration (which was finally included into
Zope2).
Can I setup this kind of configuration with Zope3 and, if so, how ?
It's all ZODB, I would hope Zope 3's zope.conf would al
Jim Fulton wrote:
Much of the value of the Zope 3 mounting code
was in getting around the limitation that cross-database
object references weren't supported.
Does Zope 3 still have the idea of "one big tree" of object with
path-like unique identifiers? If so, then mounting will probably still
Jim Fulton wrote:
The default Zope 3 configurations still organizes objects into a tree.
Path identifiers are no longer used.
How do you now uniquely identify an object?
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
Jim Fulton wrote:
First, you usually don't need an independent unique id for an
object, since direct object references work much better in
Zope 3 than they do in Zope 2.
Great :-)
If you do need a separate identifier of some kind, you can
use a key reference or use an integer id from an inti
Philipp von Weitershausen wrote:
What's a "key reference"?
-> zope.app.keyreference
-> zope.app.intid
I was wondering if there was a more high level explanation that "rtsl" ;-)
I kinda know what an intid is, but what's a key reference?
cheers,
Chris
--
Simplistix - Content Management, Zop
Philipp von Weitershausen wrote:
class IKeyReference(zope.interface.Interface):
"""A reference to an object (similar to a weak reference).
The references are compared by their hashes.
"""
There, that wasn't so hard...
Well yeah, but it's also not very explanatory ;-)
If it's simi
[EMAIL PROTECTED] wrote:
Almost surely, the code should be "cur_tid <= tid" rather than
"cur_tid < tid". But there is nobody that is sure about it.
Well, as I've asked before, what needs to happen for someone to _become_
sure about it?
(or at least change it and see what happens? ;-) )
chee
Tim Peters wrote:
Same answer as before: someone who understands the intended
invariants during cache verification needs to stare at the mutually
inconsistent code and comments, and figure out was intended.
Is there a list of suspects for this?
>> (or at least change it and see what happens?
Philipp von Weitershausen wrote:
I wouldn't say that. It depends on your taste, really. I personally
prefer the package-includes approach for development environments; for
actual deployments I find having no package-includes at all, but instead
putting everything in site.zcml useful, because it's
Stéphane Brault wrote:
But I can't seem to be able to use apache as a proxy.
If you elaborate, people may be able to help you.
However, for that specific problem #apache on irc.freenode.net will
probably be of more service...
Chris
--
Simplistix - Content Management, Zope & Python Consulti
Karel Antonio Verdecia Ortiz wrote:
Thank you, but when I use now "svn://" instead of "http://"; I get:
svn: No fue posible conectarse al equipo 'svn.zope.org': Network
is unreachable
I think it should be a problem with my proxy
Indeed, you need to unblock the port.
I
Benji York wrote:
Baiju M wrote:
(This is about : http://kpug.zwiki.org/Zope3Distilled)
I recommend you verify that you can use the "Distilled" name. I believe
computer book titles of that form are protected by an Addison-Wesley
trademark.
I'm pretty sure a trademark like that can't
Philipp von Weitershausen wrote:
I'm pretty sure a trademark like that can't be claimed. You'd be
effectively trademarking a dictionary word, and I'm pretty sure that's
not allowed...
Let's see, looking through the first pages of my English dictionary, it
seems that "Apple" is also a dictio
Gary Poster wrote:
http://www.innovation.ch/personal/ronald/ntlm.html), the problem is that
the 4 way handshake has to happen *within a single connection*.
Apparently MS abuses HTTP to perform this.
Hmmm, I'm not sure this is true. One project I work on has 10,000+ users
a day authenticating
Chris McDonough wrote:
The right thing to do here is probably to just use something like
http://modntlm.sourceforge.net/ and trust the REMOTE_USER environment
variable passed by Apache... let somebody else worry about maintaining
it. ;-)
'cept it don't work ;-)
(well, not in the aforementi
This package provides components for use with Zope 3 and Zope 2 + Five
that implement both ITranslationDomain and ILanguageAvailability as well
as supporting the recording of untranslated msgids.
This means that, not only do the components support the interface
require to provide messages to Z
...but which just gets the names of utilities available for a particular
interface.
The reason I ask is that getUtilitiesFor returns tuples of name and
utility. This seems wasteful, particular when the utilities need to be
created from factories, and all I'm then doing with the list is
genera
Philipp von Weitershausen wrote:
Utilities are never created when they're looked up. They're created when
registered. Singletons (instances) are registered with the utility
registry, never factories.
Ah, yes, of course, I think I'm looking for local utilities...
and all I'm then doing with th
Philipp von Weitershausen wrote:
Chris Withers wrote:
Philipp von Weitershausen wrote:
Utilities are never created when they're looked up. They're created
when registered. Singletons (instances) are registered with the
utility registry, never factories.
Ah, yes, of course, I
Hi All,
Curious about security in Zope 3.
In Zope 2 the following would be bad:
class X(SimpleItem): pass
class Y(SimpleItem): pass
class Z(SimpleItem): pass
x = X()
y = Y()
z = Z()
x.y = y
x.z = z
y.z = z
...because z has two containment paths:
x.z
x.y.z
...which might have different secu
Ivan Horvath wrote:
Is there anybody out there?
Plenty.
why haven't i received any answer?
Because no one understood the question, or maybe no one knew the answer,
or just maybe nobody had time or nobody felt like it...
i thought this list is to raise question if i don't know something,
Fred Drake wrote:
This should make it a lot easier to use alternate root objects,
something it sounds like many of us have run up against.
Never bumped into this myself, curious about the need that drove this.
can you explain or is there something I can look at?
cheers,
Chris
--
Simplisti
Chris McDonough wrote:
Why not just use a mutex (a recursive lock makes things easier too)?
Yeah, Big Fat Lock has been my solution with Reportlab, worked well
under high load for several years.
I don't use RLocks myself, paranoia says they're not big or fat enough ;-)
Chris
--
Simplistix
Timothy Reaves wrote:
Is the recommended way still to use repozo, or is there a different
ZEA client for that?
You either want to run repozo on the storage server or look at ZRS,
which will cost you real money...
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consultin
catonano wrote:
DBAPIError: (Connection failed) (OperationalError) (1045, "Access denied
for user 'ODBC'@'localhost' (using password: NO)")
This seems like you need to find out how to allow access to you user in
mysql. It also looks like you might want to supply a password somewhere...
Chris
Tom Dossis wrote:
Is it possible, and if, how?
Hi Sascha,
I think if you name your page (editform) 'upload.html' rather than
'editmyfile.html' it will effectively override the base view.
I suppose so, but what if I don't want to replace it, just wanna get rid of
it?
Don't know whether you
Shailesh Kumar wrote:
Thanx Tom, but I was looking for the general case, not in the context of a
request. Like say during application startup I want to know the port
number.
Is it possible?
This is surely in the event log, why don't you look there?
Chris
--
Simplistix - Content Management,
Shailesh Kumar wrote:
Thanx for the hint. I still don't know how to programmatically access the
event log. will try to figure it out.
Why do you need to know programmatically?
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
Shailesh Kumar wrote:
I have 2 different zope applications running (on different machines) and
they would be talking to each other, one is a master application and there
may be multiple instances of the other one (on different machines). I need
the port number information for registing one with a
Dan Buch wrote:
Let's say that we take HA out of the equation
Well, okay, but I thought that was the point of this discussion? ;-)
and that our supposed
infrastructure already has storage and web covered.
How so? Are you storing all your data in a relational database? Is
someone else run
Dan Buch wrote:
security:
100% authenticated, all the time (TLS/SSL?)
TLS/SSL has little to do with authentication.
What percentage of your users will be logged in using a
password/sso/nltm/etc?
activities:
90% reading
10% modifying objects
Yeah, you'll have no problems with zodb based o
Alex Cheng wrote:
Thanks.
What 'trivial' are you referring to?
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.or
Paul Winkler wrote:
Pound might also be a reasonable choice here. (Haven't tried it
myself.) But yes, you want *something* in front of Zope.
When I last encountered a project using pound, pound was the source of
no-end of hair pulling and frustration.
Now that projects uses Apache, Squid a
Alek Kowalczyk wrote:
How to determine my web server URL without having any request around?
Well, I'm afraid you will need to set the server url as a constant
somewhere...
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
__
Mark, Jonathan (Integic) wrote:
My interpretation of this statement is as follows. You can store
information in separate partitions of the ZODB, and ZEO will route
requests to the appropriate partition.
Correct, as Philipp described.
Is that true only for Zope 3, or is it true for Zope 2.1x a
Andrew Groom wrote:
I need to reuse a Zope3 component outside Zope for doing some non-web
based regular processing, e.g., bulk emailing, and the component makes
use of adapters specified in the configure.zcml for the component. How
do I make these adapters available to my non-Zope process ? I'v
Hi Gary,
Not sure what list to use for zc.queue so picked zope3-users ;-)
Why does adding to identical objects to a queue at the same time result
in a conflict? Surely they should both just get added in an artbitary order?
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Cons
Gary Poster wrote:
Why does adding to identical objects to a queue at the same time
result in a conflict? Surely they should both just get added in an
artbitary order?
Basically, the constraint allows for more powerful conflict resolution,
or at least simpler code.
Um, can you explain th
Thierry Florac wrote:
I'm looking for the set of parameters that can be used in zope.conf
file, including those relatives to ZODB caching options and ZEO
configuration.
Any link would be greatly welcome...
Looks for a schema.xml file in the source distro. That'll be the ZConfig
schema used to
Hey All,
How do I subscribe a susbcriber to ObjectModifiedEvent but not
ContainerModifiedEvent?
I have a subscriber that is currently subscribed to
IObjectModifiedEvent, but as a result it's getting called when objects
are added and removed whereas I only want it when the container is
actua
Martin Aspeli wrote:
def handler(event):
if IContainerModifiedEvent.providedBy(event):
return
...which is pretty inefficient.
All the subscriber lookup, etc, has to happen to get this far.
There must be a better way...
Chris
--
Simplistix - Content Management, Zope & Python Co
Jeff Shell wrote:
Well,
a container is an object.
It's being modified by the sake of its content changing.
Yeah, but the reason there's two types of events would probably be so
you can differentiate between them with subscribers.
The inheritence structure and nature of how adapters/subscr
Hey All,
I need a little time tracking app so I thought I'd knock it up in Zope 3
with a ZODB backing, just to check on the latest and greatest way to
build a Zope 3 app.
So, what *is* the "standard" way now and where can I read about how to
do it?
cheers,
Chris
--
Simplistix - Content M
Andreas Jung wrote:
I need a little time tracking app so I thought I'd knock it up in Zope 3
with a ZODB backing, just to check on the latest and greatest way to
build a Zope 3 app.
So, what *is* the "standard" way now and where can I read about how to do
it?
GROK?
I *do* want ot try grok
Jens Vagelpohl wrote:
I was talking about normal, straight Zoep 3 here...
Look at Phillip's book?
I suspect even the 2nd edition of that is out of date w.r.t. current
practice, hence why I'm asking on the list ;-)
Chris
--
Simplistix - Content Management, Zope & Python Consulting
Jens Vagelpohl wrote:
I suspect even the 2nd edition of that is out of date w.r.t. current
practice, hence why I'm asking on the list ;-)
I don't think that's the case.
I'm pretty sure the full move to eggs along with the introduction of
buildout and the recipe-based stuff has happened since
1 - 100 of 141 matches
Mail list logo