IRC log of #zope3-dev for Friday, 2005-04-29

*** xenru has joined #zope3-dev00:09
*** MrTopf has quit IRC00:16
*** xenru has quit IRC00:29
*** GaryPoster has quit IRC00:30
*** tonico has quit IRC01:02
*** bskahan has quit IRC01:14
*** SureshZ has left #zope3-dev01:16
*** Theuni has quit IRC01:37
*** yota has quit IRC02:16
*** BjornT has joined #zope3-dev02:53
*** `anthony has joined #zope3-dev03:04
*** bradb has joined #zope3-dev03:17
*** GaryPoster has joined #zope3-dev03:21
*** RaFromBRC has quit IRC03:21
*** SteveA has joined #zope3-dev03:35
*** bradb has quit IRC03:43
*** anguenot has quit IRC03:46
*** projekt01 has quit IRC04:24
*** BjornT has quit IRC05:12
*** bradb has joined #zope3-dev05:33
*** bradb has quit IRC05:35
*** SteveA has quit IRC05:35
*** `anthony has quit IRC05:35
*** SteveA has joined #zope3-dev05:35
*** bradb has joined #zope3-dev05:37
*** `anthony has joined #zope3-dev05:42
*** BjornT has joined #zope3-dev05:45
*** BjornT has quit IRC06:33
*** SteveA has quit IRC06:47
*** bradb has quit IRC06:55
*** bradb has joined #zope3-dev07:25
*** bradb_ has joined #zope3-dev07:29
*** bradb has quit IRC07:32
*** bradb_ is now known as bradb07:32
*** BjornT has joined #zope3-dev07:47
*** bskahan has joined #zope3-dev07:48
*** GaryPoster has quit IRC07:48
*** SteveA has joined #zope3-dev07:50
*** d2m has joined #zope3-dev08:03
*** viyyer has joined #zope3-dev08:21
*** MrTopf has joined #zope3-dev09:16
*** hdima has joined #zope3-dev09:35
*** yota has joined #zope3-dev09:53
*** mooded has joined #zope3-dev10:01
*** sashav has joined #zope3-dev10:05
*** Theuni has joined #zope3-dev10:10
*** stub has joined #zope3-dev10:22
*** bskahan has quit IRC10:39
*** jhauser has joined #zope3-dev10:47
*** tarek_ has joined #zope3-dev11:17
*** projekt01 has joined #zope3-dev11:31
* VladDrac (zope3)11:33
*** __gotcha has joined #zope3-dev11:46
*** stu1 has joined #zope3-dev11:54
*** stub has quit IRC11:59
* VladDrac wanted to implement something, thought up what would be the zope3 way to do it (using an adapter), implemented it11:59
VladDracand it works!11:59
*** stu1 is now known as stub12:06
*** bradb has quit IRC12:16
*** bradb has joined #zope3-dev12:17
*** mkerrin has joined #zope3-dev12:22
*** BjornT has quit IRC12:28
*** mkerrin has quit IRC12:43
*** Theuni has quit IRC12:52
*** viyyer has left #zope3-dev13:04
*** SteveA has quit IRC13:05
*** SteveA has joined #zope3-dev13:08
*** anguenot has joined #zope3-dev13:08
*** mgedmin has joined #zope3-dev13:09
*** bradb has quit IRC13:17
*** stub has quit IRC13:18
*** tonico has joined #zope3-dev13:31
*** alga has joined #zope3-dev13:34
*** lunatik has joined #zope3-dev13:36
*** MrTopf has quit IRC13:39
*** `anthony has quit IRC13:44
*** SteveA has quit IRC13:44
*** srichter has quit IRC14:06
*** Theuni has joined #zope3-dev14:09
*** bskahan has joined #zope3-dev14:15
*** bska|mobile has joined #zope3-dev14:15
*** bskahan has quit IRC14:15
*** bska|mobile is now known as bskahan14:16
*** MrTopf has joined #zope3-dev14:18
*** [apoirier] has joined #zope3-dev14:23
* VladDrac is trying to find the zope3 way of writing a generic form + template14:39
VladDracin CMF/Plone you can just implement a form, some pythonscript, optionally use CMFFormController14:39
VladDracI wonder if I have to encapsulate my form action into a utility first14:39
VladDrac(most stuff until now was just generated)14:39
*** faassen has joined #zope3-dev14:43
*** Aiste has quit IRC14:46
*** alga has quit IRC14:48
*** Aiste has joined #zope3-dev15:02
*** lunatik has left #zope3-dev15:05
*** ignas has joined #zope3-dev15:10
*** MacYET has joined #zope3-dev15:15
*** srichter has joined #zope3-dev15:25
*** ChanServ sets mode: +o srichter15:25
* VladDrac is having a relatively good Zope3 day15:28
srichterI told you you would be productive soon ;-)15:33
* MrTopf is again buried in client work..15:35
MacYETshoot the client15:35
MrTopfshooting the client is like shooting myself at some point ;-)15:35
MacYETfirst get the gun, then get the customers money and then kill 'im15:36
MrTopftry to get some z3 playing done at the weekend15:36
* MacYET heads for a textindexng 3 release15:36
* faassen has developed evil plans to use Zope 3 tech for client work. :)15:37
* MacYET starts writing his first adapter15:38
*** srichter has quit IRC15:41
MacYETfaassen: how do i model the following with five: TXNG expects that objects implement IIndexable to be indexed by TXNG. Plone objects don't implement that interface. Can I tie somehow adapters to classes instead to interfaces?15:43
VladDracyou can configure zcml to link interfaces to plone content, right?15:45
*** srichter has joined #zope3-dev15:45
MacYETplone content has interfaces? :-)15:45
MacYETmaybe with ATCT15:45
*** ChanServ sets mode: +o srichter15:45
VladDracuse <bridge> perhaps?15:46
* VladDrac 's not familiar enough with five15:46
VladDrachmm wait15:46
VladDrac  <implements15:46
VladDrac      class="Products.CMFDefault.Document.Document"15:46
VladDrac      interface=".interfaces.IDublinCore"15:46
VladDrac      />15:46
VladDracbut you don't want to define this explicitly for all content I assume15:47
faassenMacYET: you can adapt classes, but you could also use five:interface to tel them what interface they have, or use the aforementioned five:bridge15:47
faassenMacYET: look at how Five deals introduces Zope 3 interfaces.15:47
faassenMacYET: or look at how CMFonFive, I believe, might use bridge to convert Z2 interfaces into Z3 ones.15:47
faassenMacYET: possibly that's five:implements, I always mix them up. :)15:47
MacYETmost plone contenttypes don't have any interface :)15:47
MacYETexcept ICrap15:48
* MacYET hides15:48
faassenthen you invent them yourself, perhaps marker ones.15:48
*** [apoirier] has quit IRC15:48
faassenI'm not a plone hacker, I'm fine with you saying it's ICrap. :)15:48
faassenfaassen: anyway, follow the pattern we use inside five to tell Zope 2 that it has Zope 3 interfaces.15:48
*** jbb666 has joined #zope3-dev15:57
*** lunati1 has joined #zope3-dev16:09
*** lunati1 has left #zope3-dev16:10
*** SureshZ has joined #zope3-dev16:16
*** GaryPoster has joined #zope3-dev16:22
VladDracif my interface defines a field 'foo', is an object implementing the appropriate attribute required to name it 'foo' as well?16:27
mexiKONof course16:28
VladDracok, so class bar: implements(IFoo) \n blah = FieldAttribute(IFoo['foo']) should not occur16:29
mexiKONright; it wouldn't make much sense anyway16:29
VladDracand, therefor, from an adapter that adapts IFoo I can assume the field foo will be available as self.context.foo16:30
VladDracmexikon: it doesn't, just want to be sure - there's nothing (except common sense) from doing it, right?16:30
mexiKONwell, IFoo describes an api16:31
mexiKONby saying implements(IFoo), a class promises that contract16:31
mexiKONthe 'foo' attr is part of the contract16:32
mexiKONso, you'd be violating the contract (and not be compliant with the IFoo api)16:32
*** d2m has quit IRC16:37
VladDracis it possible to define a zmi action for a (site) folder and all its subfolders?16:45
srichterhdima: yeah, test 29 is incorrect16:45
VladDracand (related to me) how do I get the url for the nearest sitefolder?16:45
* VladDrac isn't used to not having implicit acquisition 16:45
* MacYET takes the stick16:46
srichterI think this is: getSiteManager(location)16:47
srichterin zope.component16:47
srichteralso in zapi, I assume16:47
VladDracno shortcuts available in any skin macros?16:52
srichterI don't think so16:53
srichteryour view class should handle such logic anyway16:53
srichterZPTs should never contain logic16:53
MacYETany plans to tie browserview classes to a dedicated interface and permission and make the zcml configuration a bit easier?16:54
mexiKONyou can use adapts()16:54
mexiKON(in zope 3.1)16:55
hdimasrichter: Ok. tal code is so hard to understand... %-)16:57
mexiKONhdima, tal code makes you fall on your knees and cry16:57
srichterhdima: I think you are a brave man for trying to fix the problem! :-)16:57
srichterhdima: I have never done anything productive on the code, just helped people find possible places for trouble16:58
mexiKONanyone fixing bugs in tal code should get the zope medal of tal honour16:58
srichterI agree16:58
MacYETpurple heart medal16:58
*** __gotcha has quit IRC17:01
*** sashav has quit IRC17:01
hdimaMaybe later I'll be ready for some refactorings in the code :))17:02
mexiKONthat code isn't worth the sweat17:03
mexiKONa spec-compliant rewrite would probably be quicker :)17:03
hdima...but not now definitely %))17:03
*** palmTree has joined #zope3-dev17:06
faassenmexiKON: If people pay me I'll do a reimplementation on top of libxml2. :)17:24
*** efge has joined #zope3-dev17:30
*** philiMAC has joined #zope3-dev17:34
*** philiMAC is now known as philiKON17:34
*** mexiKON has quit IRC17:46
*** hdima has quit IRC17:50
*** MacYET has left #zope3-dev17:54
*** zagy has quit IRC18:05
VladDraczope3 has stopped being nice18:12
VladDracit now dumps the same piece of zcml 4 times complainign about a conflict18:12
VladDrachmm wait, it's 4 different times for 4 different attributes18:12
VladDractrying to redefine folder permissions (because I derive from it)18:13
*** palmTree has quit IRC18:18
*** philiKON has quit IRC18:19
*** dfulton has joined #zope3-dev18:22
*** MrTopf has quit IRC18:24
*** mooded has quit IRC18:47
*** dfulton has quit IRC18:51
*** alga has joined #zope3-dev18:58
*** tvon|desk has quit IRC18:58
*** tvon has quit IRC18:59
*** tarek_ has quit IRC19:09
efgeVladDrac: btw does still work well for you ?19:29
*** tvon|desk has joined #zope3-dev19:38
*** tvon has joined #zope3-dev19:38
*** faassen has quit IRC19:58
*** ignas has quit IRC20:19
*** bskahan has quit IRC20:20
*** d2m has joined #zope3-dev20:31
*** bskahan has joined #zope3-dev21:06
*** anguenot has quit IRC21:06
*** efge has left #zope3-dev21:15
*** yota has quit IRC21:17
*** yota has joined #zope3-dev21:25
*** jbb666 has quit IRC21:31
VladDracefge yes21:33
*** mkerrin has joined #zope3-dev21:39
*** hazmat has joined #zope3-dev21:51
*** mgedmin has quit IRC21:56
*** Aiste has quit IRC22:07
*** bskahan has quit IRC22:10
*** yota has quit IRC22:16
*** yota has joined #zope3-dev22:17
*** srichter has quit IRC22:21
*** jbb666 has joined #zope3-dev22:22
*** mkerrin has quit IRC22:25
*** alga has quit IRC22:34
*** palmTree has joined #zope3-dev22:47
*** tvon has quit IRC22:53
*** tvon has joined #zope3-dev22:54
*** GaryPoster has quit IRC23:01
*** RaFromBRC has joined #zope3-dev23:15
*** Aiste has joined #zope3-dev23:23
*** GaryPoster has joined #zope3-dev23:25
*** GaryPoster has quit IRC23:29
*** GaryPoster has joined #zope3-dev23:30

Generated by 2.15.1 by Marius Gedminas - find it at!