*** timte has quit IRC | 00:21 | |
*** naro has quit IRC | 00:21 | |
*** schwendinger has quit IRC | 00:53 | |
*** reco has quit IRC | 01:01 | |
*** benji has quit IRC | 01:17 | |
*** rmarianski has quit IRC | 01:20 | |
*** jinty has quit IRC | 01:45 | |
*** jelkner has joined #zope3-dev | 02:40 | |
*** ignas has quit IRC | 03:06 | |
*** kobold has quit IRC | 03:10 | |
*** Londo__ has joined #zope3-dev | 03:11 | |
*** Londo has quit IRC | 03:12 | |
*** yota has quit IRC | 03:25 | |
*** Londo__ has quit IRC | 03:28 | |
*** projekt01 has joined #zope3-dev | 03:37 | |
*** wreutz has quit IRC | 03:37 | |
*** jkakar has quit IRC | 03:39 | |
*** niemeyer has quit IRC | 03:39 | |
*** tav has joined #zope3-dev | 03:43 | |
*** ChanServ sets mode: +o tav | 03:43 | |
tav | hmz, anyone know where i can find a zodb egg? | 03:44 |
---|---|---|
*** wrobel has quit IRC | 03:50 | |
*** whit has quit IRC | 03:50 | |
*** rocky is now known as rocky|Zzz | 03:54 | |
tav | aha http://download.zope.org/distribution/ | 03:56 |
*** MiUlEr has joined #zope3-dev | 04:27 | |
*** deo has quit IRC | 04:50 | |
*** stub has joined #zope3-dev | 04:58 | |
*** cbcunc is now known as cbcunc_zzz | 05:14 | |
*** stub has quit IRC | 05:46 | |
*** stub has joined #zope3-dev | 05:46 | |
CSWookie | Hey, if I have a tal path: context/Age/hours, where Age is a callable that takes no arguments and returns dictionary that has the key 'hours' in it, should that work? | 06:05 |
*** jkakar has joined #zope3-dev | 06:15 | |
*** jkakar_ has joined #zope3-dev | 06:22 | |
*** jkakar has quit IRC | 06:23 | |
*** baijum has joined #zope3-dev | 06:25 | |
*** philiKON_ has joined #zope3-dev | 06:25 | |
*** shiny has joined #zope3-dev | 06:31 | |
*** philiKON has quit IRC | 06:33 | |
*** jkakar_ has quit IRC | 06:33 | |
*** stub has quit IRC | 06:52 | |
*** alecm has joined #zope3-dev | 07:05 | |
*** projekt01 has quit IRC | 07:47 | |
*** yvl has joined #zope3-dev | 08:03 | |
*** jnair has joined #zope3-dev | 08:12 | |
*** pghoratiu has joined #zope3-dev | 08:23 | |
*** sorindregan has joined #zope3-dev | 08:25 | |
*** jukart has joined #zope3-dev | 08:33 | |
*** dobee has joined #zope3-dev | 08:34 | |
*** wrobel has joined #zope3-dev | 08:47 | |
*** zagy has joined #zope3-dev | 09:00 | |
*** stub has joined #zope3-dev | 09:03 | |
*** zagy has quit IRC | 09:04 | |
*** zagy has joined #zope3-dev | 09:05 | |
*** zagy has quit IRC | 09:06 | |
*** zagy has joined #zope3-dev | 09:07 | |
*** schwendinger has joined #zope3-dev | 09:24 | |
*** RaFromBRC has joined #zope3-dev | 09:27 | |
*** RaFromBRC has quit IRC | 09:29 | |
*** faassen has joined #zope3-dev | 09:36 | |
romanofski | moin moin | 09:36 |
*** dlk has joined #zope3-dev | 09:42 | |
*** dunny_ has joined #zope3-dev | 09:56 | |
*** faassen has left #zope3-dev | 09:56 | |
*** faassen has joined #zope3-dev | 09:57 | |
*** opetznick has joined #zope3-dev | 10:03 | |
*** afd__ has joined #zope3-dev | 10:04 | |
*** dunny has quit IRC | 10:04 | |
*** dunny_ is now known as dunny | 10:05 | |
*** yota has joined #zope3-dev | 10:13 | |
*** jnair has quit IRC | 10:15 | |
*** naro has joined #zope3-dev | 10:19 | |
*** timte has joined #zope3-dev | 10:21 | |
*** alecm has quit IRC | 10:28 | |
*** afd__ has quit IRC | 10:36 | |
*** jodok has joined #zope3-dev | 10:40 | |
*** lzdych has joined #zope3-dev | 10:48 | |
*** tonico|away is now known as tonico | 11:02 | |
*** pelle_ has joined #zope3-dev | 11:52 | |
*** jodok has quit IRC | 11:58 | |
*** jukart has quit IRC | 11:59 | |
*** ktwilight_ has joined #zope3-dev | 12:02 | |
*** deo has joined #zope3-dev | 12:02 | |
*** ignas has joined #zope3-dev | 12:08 | |
*** dunny has quit IRC | 12:11 | |
*** ktwilight has quit IRC | 12:17 | |
*** dobee has quit IRC | 12:22 | |
*** yvl has left #zope3-dev | 12:30 | |
*** pelle_ has quit IRC | 12:44 | |
*** pelle_ has joined #zope3-dev | 12:44 | |
*** schwendinger has quit IRC | 12:46 | |
*** ktwilight has joined #zope3-dev | 12:47 | |
*** ktwilight_ has quit IRC | 12:48 | |
*** dobee has joined #zope3-dev | 12:51 | |
*** ofer has joined #zope3-dev | 13:01 | |
*** jodok has joined #zope3-dev | 13:08 | |
*** schwendinger has joined #zope3-dev | 13:14 | |
*** ignas has quit IRC | 13:23 | |
*** dlk has quit IRC | 13:38 | |
*** grahal has joined #zope3-dev | 13:50 | |
*** dobee has quit IRC | 13:53 | |
*** philiKON_ is now known as philiKON | 14:01 | |
*** BjornT has quit IRC | 14:08 | |
*** BjornT has joined #zope3-dev | 14:09 | |
*** Londo has joined #zope3-dev | 14:13 | |
*** alga has joined #zope3-dev | 14:13 | |
*** dobee has joined #zope3-dev | 14:34 | |
baijum | philiKON, toggle the execution of ZCML actions to false ? | 14:35 |
baijum | how to toggle ? | 14:36 |
* baijum realise that testing the loading of zope.app.zcmlfiles is not in zope.configuration | 14:36 | |
baijum | is not good | 14:37 |
philiKON | xmlconfig.file('file.zcml', some.package, execute=False) | 14:37 |
philiKON | parses the zcml but doesn't execute it | 14:37 |
philiKON | it's just an idea | 14:37 |
baijum | ok, I will try | 14:37 |
* baijum revert the other test | 14:37 | |
baijum | will | 14:37 |
philiKON | definitely | 14:37 |
baijum | xmlconfig.include only parse and not executing | 14:41 |
baijum | that test only takes avaerage 0.8 seconds | 14:42 |
baijum | anyway, I will revert it | 14:43 |
baijum | because it's not required there atleast | 14:43 |
baijum | philiKON, thanks ! | 14:43 |
*** jodok has quit IRC | 14:57 | |
*** schwendinger has quit IRC | 14:58 | |
*** ofer has quit IRC | 15:00 | |
*** jinty has joined #zope3-dev | 15:06 | |
*** ktwilight has quit IRC | 15:08 | |
*** ktwilight_ has joined #zope3-dev | 15:08 | |
*** baijum has quit IRC | 15:21 | |
*** mgedmin has joined #zope3-dev | 15:30 | |
*** tonico_ has joined #zope3-dev | 15:38 | |
*** mgedmin has quit IRC | 15:38 | |
*** rocky|Zzz is now known as rocky | 15:39 | |
*** mgedmin has joined #zope3-dev | 15:41 | |
*** henri_ has joined #zope3-dev | 15:45 | |
*** stub has quit IRC | 15:49 | |
CSWookie | Hey, if I have a tal path: context/Age/hours, where Age is a callable that takes no arguments and returns dictionary that has the key 'hours' in it, should that work? | 15:58 |
philiKON | no | 15:58 |
CSWookie | Or do I need to wrap the dict in something first? | 15:58 |
philiKON | python:context.Age()['hours'] | 15:58 |
philiKON | or | 15:58 |
CSWookie | I was trying to avoid that. | 15:59 |
philiKON | tal:define="age context/Age; hours age/hours" | 15:59 |
CSWookie | Hmm. I think I tried that and got nothing. I'll try it again. | 16:00 |
mgedmin | I thought python: expressions were frowned upon | 16:02 |
mgedmin | the tal:define one should work | 16:02 |
mgedmin | or you can make context.Age a property | 16:02 |
mgedmin | or you can define properties in the view | 16:02 |
philiKON | well, if pathe xpressions weren't so fubared, python: would havev to be used a lot less often | 16:06 |
faassen | I start frowning less and less on python: expressions. :) | 16:06 |
philiKON | hey faassen | 16:06 |
faassen | hey. | 16:06 |
faassen | I mean, path expressions are sort of our own mini language that's not gaining us much. | 16:06 |
faassen | if we could leave off writing 'python:' python expressions would look almost as clean. | 16:06 |
philiKON | yup. i've been pondering about making python: the default in a ZPT variant | 16:07 |
faassen | anyway, Genshi/Kid code can be fairly clean. | 16:07 |
philiKON | tal:content="context.foo" | 16:07 |
faassen | I'd just pick Genshi, I mean, if you make it the default your templates would break anyway, so you'd need to rewrite them. it's only a minor step further to convert them to Genshi, though of course we'd need to support THAT then. | 16:07 |
philiKON | heh, true | 16:07 |
philiKON | you seem to be talking a lot about genshi lately | 16:07 |
philiKON | i should give that a try | 16:07 |
*** jodok_ has joined #zope3-dev | 16:12 | |
mgedmin | I should give Genshi a look | 16:12 |
faassen | it's just something that's easy to learn if you know page templates, with some interesting concepts. | 16:13 |
faassen | and being picked up by the TurboGears crowd among others of course. | 16:13 |
faassen | but it seems quite well architected. | 16:13 |
faassen | that's why I mention it. :) | 16:13 |
faassen | it's an external templating engine that seems spiritually similar to ZPT, but it's more modern. | 16:14 |
*** svenn has quit IRC | 16:18 | |
*** whit has joined #zope3-dev | 16:25 | |
*** ofer has joined #zope3-dev | 16:26 | |
*** dobee has quit IRC | 16:28 | |
*** cbcunc_zzz is now known as cbcunc | 16:28 | |
*** jkakar has joined #zope3-dev | 16:28 | |
*** niemeyer has joined #zope3-dev | 16:29 | |
mgedmin | Kid had a reputation for being very slow | 16:31 |
mgedmin | how does Genshi fare in that regard? | 16:31 |
faassen | it is a bit faster, but still not very fast. | 16:36 |
faassen | I have no idea how it fares compared to ZPT. | 16:36 |
faassen | ZPT isn't the fastest, no idea how it compares to Genshi or Kid. | 16:36 |
niemeyer | faassen: It's faster | 16:39 |
niemeyer | mgedmin: Genshi is slightly faster, but not too much | 16:39 |
mgedmin | what is faster, and faster than what? | 16:39 |
niemeyer | mgedmin: ZPT is faster | 16:39 |
faassen | ZPT is faster than Genshi which is slightly faster than Kid? | 16:40 |
niemeyer | faassen: Precisely. Sorry for not being clear | 16:40 |
faassen | niemeyer: well, thanks for the information. :) | 16:40 |
faassen | niemeyer: what kind of benchmarking? | 16:40 |
niemeyer | faassen: I've done some benchmarking on my own, using a page with basic structures. | 16:41 |
niemeyer | faassen: The Genshi page has benchmarks as well, IIRC, which confirm what I've seen. | 16:41 |
faassen | it's just hard to say what the real world impact is. | 16:42 |
niemeyer | faassen: Right.. | 16:42 |
faassen | I mean, what if you use a lot of macros in ZPT or the xpath replace story in Genshi. | 16:42 |
faassen | but it's interesting data nonetheless, thanks. :) | 16:42 |
*** pghoratiu has left #zope3-dev | 16:52 | |
*** sorindregan has quit IRC | 16:56 | |
*** tonico_ has quit IRC | 17:04 | |
*** shiny has quit IRC | 17:05 | |
*** rmarianski has joined #zope3-dev | 17:08 | |
*** alecm has joined #zope3-dev | 17:09 | |
*** tonico has quit IRC | 17:13 | |
*** tonico has joined #zope3-dev | 17:14 | |
*** jodok_ has quit IRC | 17:19 | |
*** faassen has quit IRC | 17:24 | |
*** jodok has joined #zope3-dev | 17:24 | |
*** dobee has joined #zope3-dev | 17:28 | |
*** schwendinger has joined #zope3-dev | 17:32 | |
*** whit has quit IRC | 18:04 | |
*** alecm has quit IRC | 18:04 | |
*** whit has joined #zope3-dev | 18:04 | |
*** alecm has joined #zope3-dev | 18:05 | |
*** natea has quit IRC | 18:07 | |
*** natea has joined #zope3-dev | 18:09 | |
*** deo has quit IRC | 18:13 | |
*** alecm has quit IRC | 18:17 | |
*** alecm has joined #zope3-dev | 18:18 | |
*** alecm_ has joined #zope3-dev | 18:26 | |
*** alecm has quit IRC | 18:26 | |
*** schwendinger has quit IRC | 18:35 | |
*** ksmith99 has joined #zope3-dev | 18:36 | |
*** softdevr has joined #zope3-dev | 18:37 | |
*** ksmith99 has quit IRC | 18:37 | |
*** ksmith99 has joined #zope3-dev | 18:37 | |
softdevr | hi, I'm trying to register a subscriber in ZCML. The example I have from S.Richter's book only specifies for and factory attributes but that won't compile. It complains that a provided interface must be specified. Has this changed since the book was published? | 18:39 |
philiKON | yes, a lot | 18:40 |
softdevr | is there anywhere that documents to changes? | 18:49 |
*** Aiste has quit IRC | 18:49 | |
philiKON | softdevr: my book :) | 18:50 |
philiKON | seriously, stephan's book is great, but it *is* outdated | 18:51 |
philiKON | i recently published an updated version of mine | 18:51 |
philiKON | http://worldcookery.com | 18:51 |
softdevr | I've ordered the second edition, I hope that's not just been updated | 18:51 |
philiKON | huh? | 18:52 |
philiKON | the second edition is the most recent one | 18:52 |
softdevr | ok, well do you know of any documentation for the new subscriber ZCML, I don't want to have to wait until the book arrives if possible | 18:53 |
philiKON | do you know apidoc? | 18:53 |
philiKON | http://localhost:8080/++apidoc++ | 18:53 |
philiKON | (works when developer-mode is enabled in zope.conf) | 18:54 |
softdevr | Yeah, the book section in there covering events covers python | 18:54 |
philiKON | there's a ZCML section | 18:54 |
philiKON | explaining each ZCML directive | 18:54 |
softdevr | I can see the ZCML spec for subscriber, but from what I've read the subscriber adapts to the 'None' interface. I'm not sure how I can specify that in the provides attribute, or is this one of the things that has now changed? | 18:55 |
philiKON | no | 18:55 |
philiKON | subscribers are typically functions | 18:56 |
philiKON | @adapter(ITheEvent) | 18:56 |
philiKON | def foo(event): | 18:56 |
philiKON | ... do something here | 18:56 |
philiKON | you register them using <subscriber handler="...foo" /> | 18:56 |
philiKON | in the future, you can just go to apidoc and look at the explanations for the directive | 18:56 |
philiKON | e.g. the subscriber directive | 18:56 |
softdevr | Its not clear to me which of the attributes for the subscriber directive I have to specify and which I dont from looking at apidoc | 18:58 |
philiKON | hmm | 18:58 |
philiKON | well, it's the 'handler' attribute | 18:59 |
softdevr | Yeah, but its difficult to figure that out from apidoc independently | 18:59 |
*** whit is now known as whit|out | 18:59 | |
philiKON | ok, i can see that | 19:00 |
philiKON | yet another argument to get my book ;) | 19:00 |
softdevr | Well yeah, I gave in and bought it in the end :) | 19:00 |
softdevr | Zope3 is difficult to pick up without something like that | 19:01 |
philiKON | i would say a lot of large frameworks are | 19:01 |
philiKON | i sure wouldn't try to learn J2EE w/o a book | 19:02 |
philiKON | or .NET | 19:02 |
*** henri_ has quit IRC | 19:03 | |
softdevr | Yeah fair point | 19:03 |
alga | there are always online guides | 19:03 |
*** jodok has quit IRC | 19:03 | |
softdevr | alga: do you usually google questions or could you point out a few that are good up-to-date references | 19:04 |
alga | eh... in case of Zope 3 I usually read the source | 19:05 |
*** jinty has quit IRC | 19:05 | |
alga | I think srichter's book is sufficient to get the grasp of concepts, and then you should be able to make your way around the source | 19:07 |
alga | Although I have the impressions philiKON's book is better written | 19:07 |
timte | a cookbook would be nice | 19:07 |
philiKON | tarek started one | 19:08 |
timte | 1000 "how do I solve this" recipes | 19:08 |
philiKON | it used to be at zope-cookbook.org | 19:08 |
philiKON | some people are also taking things from the zope3-users list and putting them in a FAQ | 19:09 |
timte | http://www.zope-cookbook.org/ is no more it seems, atleast it's down | 19:09 |
*** BjornT has quit IRC | 19:15 | |
*** BjornT has joined #zope3-dev | 19:15 | |
*** romanofski has quit IRC | 19:20 | |
*** dobee has quit IRC | 19:25 | |
*** lzdych has quit IRC | 19:28 | |
*** opetznick has quit IRC | 19:30 | |
*** natea_ has joined #zope3-dev | 19:32 | |
*** ofer has quit IRC | 19:39 | |
*** natea has quit IRC | 19:39 | |
*** tonico is now known as tonico|away | 19:51 | |
*** dobee has joined #zope3-dev | 20:04 | |
*** jinty has joined #zope3-dev | 20:06 | |
*** cbcunc is now known as cbcunc_pycon | 20:06 | |
*** alga has quit IRC | 20:10 | |
*** alga has joined #zope3-dev | 20:10 | |
*** alga_ has joined #zope3-dev | 20:10 | |
*** harobed has joined #zope3-dev | 20:11 | |
*** natea_ is now known as natea|submarine | 20:14 | |
*** dobee has quit IRC | 20:19 | |
*** softdevr has quit IRC | 20:33 | |
*** dobee has joined #zope3-dev | 20:36 | |
*** jodok has joined #zope3-dev | 20:36 | |
*** alecm_ has quit IRC | 20:36 | |
*** jfroche has joined #zope3-dev | 20:37 | |
*** jfroche_ has joined #zope3-dev | 20:38 | |
*** jfroche has quit IRC | 20:38 | |
*** whit|out is now known as whit | 20:53 | |
*** bigkevmcd has joined #zope3-dev | 21:01 | |
*** deo has joined #zope3-dev | 21:11 | |
*** jkakar has quit IRC | 21:13 | |
*** niemeyer has quit IRC | 21:15 | |
*** dunny has joined #zope3-dev | 21:15 | |
*** tarek has joined #zope3-dev | 21:16 | |
*** jfroche_ is now known as jfroche | 21:19 | |
*** alecm has joined #zope3-dev | 21:21 | |
*** Aiste has joined #zope3-dev | 21:21 | |
*** jfroche has quit IRC | 21:25 | |
*** whit has quit IRC | 21:31 | |
*** jkakar has joined #zope3-dev | 21:37 | |
*** whit has joined #zope3-dev | 21:40 | |
*** dobee has quit IRC | 21:44 | |
*** niemeyer has joined #zope3-dev | 21:45 | |
*** schwendinger has joined #zope3-dev | 21:46 | |
*** ktwilight_ has quit IRC | 21:48 | |
*** ktwilight_ has joined #zope3-dev | 21:49 | |
*** dobee has joined #zope3-dev | 21:57 | |
*** jodok_ has joined #zope3-dev | 22:02 | |
*** jodok has quit IRC | 22:02 | |
*** dobee has quit IRC | 22:04 | |
*** jodok_ is now known as jodok | 22:05 | |
*** romanofski has joined #zope3-dev | 22:05 | |
*** tarek has quit IRC | 22:07 | |
*** natea|submarine has quit IRC | 22:07 | |
*** ksmith99 has quit IRC | 22:07 | |
*** timte has quit IRC | 22:07 | |
*** philiKON has quit IRC | 22:07 | |
*** andrew_m has quit IRC | 22:07 | |
*** schwendinger_ has joined #zope3-dev | 22:10 | |
*** natea|submarine has joined #zope3-dev | 22:13 | |
*** ksmith99 has joined #zope3-dev | 22:13 | |
*** timte has joined #zope3-dev | 22:13 | |
*** philiKON has joined #zope3-dev | 22:13 | |
*** andrew_m has joined #zope3-dev | 22:13 | |
*** jodok has quit IRC | 22:20 | |
*** pelle_ has quit IRC | 22:22 | |
*** jodok has joined #zope3-dev | 22:22 | |
*** schwendinger_ has quit IRC | 22:23 | |
*** dobee has joined #zope3-dev | 22:27 | |
*** schwendinger has quit IRC | 22:28 | |
*** whit is now known as whit|coding | 22:31 | |
*** alga_ has quit IRC | 22:35 | |
*** alga has quit IRC | 22:35 | |
*** whit|coding has quit IRC | 22:51 | |
*** J1m has joined #zope3-dev | 22:55 | |
*** jinty_ has joined #zope3-dev | 22:57 | |
*** J1m has quit IRC | 22:58 | |
*** jinty has quit IRC | 22:59 | |
*** nathany has joined #zope3-dev | 23:01 | |
*** J1m has joined #zope3-dev | 23:16 | |
*** grahal has quit IRC | 23:17 | |
*** whit has joined #zope3-dev | 23:28 | |
*** ofer has joined #zope3-dev | 23:29 | |
*** edgordon has joined #zope3-dev | 23:46 | |
*** nathany has quit IRC | 23:50 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!