*** vipod has quit IRC | 00:07 | |
*** jim_SFU has quit IRC | 00:14 | |
*** daMaestro|isBack has joined #zope | 00:17 | |
*** daMaestro has quit IRC | 00:21 | |
*** daMaestro|isBack is now known as daMaestro | 00:23 | |
*** regebro has left #zope | 00:26 | |
*** danielb_afk is now known as danielblackburn | 00:34 | |
*** alvaro_o has quit IRC | 00:39 | |
*** alvaro_o has joined #zope | 00:40 | |
*** __mac__ has joined #zope | 00:49 | |
*** __mac__ has quit IRC | 00:53 | |
*** davisagli|away is now known as davisagli | 00:55 | |
*** sashav has quit IRC | 00:57 | |
*** Gogo|tty has quit IRC | 01:04 | |
*** Gogo|tty has joined #zope | 01:04 | |
*** menesis has quit IRC | 01:10 | |
*** fredvd|away has quit IRC | 01:13 | |
*** percious has quit IRC | 01:14 | |
*** __mac__ has joined #zope | 01:15 | |
*** J1m has quit IRC | 01:21 | |
*** ploufplouf has quit IRC | 01:41 | |
*** nitrogenycs has joined #zope | 02:25 | |
*** rogererens has quit IRC | 02:29 | |
*** __mac__ has quit IRC | 02:43 | |
*** dayne has quit IRC | 02:49 | |
*** davisagli is now known as davisagli|away | 02:59 | |
RaceCondition | how do I find all classes that (in)directly implement an interface? smth like IFoo.getImplementors() | 03:01 |
---|---|---|
kosh | that sounds like it would be very difficult | 03:10 |
kosh | since many of the classes that implement that interface may not even be loaded yet | 03:10 |
kosh | what is your usage case for this? | 03:10 |
*** sm has quit IRC | 03:11 | |
*** gwik has quit IRC | 03:17 | |
RaceCondition | kosh: I mean, get all the loaded classes that implement a given interface. purpose? just to get an overview of the architecture of a piece of software... introspection | 03:25 |
RaceCondition | like, if I want to learn the structure of a piece of software to get familiar with it more quickly | 03:25 |
RaceCondition | there's, of course, always the option to grep the source code for "implements(IGivenInterface)" | 03:26 |
*** alvaro_o has quit IRC | 03:27 | |
*** f10w has quit IRC | 03:27 | |
*** f10w has joined #zope | 03:40 | |
*** nitrogenycs has left #zope | 03:40 | |
*** davetoo has joined #zope | 03:40 | |
*** tulga has joined #zope | 03:43 | |
*** tiwula has quit IRC | 03:48 | |
*** alga has quit IRC | 03:50 | |
*** ccomb has quit IRC | 04:06 | |
*** davisagli|away is now known as davisagli | 04:10 | |
mcdonc | RaceCondition: there is no foolproof way | 04:12 |
mcdonc | (not even a fool-resistant way) | 04:12 |
RaceCondition | so Interfaces don't really keep track of who implements them? | 04:13 |
mcdonc | no.. at least, if they do, there's no docs about how to get that info back | 04:13 |
davetoo | How could they? | 04:13 |
mcdonc | well, implements() *could* keep around a global | 04:14 |
mcdonc | it might even do that | 04:14 |
mcdonc | but its not part of the API, afaik | 04:14 |
RaceCondition | mcdonc: I guess I could just monkey patch it for introspection purposes | 04:14 |
davetoo | I know so little about zope so far.. I have no idea how much FM I have no idea about, if you know what I mean :) | 04:14 |
RaceCondition | are there any extensions points to ZCA itself to customise how it works and plug in new architectural pieces? | 04:15 |
RaceCondition | unrelated to my previous question... it's just something that popped to my mind when I realized the universalness of ZCA | 04:16 |
*** daMaestro|isBack has joined #zope | 04:27 | |
*** daMaestro|isBack has quit IRC | 04:27 | |
*** daMaestro has quit IRC | 04:31 | |
mcdonc | RaceCondition: yes, although they arent really documented | 04:52 |
mcdonc | you'll likely need to read the source | 04:52 |
RaceCondition | mcdonc: nice, at least it's there | 04:52 |
*** f10w has quit IRC | 05:03 | |
*** f10w has joined #zope | 05:03 | |
*** dayne has joined #zope | 05:04 | |
*** davisagli has quit IRC | 05:05 | |
*** davisagli has joined #zope | 05:06 | |
*** alecm has quit IRC | 05:30 | |
*** davisagli is now known as davisagli|away | 05:33 | |
*** tiwula has joined #zope | 05:42 | |
*** davisagli|away is now known as davisagli | 05:48 | |
tulga | good morning | 06:01 |
*** benji has quit IRC | 06:26 | |
*** davetoo has quit IRC | 06:38 | |
*** alecm has joined #zope | 06:45 | |
*** alecm has joined #zope | 06:45 | |
*** jan_s has joined #zope | 07:10 | |
*** yvl has quit IRC | 07:12 | |
*** yvl has joined #zope | 07:15 | |
*** tiwula has quit IRC | 07:39 | |
*** jan_s has quit IRC | 07:45 | |
*** astoon has joined #zope | 07:49 | |
*** astoon has quit IRC | 07:51 | |
*** jan_s has joined #zope | 07:53 | |
*** sm has joined #zope | 08:05 | |
*** astoon has joined #zope | 08:06 | |
*** davisagli is now known as davisagli|away | 08:14 | |
*** astoon has quit IRC | 08:18 | |
*** davisagli|away is now known as davisagli | 08:22 | |
*** davisagli is now known as davisagli|away | 08:30 | |
*** zagy has joined #zope | 08:31 | |
RaceCondition | how common in Zope it is to adapt classes instead of interfaces? I sometimes find it an overkill to always use an interface | 08:34 |
RaceCondition | and also, how meaningful it is to always declare an interface, even if used by only one class? | 08:35 |
*** rogererens has joined #zope | 08:37 | |
kosh | well so far I have not touched interfaces or adapters | 08:38 |
kosh | no idea how common it is in other code | 08:38 |
*** sm has quit IRC | 08:46 | |
*** rogererens has quit IRC | 08:48 | |
*** tisto has joined #zope | 08:54 | |
RaceCondition | kosh: so what exactly do you use in zope if you haven't used interfaces nor adapters? | 08:55 |
*** __mac__ has joined #zope | 08:59 | |
*** __mac__ has quit IRC | 09:04 | |
kosh | I have been writing zope products and apps for probably 8 years or so | 09:07 |
*** hever has joined #zope | 09:16 | |
*** hever has quit IRC | 09:18 | |
*** hever has joined #zope | 09:19 | |
*** cpf_ has joined #zope | 09:25 | |
*** davisagli|away is now known as davisagli | 09:29 | |
mcdonc | RaceCondition: i adapt to classes instead of interfaces a good bit | 09:29 |
RaceCondition | mcdonc: but why do most beginner sources give examples that obviously overuse interfaces? at least it seems to me like it | 09:30 |
mcdonc | not sure really, maybe people dont know you can adapt to classes | 09:31 |
RaceCondition | like, why the hell would I have an IBookmark interface for a Bookmark class to store bookmarks? | 09:31 |
RaceCondition | hmm, I thought of that possibility, but even prominent sources do that | 09:31 |
RaceCondition | so maybe I'm missing something very fundamental here | 09:32 |
mcdonc | http://plope.com/Members/chrism/zca_thoughts_summary | 09:32 |
mcdonc | i doubt you're missing anything fundamental | 09:33 |
mcdonc | there really is a lot of heat and not much light surrounding this topic | 09:33 |
RaceCondition | basically, would anybody ever swap out Bookmark and use BetterBookmark to implement IBookmark? | 09:33 |
mcdonc | no idea, that's the sort of judgment you need to make when deciding whether to use an interface or a class | 09:34 |
davisagli | RaceCondition: if you're writing code that's supposed to be reusable, it's probably worth it to define the interface. but if know you won't need it, there's no harm in just adapting the class | 09:34 |
RaceCondition | davisagli: but why would I be reusing the IBookmark interface if it's just there to store a basic piece of data? | 09:35 |
davisagli | maybe someone else has a different idea of what a bookmark is | 09:35 |
mcdonc | i wouldnt bang your head on it much | 09:35 |
davisagli | yeah | 09:36 |
RaceCondition | there was something else that was very confusing as well, actually | 09:36 |
RaceCondition | ah, well, I guess if I just ignore it for now... :P | 09:36 |
mcdonc | most interfaces you see in the wild are grossly unncessary | 09:37 |
mcdonc | i'll take that back | 09:38 |
mcdonc | many *adaptations* you see in the wild are grossly unnecessayr | 09:38 |
mcdonc | because someone has used an adaptation as a test dependency injection | 09:38 |
mcdonc | and those adaptations look exactly like the ones that are for "real" plugpoints | 09:39 |
*** allisterb_ has quit IRC | 09:42 | |
*** alexpilz has quit IRC | 09:50 | |
*** __mac__ has joined #zope | 09:54 | |
*** wosc has joined #zope | 09:55 | |
*** allisterb has joined #zope | 09:56 | |
*** hever has quit IRC | 10:03 | |
*** alecm has quit IRC | 10:04 | |
CIA-82 | naro * r118674 /z3c.sqlalchemy/branches/custom_relations: Such implementation is not needed. It is better to use declarative_base and specify keys in standard way | 10:05 |
*** davisagli is now known as davisagli|away | 10:18 | |
*** astoon has joined #zope | 10:21 | |
*** digitalmortician has quit IRC | 10:24 | |
*** rogererens has joined #zope | 10:26 | |
*** menesis has joined #zope | 10:29 | |
*** planetzopebot has quit IRC | 10:33 | |
*** goschtl has joined #zope | 10:33 | |
*** planetzopebot has joined #zope | 10:34 | |
*** hever has joined #zope | 10:34 | |
*** neo|4D has joined #zope | 10:41 | |
*** thetet has joined #zope | 10:41 | |
*** __mac__ has quit IRC | 10:41 | |
*** mitchell`off is now known as mitchell` | 10:47 | |
*** Theuni_ has joined #zope | 10:47 | |
*** Theuni_ is now known as Guest55153 | 10:48 | |
*** alecm has joined #zope | 10:53 | |
*** alecm has joined #zope | 10:53 | |
*** alexpilz has joined #zope | 10:54 | |
*** ccomb has joined #zope | 10:56 | |
*** alexpilz has quit IRC | 10:59 | |
*** regebro has joined #zope | 11:00 | |
*** ccomb has quit IRC | 11:01 | |
tulga | guys, where can I get zope2 documentation? i mean download. | 11:03 |
betabug | you could grab the repo for the zope book and build a pdf using the sphinx tools | 11:04 |
betabug | probably/maybe there is a link to the repo on docs.zope.org | 11:05 |
tulga | ok | 11:07 |
*** ccomb has joined #zope | 11:11 | |
*** MrWu has joined #zope | 11:17 | |
*** MrWu has quit IRC | 11:18 | |
*** vipod has joined #zope | 11:24 | |
*** giampaolo has joined #zope | 11:25 | |
*** sylvain has joined #zope | 11:32 | |
*** nitrogenycs has joined #zope | 11:34 | |
*** tulga has quit IRC | 11:35 | |
*** hever has quit IRC | 11:36 | |
*** tulga has joined #zope | 11:48 | |
*** ploufplouf has joined #zope | 11:51 | |
*** gwik has joined #zope | 12:04 | |
*** hever has joined #zope | 12:06 | |
*** tulga has quit IRC | 12:08 | |
*** MrWu has joined #zope | 12:09 | |
*** alga has joined #zope | 12:11 | |
*** markvandenborre has quit IRC | 12:15 | |
*** markvandenborre has joined #zope | 12:15 | |
*** astoon has quit IRC | 12:17 | |
CIA-82 | tiazma * r118675 /Products.ExternalEditor/tags/1.1.0: Tagged Products.ExternalEditor 1.1.0 | 12:18 |
*** ccomb has quit IRC | 12:24 | |
*** digitalmortician has joined #zope | 12:27 | |
*** astoon has joined #zope | 12:32 | |
*** digitalmortician has quit IRC | 12:37 | |
*** digitalmortician has joined #zope | 12:42 | |
*** ccomb has joined #zope | 12:50 | |
*** fredvd has joined #zope | 12:53 | |
*** teix has joined #zope | 12:54 | |
*** RichardBarrell has joined #zope | 12:55 | |
*** menesis has quit IRC | 12:56 | |
*** digitalmortician has quit IRC | 13:05 | |
CIA-82 | tiazma 1.1.0 * r118676 Products.ExternalEditor/setup.py: oOps, I forgot to delete the 'dev' of the version number | 13:09 |
*** digitalmortician has joined #zope | 13:11 | |
*** menesis has joined #zope | 13:13 | |
*** jan_s has left #zope | 13:18 | |
*** jan_s has quit IRC | 13:18 | |
CIA-82 | tiazma 1.1.0 * r118676 Products.ExternalEditor/setup.py: oOps, I forgot to delete the 'dev' of the version number | 13:19 |
*** tisto is now known as tisto|lunch | 13:29 | |
CIA-82 | jinty * r118677 z3c.form/ (4 files in 4 dirs): | 13:47 |
CIA-82 | Add English translation (generated from translation template using | 13:47 |
CIA-82 | msgen z3c.form.pot > en/LC_MESSAGES/z3c.form.po). | 13:47 |
*** __mac__ has joined #zope | 14:04 | |
*** agroszer has joined #zope | 14:05 | |
*** yvl has quit IRC | 14:05 | |
*** menesis has quit IRC | 14:05 | |
*** astoon has quit IRC | 14:12 | |
*** sunew has joined #zope | 14:12 | |
*** rbanffy has joined #zope | 14:17 | |
*** Guest55153 has quit IRC | 14:22 | |
*** svenn has joined #zope | 14:30 | |
*** __mac__1 has joined #zope | 14:37 | |
*** __mac__ has quit IRC | 14:37 | |
*** svenn has quit IRC | 14:45 | |
*** allisterb has quit IRC | 14:46 | |
*** d2m has quit IRC | 14:50 | |
*** menesis has joined #zope | 14:57 | |
*** allisterb has joined #zope | 15:00 | |
*** __mac__ has joined #zope | 15:02 | |
*** __mac__1 has quit IRC | 15:02 | |
*** __mac__ has quit IRC | 15:02 | |
*** allisterb has quit IRC | 15:08 | |
*** benji has joined #zope | 15:08 | |
*** sunew has quit IRC | 15:18 | |
*** allisterb has joined #zope | 15:20 | |
*** thetet has quit IRC | 15:27 | |
*** cwarner has joined #zope | 15:44 | |
*** tisto|lunch is now known as tisto | 15:44 | |
*** wosc has quit IRC | 15:59 | |
*** J1m has joined #zope | 16:05 | |
*** cpf_ has quit IRC | 16:09 | |
*** MrWu has quit IRC | 16:19 | |
*** MrWu has joined #zope | 16:22 | |
*** rbanffy has quit IRC | 16:22 | |
*** sunew has joined #zope | 16:28 | |
*** dayne has quit IRC | 16:28 | |
*** binbrain has joined #zope | 16:34 | |
*** goschtl has quit IRC | 16:35 | |
*** sunew has quit IRC | 16:39 | |
*** sm has joined #zope | 16:47 | |
*** zagy has quit IRC | 16:58 | |
*** dayne has joined #zope | 16:59 | |
*** thetet1 has joined #zope | 17:06 | |
CIA-82 | janjaapdriessen janjaapdriessen-hurry.resource * r118678 grokproject/grokproject/template/ (src/+package+/resource.py_tmpl setup.py_tmpl): Use fanstatic instead of hurry.resource. | 17:18 |
CIA-82 | janjaapdriessen janjaapdriessen-hurry.resource * r118679 grokproject/grokproject/template/ (4 files in 2 dirs): | 17:18 |
CIA-82 | Create two zope.conf files: A debug and a production one. This will allow you to run grok in a debug and a deploy configuration without re-running bin/buildout or messing around in parts/etc/zope.conf. | 17:18 |
CIA-82 | Use the fanstatic middleware component that combines the injector and publisher. | 17:18 |
*** tisto has quit IRC | 17:23 | |
*** nvictor has joined #zope | 17:37 | |
nvictor | hello all :) | 17:37 |
nvictor | i have been reading about interfaces in java and i am very interested by them | 17:37 |
nvictor | now i have researched them and finally landed here :) | 17:38 |
nvictor | an upfront question, will zope's module work with python 2.5? | 17:38 |
nvictor | google appengine is leaving me no choice | 17:38 |
mgedmin | you mean zope.interface? it will, yes | 17:38 |
nvictor | mgedmin: thanks God | 17:39 |
nvictor | ok back to reading the docs | 17:39 |
mgedmin | nobody ever called me that before :) | 17:39 |
nvictor | mgedmin: you just saved a life (or more precisely a poor programmer soul) | 17:40 |
nvictor | ;) | 17:40 |
CIA-82 | tseaver * r118680 Zope/ (doc/CHANGES.rst buildout.cfg): Stopped testing non-overridden ZTK eggs in ``bin/alltests``. | 17:49 |
*** supton has joined #zope | 17:51 | |
*** nvictor has quit IRC | 17:51 | |
*** sm_ has joined #zope | 17:55 | |
*** alexpilz has joined #zope | 17:57 | |
*** sm has quit IRC | 17:58 | |
*** sm_ is now known as sm | 17:58 | |
CIA-82 | tseaver 2.13 * r118681 Zope/ (doc/CHANGES.rst buildout.cfg): Stopped testing non-overridden ZTK eggs in ``bin/alltests``. | 18:03 |
CIA-82 | janjaapdriessen janjaapdriessen-hurry.resource * r118682 grokproject/ (6 files in 4 dirs): Update tests in the resulting package to use the fanstatic layer. Fix tests. | 18:03 |
*** redir has quit IRC | 18:14 | |
*** vipod has quit IRC | 18:22 | |
*** alvaro_o has joined #zope | 18:30 | |
*** menesis has quit IRC | 18:32 | |
*** menesis1 has joined #zope | 18:32 | |
*** menesis1 is now known as menesis | 18:32 | |
*** tiwula has joined #zope | 18:37 | |
*** rogererens has quit IRC | 18:43 | |
CIA-82 | janjaapdriessen * r118683 /grokcore.view/branches/1.13.5-without-static: Create feature branch for grokcore.view without static registration. | 18:45 |
CIA-82 | janjaapdriessen 1.13.5-without-static * r118684 grokcore.view/src/grokcore/view/meta/directoryresource.py: Drop the StaticResourcesGrokker. | 18:45 |
CIA-82 | tseaver * r118685 zope.structuredtext/ (10 files in 2 dirs): | 18:45 |
CIA-82 | Removed antique copyright assertions in regression texts | 18:45 |
CIA-82 | These assertions do not conform to repository policy. | 18:45 |
CIA-82 | tseaver * r118686 zope.structuredtext/ (CHANGES.txt setup.py): Prepare 3.5.1 release. | 18:45 |
*** cpf_ has joined #zope | 18:49 | |
*** alga has quit IRC | 18:50 | |
*** giampaolo has quit IRC | 18:53 | |
*** ccomb has quit IRC | 18:58 | |
*** thetet1 has quit IRC | 19:03 | |
*** sylvain has quit IRC | 19:12 | |
CIA-82 | tseaver * r118687 /zope.structuredtext/tags/3.5.1: Tag 3.5.1 release. | 19:13 |
CIA-82 | tseaver * r118688 zope.structuredtext/ (CHANGES.txt setup.py): svb | 19:13 |
CIA-82 | janjaapdriessen * r118689 /grokui.base/branches/0.4.1-fanstatic: Fanstatic for grokui.base | 19:13 |
CIA-82 | tseaver * r118690 zope.server/ (src/zope/server/http/tests/test_wsgiserver.py CHANGES.txt): Corrected license version in ``zope/server/http/tests/test_wsgiserver.py``. | 19:13 |
CIA-82 | tseaver * r118691 zope.server/ (CHANGES.txt setup.py): Prep 3.8.2 release. | 19:13 |
CIA-82 | tseaver * r118692 /zope.server/tags/3.8.2: Tag 3.8.2 release. | 19:13 |
*** RichardBarrell has left #zope | 19:33 | |
CIA-82 | tseaver * r118693 zope.server/ (CHANGES.txt setup.py): svb | 19:39 |
*** benji is now known as benji-lunch | 19:41 | |
*** alexpilz has quit IRC | 19:42 | |
*** allisterb has quit IRC | 19:44 | |
*** allisterb has joined #zope | 19:45 | |
*** redir has joined #zope | 19:48 | |
*** cpf_ has quit IRC | 19:51 | |
*** RichardBarrell has joined #zope | 19:57 | |
*** bigkevmcd has quit IRC | 19:58 | |
*** teix has quit IRC | 20:02 | |
*** teix has joined #zope | 20:03 | |
*** digitalmortician has quit IRC | 20:04 | |
*** rogererens has joined #zope | 20:04 | |
*** julesa has joined #zope | 20:08 | |
*** RichardBarrell has quit IRC | 20:09 | |
*** MrWu has quit IRC | 20:19 | |
*** gwik has quit IRC | 20:25 | |
*** lucmult1 has joined #zope | 20:25 | |
*** lucmult has quit IRC | 20:28 | |
*** benji-lunch is now known as benji | 20:36 | |
*** menesis has quit IRC | 20:37 | |
*** digitalmortician has joined #zope | 20:38 | |
*** hever has quit IRC | 20:46 | |
*** julesa has quit IRC | 20:49 | |
*** digitalmortician has quit IRC | 20:52 | |
*** nitrogenycs has quit IRC | 20:54 | |
*** zagy has joined #zope | 20:55 | |
*** gwik has joined #zope | 20:58 | |
*** hever has joined #zope | 21:00 | |
*** danielblackburn is now known as danielb_lunch | 21:03 | |
*** digitalmortician has joined #zope | 21:23 | |
*** alga has joined #zope | 21:26 | |
*** menesis has joined #zope | 21:28 | |
*** RichardBarrell has joined #zope | 21:29 | |
*** davisagli|away is now known as davisagli | 21:33 | |
*** fredvd has quit IRC | 21:45 | |
*** alga has quit IRC | 21:52 | |
*** RaceCondition has quit IRC | 21:53 | |
*** RaceCondition has joined #zope | 21:54 | |
*** davisagli is now known as davisagli|away | 22:00 | |
*** ccomb has joined #zope | 22:05 | |
*** rbanffy has joined #zope | 22:14 | |
*** teix has quit IRC | 22:14 | |
*** rbanffy has quit IRC | 22:18 | |
*** alga has joined #zope | 22:19 | |
*** supton_ has joined #zope | 22:24 | |
*** supton has quit IRC | 22:26 | |
*** supton_ is now known as supton | 22:26 | |
*** chaoflow has quit IRC | 22:39 | |
*** digitalmortician has quit IRC | 22:44 | |
*** danielb_lunch is now known as danielblackburn | 22:45 | |
*** chaoflow has joined #zope | 22:47 | |
*** binbrain has quit IRC | 22:48 | |
*** lucmult1 has left #zope | 22:51 | |
*** agroszer has quit IRC | 22:55 | |
*** digitalmortician has joined #zope | 23:09 | |
*** vipod has joined #zope | 23:12 | |
*** davetoo has joined #zope | 23:18 | |
*** zagy has quit IRC | 23:19 | |
*** jwhisnant has joined #zope | 23:20 | |
*** nitrogenycs has joined #zope | 23:22 | |
*** menesis has quit IRC | 23:37 | |
*** hever has quit IRC | 23:39 | |
*** hever has joined #zope | 23:42 | |
*** hever has quit IRC | 23:44 | |
*** hever has joined #zope | 23:45 | |
*** neo|4D has quit IRC | 23:48 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!