IRC log of #zope3-dev for Tuesday, 2006-01-10

*** sashav has quit IRC00:08
*** efrerich has quit IRC00:17
*** mcdonc has left #zope3-dev00:21
*** SiggyF has joined #zope3-dev00:25
*** _anguenot has quit IRC00:31
*** benji has quit IRC00:33
*** zbir` has quit IRC00:45
*** SiggyF has quit IRC00:55
*** efge has joined #zope3-dev01:15
*** alienoid has joined #zope3-dev01:17
*** wrobel has quit IRC01:30
*** wrobel has joined #zope3-dev01:34
*** zbir` has joined #zope3-dev01:36
*** zbir` is now known as zbir01:43
*** efge has quit IRC01:55
*** projekt01 has left #zope3-dev02:08
*** RockyBurt|away is now known as RockyBurt02:08
*** philiKON has joined #zope3-dev02:09
*** PupenoL has quit IRC02:33
*** philiKON has quit IRC02:37
*** pcardune has quit IRC02:44
*** J1m has quit IRC02:46
*** tarek has quit IRC03:05
*** tarek has joined #zope3-dev03:10
*** tarek has quit IRC03:15
*** alienoid has quit IRC03:19
*** _anguenot has joined #zope3-dev03:32
*** d2m has quit IRC03:43
*** yota has quit IRC03:43
*** pcardune has joined #zope3-dev03:48
*** RockyBurt is now known as RockyBurt|Zzz03:52
*** jinty has quit IRC04:19
*** wrobel has quit IRC04:22
*** wrobel has joined #zope3-dev04:24
*** russf has quit IRC04:28
*** deo has quit IRC05:07
*** stub has joined #zope3-dev05:13
*** MiUlEr has joined #zope3-dev05:31
*** tav is now known as tav|sleep05:42
*** RockyBurt|Zzz has quit IRC05:43
*** RockyBurt has joined #zope3-dev05:43
*** pcardune has quit IRC05:47
*** jinty has joined #zope3-dev06:00
*** dobee has joined #zope3-dev07:59
*** zagy has joined #zope3-dev08:13
*** eins has joined #zope3-dev08:17
einshi all08:17
*** dobee has quit IRC08:18
*** stub has quit IRC08:26
*** stu1 has joined #zope3-dev08:26
*** stu1 is now known as stub08:30
*** dobee has joined #zope3-dev08:39
*** zagy has quit IRC08:39
*** d2m has joined #zope3-dev08:40
*** sashav has joined #zope3-dev08:55
*** sashav has quit IRC09:01
*** zagy has joined #zope3-dev09:06
*** zagy has joined #zope3-dev09:10
*** fabiorizzo has quit IRC09:14
*** hdima has joined #zope3-dev09:32
*** wrobel has quit IRC09:37
*** wrobel has joined #zope3-dev09:38
*** MJ has quit IRC09:46
*** romanofski has joined #zope3-dev10:09
*** Theuni has joined #zope3-dev10:10
romanofskimoin10:13
*** MJ has joined #zope3-dev10:35
*** romanofski has quit IRC10:38
*** romanofski has joined #zope3-dev10:39
*** klaus has joined #zope3-dev10:40
*** sashav has joined #zope3-dev10:53
*** jinty has quit IRC11:03
*** dobee has quit IRC11:09
*** dobee has joined #zope3-dev11:11
*** tav|sleep is now known as tav11:12
*** tarek has joined #zope3-dev11:45
*** RockyBurt has quit IRC11:45
*** RockyBurt has joined #zope3-dev11:45
*** mgedmin has joined #zope3-dev12:34
*** Aiste has quit IRC12:47
*** j-w has joined #zope3-dev12:47
*** mkerrin has joined #zope3-dev12:49
*** philiKON has joined #zope3-dev12:55
*** RockyBurt has quit IRC12:56
*** RockyBurt has joined #zope3-dev12:57
*** VladDrac has joined #zope3-dev12:57
*** xenru has quit IRC12:59
*** alga has joined #zope3-dev12:59
*** cursor has joined #zope3-dev13:18
*** MJ has quit IRC13:24
*** MJ has joined #zope3-dev13:26
*** Aiste has joined #zope3-dev13:40
*** ignas has joined #zope3-dev13:42
*** J1m has joined #zope3-dev13:44
*** faassen has joined #zope3-dev13:48
*** jinty has joined #zope3-dev13:49
*** J1m has quit IRC13:54
*** mctadas has joined #zope3-dev14:14
*** SteveA has quit IRC14:19
*** jinty has quit IRC14:21
*** klaus has quit IRC14:28
*** pcardune has joined #zope3-dev14:46
*** yota has joined #zope3-dev14:53
*** zbir has quit IRC15:07
*** povbot` has joined #zope3-dev15:22
*** MrTopf has joined #zope3-dev15:24
*** povbot has joined #zope3-dev15:46
*** Aiste_ has quit IRC15:47
*** alga has joined #zope3-dev15:47
*** povbot` has joined #zope3-dev16:07
*** alga_ has joined #zope3-dev16:08
*** zbir has joined #zope3-dev16:11
*** benji has joined #zope3-dev16:13
*** __mac__ has joined #zope3-dev16:16
*** povbot has quit IRC16:17
*** alga has quit IRC16:17
*** Aiste has quit IRC16:18
__mac__hi, is there any reason that the id of a principal should not be unicode? (zope.app.security.browser.principaltems.PrincipalTerms.getTerm encodes this id blindly to base64 which breakes on umlauts)16:20
*** povbot has joined #zope3-dev16:36
*** alga has joined #zope3-dev16:38
*** povbot` has quit IRC16:39
*** alga_ has quit IRC16:39
*** Aiste_ has quit IRC16:41
*** povbot has joined #zope3-dev17:10
*** alga has joined #zope3-dev17:10
*** tahara has joined #zope3-dev17:11
*** tarek has quit IRC17:13
*** benji has quit IRC17:13
*** ignas has joined #zope3-dev17:14
*** mgedmin has joined #zope3-dev17:16
*** hdima has quit IRC17:17
*** cursor has quit IRC17:28
*** Theuni has quit IRC17:33
*** jbb666 has quit IRC17:36
*** sashav has joined #zope3-dev17:45
*** russf has quit IRC17:45
*** sashav has quit IRC17:46
*** mctadas has quit IRC17:48
*** Theuni has joined #zope3-dev17:52
*** tarek has joined #zope3-dev17:56
*** zagy has quit IRC18:07
*** faassen has quit IRC18:08
*** faassen has joined #zope3-dev18:08
*** tahara has quit IRC18:14
*** j-w has quit IRC18:24
*** J1m has joined #zope3-dev18:28
*** xenru|clone has joined #zope3-dev18:30
*** cursor has joined #zope3-dev18:38
*** eins has quit IRC18:43
*** MJ has quit IRC18:45
*** xenru has quit IRC18:46
*** jhauser_ has quit IRC18:51
*** faassen has quit IRC18:54
*** klaus has joined #zope3-dev19:02
*** dobee has quit IRC19:07
*** russf has joined #zope3-dev19:07
*** zagy has joined #zope3-dev19:10
*** faassen has joined #zope3-dev19:13
*** romanofski is now known as rom|aw19:16
*** jbb666 has joined #zope3-dev19:18
*** xenru has joined #zope3-dev19:24
jbb666millerj: i thought that anything with a start and end date shows up in the calendar... hmmm19:25
jbb666oop19:25
jbb666wrong channel ;)19:25
*** russf has quit IRC19:26
*** M1 has joined #zope3-dev19:35
*** tarek has quit IRC19:36
*** klaus has quit IRC19:41
*** xenru|clone has quit IRC19:45
*** russf has joined #zope3-dev19:52
*** zagy_ has joined #zope3-dev19:53
*** benji_york has joined #zope3-dev19:54
*** M1 has quit IRC19:56
*** fabiorizzo has joined #zope3-dev19:57
*** sashav has joined #zope3-dev19:57
*** sashav has quit IRC19:58
*** anguenot has joined #zope3-dev19:58
*** _anguenot has quit IRC20:05
*** philiKON has quit IRC20:05
*** zagy has quit IRC20:05
*** vlado has quit IRC20:07
*** jhauser has joined #zope3-dev20:11
*** M1 has joined #zope3-dev20:29
*** M1 is now known as mj20:30
*** mj is now known as MJ20:30
*** jbb666 has quit IRC20:33
*** jbb666 has joined #zope3-dev20:35
*** sashav has joined #zope3-dev20:36
*** sashav_ has joined #zope3-dev20:38
*** sashav has quit IRC20:38
*** sashav_ is now known as sashav20:38
*** faassen has quit IRC21:17
*** MrTopf has quit IRC21:30
*** dobee has joined #zope3-dev21:30
*** efrerich has quit IRC21:31
*** _pcardune has joined #zope3-dev21:37
*** dobee has quit IRC21:38
*** ignas has quit IRC21:40
*** mgedmin has quit IRC21:48
*** pcardune has quit IRC21:53
*** fabiorizzo has quit IRC22:02
*** _pcardune is now known as pcardune22:17
*** Aiste has quit IRC22:23
*** Theuni has quit IRC22:30
*** Aiste has joined #zope3-dev22:36
*** zagy_ has quit IRC22:37
*** tarek has joined #zope3-dev22:42
*** MrTopf has joined #zope3-dev22:54
*** projekt01 has joined #zope3-dev23:19
*** ChrisW has joined #zope3-dev23:32
ChrisWanyone alive tonight>23:33
ChrisW?23:33
projekt01yup23:33
ChrisWwoohoo23:33
projekt01;-)23:33
ChrisWokay, do factories have access to the context where the object will be stored?23:33
projekt01Do you mean IFactory utilities?23:34
ChrisWI think so23:34
ChrisWI'm pretty green when it comes to Zope 3 ;-)23:34
projekt01Ifactories are context less till they get added to a context. This happens in the Adding view.23:35
RockyBurtChrisW: from what i've done factories are used to "create" objects, not to store/edit/etc, so there's no reason it would know anything about storage23:35
ChrisWhmmm23:36
* RockyBurt is fairly new to zope3 as well23:36
ChrisWokay, but what component do I customise to to creation-related stuff that requires context?23:36
ChrisWI'm getting going with Swishdot, and now I want to store postings when they're created23:36
ChrisWbut I want to store them in something like:23:36
ChrisWsite/2006/01/10/title-of-posting.txt23:37
ChrisW...which means I need to create the intermediate folders when the posting is added23:37
projekt01This sounds like a job for a INameChooser adapter23:37
ChrisWyes, but can INameChooser create folders and the like?23:38
jhauserisn't it a traversal adapter?23:38
projekt01And you can use a factory which will create the content (folder and item) in the __call__ method of the factory23:38
ChrisWjhauser: no, I want the postings stored that way23:38
ChrisWor traversal becomes a nightmare23:39
projekt01No a factory in this use case will only be a hook implementation creating what you like (container and item)23:39
*** cursor has quit IRC23:39
ChrisWprojekt01: you lost me...23:39
ChrisWwhat component would I use to create the intermediate folders when someone selected "add posting" from the add menu>23:40
ChrisW?23:40
projekt01Ok, I try to explain...23:40
projekt01You can register a Ifactory, This could be a class which has a method __call__23:40
projekt01This method __all__ could create the container and the item23:41
projekt01at once23:41
RockyBurtcouldn't the view that is used by "add posting" simply create that stuff as required ?23:41
projekt01RockyBurt, yes that's also possible, but why not use a factory (simply py class which knows ho to do that) rate doing this part in the already complex view23:42
RockyBurtprojekt01: that sounds like a good point but i think i need to understand factories some more... out of all the factories i've dealt with none of them had any sort of context that could be used to figure out where to create things, etc23:43
projekt01Ifactory utilitites are simply helper classes which know how to create content instances23:43
projekt01registred as IFactory utilitites.23:43
ChrisWindeed23:43
ChrisWand so dont' help here23:43
projekt01why not?23:44
ChrisWbecause postings aren't all in their own folder sturcture23:44
ChrisWI only want to create the folders if they don't exist already23:44
ChrisWrocky: to answer your question: I don't want to do it in the actual view code, 'cos I want people to be able to choose a different folder hierarchy should they so want...23:44
ChrisWlooks like I'll have to come up with my own utility interface and have a default implementation that does what I want :-S23:45
ChrisWwithout context, I don't see a huge amount of point in factories23:45
ChrisWthe only use case I can see is where you, say, create a folder object and then use directlyProvides to make it instantiate something23:46
projekt01ChrosW, perhaps you can find some ideas in the zwiki package. There is also a different concept how the wikipages get added to wikifolders23:46
ChrisWI guess I may end up with interesting factories full-blown Swishdot sites or Swishdot blogs23:46
ChrisWprojekt01: oh: can you point me to the relevent code?23:47
RockyBurtwhat is swishdot? yet another blog product?23:47
ChrisWmy only gripe with Zope 3 so far is it's even harder than in Zope 2 to figure out where the code is that does something23:47
projekt01ChrisW, before you do that take a look at our initializer implementation in tiks.initializer23:47
projekt01;-)23:47
ChrisWPhil Eby made relevent comments about ZPatterns, which shared a lot in common with Zope 3 ;-)23:48
ChrisWwhere can I get the tiks source code from?23:48
ChrisWand what is tiks.initializer23:48
ChrisW?23:48
projekt01svn://svn.tiks.org/repos/Tiks/trunk23:48
ChrisWSwishdot is a little overdue: http://www.swishdot.org/ ;-)23:49
projekt01svn://svn.tiks.org/repos/Tiks/trunk/initializer23:49
ChrisWdo you not have an http interface to that?23:49
projekt01The initializer supports a concept where each class can have it's own initializer and they get called in the reverse "method resolution order"23:51
projekt01http://viewcvs.tiks.org/viewcvs/Tiks/trunk/initializer/23:51
ChrisWaha23:52
ChrisWwhat software does www.tiks.org run?23:52
projekt01very very old plone23:52
projekt01The new www.tiks.org site lives still in in the repos at: svn://svn.tiks.org/repos/Tiks/trunk/org ;-)23:53
ChrisWhttp://viewcvs.tiks.org/viewcvs/Tiks/trunk/initializer/README.txt?rev=3224&view=markup23:53
ChrisWnice error ;-)23:53
projekt01;-)23:53
ChrisWhow can I actually see the code?23:54
*** ruda_porto has joined #zope3-dev23:54
projekt01Does the download link work?23:54
projekt01http://viewcvs.tiks.org/viewcvs/*checkout*/Tiks/trunk/initializer/README.txt?rev=322423:54
ChrisWI'm just gonna check it all out23:54
ChrisWhow big is it?23:54
* ChrisW thinks zcml sucks23:55
ChrisWI don't understand why .conf format wasn't used23:55
ChrisWa la zope.conf23:55
*** jinty has joined #zope3-dev23:56
projekt01I don't know the workspace with all .svn files in it is about 22MB23:56
ChrisWI also don't understand the idea behind etc/package-includes23:56
ChrisWhow fucking dumb is that? having a mountain of little files, each containing one line?!23:56
ChrisWwhy not just use site.zcml23:57
ChrisW?23:57
ChrisW(like apache uses apache.conf for module includes...)23:57
projekt01You mean the package configuration?23:57
ChrisWyes23:57
projekt01It's not that bad since zpkg can find dependencies. This allows you to say I like to use tiks.documment and zpkg can checkout all dependent packages and build a installer by just two or three commands23:59

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!