[00:31] *** eikenberry_ has joined #kamaelia |
[00:59] *** eikenberry_ is now known as eikenberry |
[04:42] < Lawouach_> morning |
[08:25] *** MS- has joined #kamaelia |
[09:23] *** Davbo has joined #kamaelia |
[10:16] < Lawouach_> http://pastebin.ca/1488104 < -- XMPP client snippet for those interested |
[11:55] < MS-> Hi Lawouach_ - that's shorter than I expected. |
[12:01] < Lawouach_> it's because I'm hiding a lot of the plumbing :) |
[12:02] < Lawouach_> I'm using it a lot and I've realised I needed a way to integrate it with other piece of code which weren't using Kamaelia) |
[12:02] < Lawouach_> I've found something that was working better for me than using Handle |
[12:02] < MS-> Oh? |
[12:03] < Lawouach_> Well look at line 89 |
[12:03] < Lawouach_> headstock defines many components like that one to deal with basic XMPP stuff (presence, roster, etc.) |
[12:03] < MS-> The What Time Is It Handler |
[12:03] < Lawouach_> In my application I'm just sub-classing components I'm interested with |
[12:03] < Lawouach_> yes |
[12:04] < Lawouach_> so I subclass like I do in line 52 |
[12:04] < MS-> Ah right |
[12:04] < Lawouach_> this subclass really is a Axon component |
[12:04] *** MS- nods |
[12:05] < MS-> Much like the greylisting server defines SMTP components |
[12:05] < MS-> which you subclass to do interesting stuff |
[12:05] < Lawouach_> ah well... see :) |
[12:06] < Lawouach_> the make_linkages functions are interesting in that respect |
[12:06] < Lawouach_> because they basically define a chunk of linkages that is suitable for a graphline |
[12:06] < Lawouach_> by calling: |
[12:07] < Lawouach_> client.registerComponents(comps, linkages) |
[12:07] < MS-> The sort of thing I've tended to call a prefab ? |
[12:07] < Lawouach_> I effectively update a Python dict within the client that will then be passed to the graphline in the initializeComponents of Client |
[12:07] < Lawouach_> that'd be it yes |
[12:08] < Lawouach_> my naming convention suits me but maybe not the best |
[12:08] *** MS- nods |
[12:10] < Lawouach_> headstock needs a serious cleanup but I'm not finding the time to do it |
[12:11] < MS-> I *really* sympathise with that feeling |
[12:11] < Lawouach_> :) |
[12:16] < Lawouach_> note that components will keep behaving properly in an application which doesn't subclass them |
[12:16] < Lawouach_> they have the appropriate outboxes |
[12:22] *** MS- nods |
[12:22] < MS-> that's cool |
[12:22] < MS-> BTW, did you see what I did with the JSON RPC code ? |
[12:22] < Lawouach_> I didn't get a chance to look closely yet |
[12:22] < MS-> np |
[12:22] < Lawouach_> pretty interesting stuff at first sight though |
[13:01] *** Uraeus has joined #kamaelia |
[13:10] < MS-> Sent another mail to the BBC legal team about changing kamaelia's license - to harmonise with the rest of the python community. |
[13:23] < ronny> sup |
[13:23] < MS-> hiya |
[13:26] *** Lawouach_ has joined #kamaelia |
[13:58] *** sjansen has joined #kamaelia |
[13:58] < sjansen> wikispam: http://www.kamaelia.org/developers/projects/webserverconsolidation |
[13:59] < MS-> thank you |
[14:01] < MS-> deleted with extreme prejudice :) |
[14:01] *** vmlemon_ has joined #kamaelia |
[14:09] < MS-> OK, off to get a tram. Back in a bit. |
[14:09] *** MS- has parted #kamaelia |
[14:14] < vmlemon_> Hi |
[14:33] *** salmon_1 has joined #kamaelia |
[15:18] *** Davbo_ has joined #kamaelia |
[15:31] *** vmlemon_ has joined #kamaelia |
[16:28] *** vmlemon_ has joined #kamaelia |
[16:31] < Davbo_> http://mail.python.org/pipermail/python-dev/2009-July/090516.html |
[17:34] *** vmlemon_1 has joined #kamaelia |
[17:55] *** salmon_1 is now known as salmon_ |
[19:21] *** vmlemon_ has joined #kamaelia |
[19:48] *** sjansen has parted #kamaelia |
[19:54] *** vmlemon_1 has joined #kamaelia |
[21:08] *** vmlemon_ has joined #kamaelia |
[21:53] *** vmlemon_ has joined #kamaelia |
[22:19] *** vmlemon_1 has joined #kamaelia |
[22:52] *** vmlemon_ has joined #kamaelia |
[23:25] *** vmlemon_ has joined #kamaelia |