*** sashav has quit IRC | 00:08 | |
*** efrerich has quit IRC | 00:17 | |
*** mcdonc has left #zope3-dev | 00:21 | |
*** SiggyF has joined #zope3-dev | 00:25 | |
*** _anguenot has quit IRC | 00:31 | |
*** benji has quit IRC | 00:33 | |
*** zbir` has quit IRC | 00:45 | |
*** SiggyF has quit IRC | 00:55 | |
*** efge has joined #zope3-dev | 01:15 | |
*** alienoid has joined #zope3-dev | 01:17 | |
*** wrobel has quit IRC | 01:30 | |
*** wrobel has joined #zope3-dev | 01:34 | |
*** zbir` has joined #zope3-dev | 01:36 | |
*** zbir` is now known as zbir | 01:43 | |
*** efge has quit IRC | 01:55 | |
*** projekt01 has left #zope3-dev | 02:08 | |
*** RockyBurt|away is now known as RockyBurt | 02:08 | |
*** philiKON has joined #zope3-dev | 02:09 | |
*** PupenoL has quit IRC | 02:33 | |
*** philiKON has quit IRC | 02:37 | |
*** pcardune has quit IRC | 02:44 | |
*** J1m has quit IRC | 02:46 | |
*** tarek has quit IRC | 03:05 | |
*** tarek has joined #zope3-dev | 03:10 | |
*** tarek has quit IRC | 03:15 | |
*** alienoid has quit IRC | 03:19 | |
*** _anguenot has joined #zope3-dev | 03:32 | |
*** d2m has quit IRC | 03:43 | |
*** yota has quit IRC | 03:43 | |
*** pcardune has joined #zope3-dev | 03:48 | |
*** RockyBurt is now known as RockyBurt|Zzz | 03:52 | |
*** jinty has quit IRC | 04:19 | |
*** wrobel has quit IRC | 04:22 | |
*** wrobel has joined #zope3-dev | 04:24 | |
*** russf has quit IRC | 04:28 | |
*** deo has quit IRC | 05:07 | |
*** stub has joined #zope3-dev | 05:13 | |
*** MiUlEr has joined #zope3-dev | 05:31 | |
*** tav is now known as tav|sleep | 05:42 | |
*** RockyBurt|Zzz has quit IRC | 05:43 | |
*** RockyBurt has joined #zope3-dev | 05:43 | |
*** pcardune has quit IRC | 05:47 | |
*** jinty has joined #zope3-dev | 06:00 | |
*** dobee has joined #zope3-dev | 07:59 | |
*** zagy has joined #zope3-dev | 08:13 | |
*** eins has joined #zope3-dev | 08:17 | |
eins | hi all | 08:17 |
---|---|---|
*** dobee has quit IRC | 08:18 | |
*** stub has quit IRC | 08:26 | |
*** stu1 has joined #zope3-dev | 08:26 | |
*** stu1 is now known as stub | 08:30 | |
*** dobee has joined #zope3-dev | 08:39 | |
*** zagy has quit IRC | 08:39 | |
*** d2m has joined #zope3-dev | 08:40 | |
*** sashav has joined #zope3-dev | 08:55 | |
*** sashav has quit IRC | 09:01 | |
*** zagy has joined #zope3-dev | 09:06 | |
*** zagy has joined #zope3-dev | 09:10 | |
*** fabiorizzo has quit IRC | 09:14 | |
*** hdima has joined #zope3-dev | 09:32 | |
*** wrobel has quit IRC | 09:37 | |
*** wrobel has joined #zope3-dev | 09:38 | |
*** MJ has quit IRC | 09:46 | |
*** romanofski has joined #zope3-dev | 10:09 | |
*** Theuni has joined #zope3-dev | 10:10 | |
romanofski | moin | 10:13 |
*** MJ has joined #zope3-dev | 10:35 | |
*** romanofski has quit IRC | 10:38 | |
*** romanofski has joined #zope3-dev | 10:39 | |
*** klaus has joined #zope3-dev | 10:40 | |
*** sashav has joined #zope3-dev | 10:53 | |
*** jinty has quit IRC | 11:03 | |
*** dobee has quit IRC | 11:09 | |
*** dobee has joined #zope3-dev | 11:11 | |
*** tav|sleep is now known as tav | 11:12 | |
*** tarek has joined #zope3-dev | 11:45 | |
*** RockyBurt has quit IRC | 11:45 | |
*** RockyBurt has joined #zope3-dev | 11:45 | |
*** mgedmin has joined #zope3-dev | 12:34 | |
*** Aiste has quit IRC | 12:47 | |
*** j-w has joined #zope3-dev | 12:47 | |
*** mkerrin has joined #zope3-dev | 12:49 | |
*** philiKON has joined #zope3-dev | 12:55 | |
*** RockyBurt has quit IRC | 12:56 | |
*** RockyBurt has joined #zope3-dev | 12:57 | |
*** VladDrac has joined #zope3-dev | 12:57 | |
*** xenru has quit IRC | 12:59 | |
*** alga has joined #zope3-dev | 12:59 | |
*** cursor has joined #zope3-dev | 13:18 | |
*** MJ has quit IRC | 13:24 | |
*** MJ has joined #zope3-dev | 13:26 | |
*** Aiste has joined #zope3-dev | 13:40 | |
*** ignas has joined #zope3-dev | 13:42 | |
*** J1m has joined #zope3-dev | 13:44 | |
*** faassen has joined #zope3-dev | 13:48 | |
*** jinty has joined #zope3-dev | 13:49 | |
*** J1m has quit IRC | 13:54 | |
*** mctadas has joined #zope3-dev | 14:14 | |
*** SteveA has quit IRC | 14:19 | |
*** jinty has quit IRC | 14:21 | |
*** klaus has quit IRC | 14:28 | |
*** pcardune has joined #zope3-dev | 14:46 | |
*** yota has joined #zope3-dev | 14:53 | |
*** zbir has quit IRC | 15:07 | |
*** povbot` has joined #zope3-dev | 15:22 | |
*** MrTopf has joined #zope3-dev | 15:24 | |
*** povbot has joined #zope3-dev | 15:46 | |
*** Aiste_ has quit IRC | 15:47 | |
*** alga has joined #zope3-dev | 15:47 | |
*** povbot` has joined #zope3-dev | 16:07 | |
*** alga_ has joined #zope3-dev | 16:08 | |
*** zbir has joined #zope3-dev | 16:11 | |
*** benji has joined #zope3-dev | 16:13 | |
*** __mac__ has joined #zope3-dev | 16:16 | |
*** povbot has quit IRC | 16:17 | |
*** alga has quit IRC | 16:17 | |
*** Aiste has quit IRC | 16: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-dev | 16:36 | |
*** alga has joined #zope3-dev | 16:38 | |
*** povbot` has quit IRC | 16:39 | |
*** alga_ has quit IRC | 16:39 | |
*** Aiste_ has quit IRC | 16:41 | |
*** povbot has joined #zope3-dev | 17:10 | |
*** alga has joined #zope3-dev | 17:10 | |
*** tahara has joined #zope3-dev | 17:11 | |
*** tarek has quit IRC | 17:13 | |
*** benji has quit IRC | 17:13 | |
*** ignas has joined #zope3-dev | 17:14 | |
*** mgedmin has joined #zope3-dev | 17:16 | |
*** hdima has quit IRC | 17:17 | |
*** cursor has quit IRC | 17:28 | |
*** Theuni has quit IRC | 17:33 | |
*** jbb666 has quit IRC | 17:36 | |
*** sashav has joined #zope3-dev | 17:45 | |
*** russf has quit IRC | 17:45 | |
*** sashav has quit IRC | 17:46 | |
*** mctadas has quit IRC | 17:48 | |
*** Theuni has joined #zope3-dev | 17:52 | |
*** tarek has joined #zope3-dev | 17:56 | |
*** zagy has quit IRC | 18:07 | |
*** faassen has quit IRC | 18:08 | |
*** faassen has joined #zope3-dev | 18:08 | |
*** tahara has quit IRC | 18:14 | |
*** j-w has quit IRC | 18:24 | |
*** J1m has joined #zope3-dev | 18:28 | |
*** xenru|clone has joined #zope3-dev | 18:30 | |
*** cursor has joined #zope3-dev | 18:38 | |
*** eins has quit IRC | 18:43 | |
*** MJ has quit IRC | 18:45 | |
*** xenru has quit IRC | 18:46 | |
*** jhauser_ has quit IRC | 18:51 | |
*** faassen has quit IRC | 18:54 | |
*** klaus has joined #zope3-dev | 19:02 | |
*** dobee has quit IRC | 19:07 | |
*** russf has joined #zope3-dev | 19:07 | |
*** zagy has joined #zope3-dev | 19:10 | |
*** faassen has joined #zope3-dev | 19:13 | |
*** romanofski is now known as rom|aw | 19:16 | |
*** jbb666 has joined #zope3-dev | 19:18 | |
*** xenru has joined #zope3-dev | 19:24 | |
jbb666 | millerj: i thought that anything with a start and end date shows up in the calendar... hmmm | 19:25 |
jbb666 | oop | 19:25 |
jbb666 | wrong channel ;) | 19:25 |
*** russf has quit IRC | 19:26 | |
*** M1 has joined #zope3-dev | 19:35 | |
*** tarek has quit IRC | 19:36 | |
*** klaus has quit IRC | 19:41 | |
*** xenru|clone has quit IRC | 19:45 | |
*** russf has joined #zope3-dev | 19:52 | |
*** zagy_ has joined #zope3-dev | 19:53 | |
*** benji_york has joined #zope3-dev | 19:54 | |
*** M1 has quit IRC | 19:56 | |
*** fabiorizzo has joined #zope3-dev | 19:57 | |
*** sashav has joined #zope3-dev | 19:57 | |
*** sashav has quit IRC | 19:58 | |
*** anguenot has joined #zope3-dev | 19:58 | |
*** _anguenot has quit IRC | 20:05 | |
*** philiKON has quit IRC | 20:05 | |
*** zagy has quit IRC | 20:05 | |
*** vlado has quit IRC | 20:07 | |
*** jhauser has joined #zope3-dev | 20:11 | |
*** M1 has joined #zope3-dev | 20:29 | |
*** M1 is now known as mj | 20:30 | |
*** mj is now known as MJ | 20:30 | |
*** jbb666 has quit IRC | 20:33 | |
*** jbb666 has joined #zope3-dev | 20:35 | |
*** sashav has joined #zope3-dev | 20:36 | |
*** sashav_ has joined #zope3-dev | 20:38 | |
*** sashav has quit IRC | 20:38 | |
*** sashav_ is now known as sashav | 20:38 | |
*** faassen has quit IRC | 21:17 | |
*** MrTopf has quit IRC | 21:30 | |
*** dobee has joined #zope3-dev | 21:30 | |
*** efrerich has quit IRC | 21:31 | |
*** _pcardune has joined #zope3-dev | 21:37 | |
*** dobee has quit IRC | 21:38 | |
*** ignas has quit IRC | 21:40 | |
*** mgedmin has quit IRC | 21:48 | |
*** pcardune has quit IRC | 21:53 | |
*** fabiorizzo has quit IRC | 22:02 | |
*** _pcardune is now known as pcardune | 22:17 | |
*** Aiste has quit IRC | 22:23 | |
*** Theuni has quit IRC | 22:30 | |
*** Aiste has joined #zope3-dev | 22:36 | |
*** zagy_ has quit IRC | 22:37 | |
*** tarek has joined #zope3-dev | 22:42 | |
*** MrTopf has joined #zope3-dev | 22:54 | |
*** projekt01 has joined #zope3-dev | 23:19 | |
*** ChrisW has joined #zope3-dev | 23:32 | |
ChrisW | anyone alive tonight> | 23:33 |
ChrisW | ? | 23:33 |
projekt01 | yup | 23:33 |
ChrisW | woohoo | 23:33 |
projekt01 | ;-) | 23:33 |
ChrisW | okay, do factories have access to the context where the object will be stored? | 23:33 |
projekt01 | Do you mean IFactory utilities? | 23:34 |
ChrisW | I think so | 23:34 |
ChrisW | I'm pretty green when it comes to Zope 3 ;-) | 23:34 |
projekt01 | Ifactories are context less till they get added to a context. This happens in the Adding view. | 23:35 |
RockyBurt | ChrisW: 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 storage | 23:35 |
ChrisW | hmmm | 23:36 |
* RockyBurt is fairly new to zope3 as well | 23:36 | |
ChrisW | okay, but what component do I customise to to creation-related stuff that requires context? | 23:36 |
ChrisW | I'm getting going with Swishdot, and now I want to store postings when they're created | 23:36 |
ChrisW | but I want to store them in something like: | 23:36 |
ChrisW | site/2006/01/10/title-of-posting.txt | 23:37 |
ChrisW | ...which means I need to create the intermediate folders when the posting is added | 23:37 |
projekt01 | This sounds like a job for a INameChooser adapter | 23:37 |
ChrisW | yes, but can INameChooser create folders and the like? | 23:38 |
jhauser | isn't it a traversal adapter? | 23:38 |
projekt01 | And you can use a factory which will create the content (folder and item) in the __call__ method of the factory | 23:38 |
ChrisW | jhauser: no, I want the postings stored that way | 23:38 |
ChrisW | or traversal becomes a nightmare | 23:39 |
projekt01 | No a factory in this use case will only be a hook implementation creating what you like (container and item) | 23:39 |
*** cursor has quit IRC | 23:39 | |
ChrisW | projekt01: you lost me... | 23:39 |
ChrisW | what component would I use to create the intermediate folders when someone selected "add posting" from the add menu> | 23:40 |
ChrisW | ? | 23:40 |
projekt01 | Ok, I try to explain... | 23:40 |
projekt01 | You can register a Ifactory, This could be a class which has a method __call__ | 23:40 |
projekt01 | This method __all__ could create the container and the item | 23:41 |
projekt01 | at once | 23:41 |
RockyBurt | couldn't the view that is used by "add posting" simply create that stuff as required ? | 23:41 |
projekt01 | RockyBurt, 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 view | 23:42 |
RockyBurt | projekt01: 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, etc | 23:43 |
projekt01 | Ifactory utilitites are simply helper classes which know how to create content instances | 23:43 |
projekt01 | registred as IFactory utilitites. | 23:43 |
ChrisW | indeed | 23:43 |
ChrisW | and so dont' help here | 23:43 |
projekt01 | why not? | 23:44 |
ChrisW | because postings aren't all in their own folder sturcture | 23:44 |
ChrisW | I only want to create the folders if they don't exist already | 23:44 |
ChrisW | rocky: 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 |
ChrisW | looks like I'll have to come up with my own utility interface and have a default implementation that does what I want :-S | 23:45 |
ChrisW | without context, I don't see a huge amount of point in factories | 23:45 |
ChrisW | the only use case I can see is where you, say, create a folder object and then use directlyProvides to make it instantiate something | 23:46 |
projekt01 | ChrosW, perhaps you can find some ideas in the zwiki package. There is also a different concept how the wikipages get added to wikifolders | 23:46 |
ChrisW | I guess I may end up with interesting factories full-blown Swishdot sites or Swishdot blogs | 23:46 |
ChrisW | projekt01: oh: can you point me to the relevent code? | 23:47 |
RockyBurt | what is swishdot? yet another blog product? | 23:47 |
ChrisW | my 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 something | 23:47 |
projekt01 | ChrisW, before you do that take a look at our initializer implementation in tiks.initializer | 23:47 |
projekt01 | ;-) | 23:47 |
ChrisW | Phil Eby made relevent comments about ZPatterns, which shared a lot in common with Zope 3 ;-) | 23:48 |
ChrisW | where can I get the tiks source code from? | 23:48 |
ChrisW | and what is tiks.initializer | 23:48 |
ChrisW | ? | 23:48 |
projekt01 | svn://svn.tiks.org/repos/Tiks/trunk | 23:48 |
ChrisW | Swishdot is a little overdue: http://www.swishdot.org/ ;-) | 23:49 |
projekt01 | svn://svn.tiks.org/repos/Tiks/trunk/initializer | 23:49 |
ChrisW | do you not have an http interface to that? | 23:49 |
projekt01 | The 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 |
projekt01 | http://viewcvs.tiks.org/viewcvs/Tiks/trunk/initializer/ | 23:51 |
ChrisW | aha | 23:52 |
ChrisW | what software does www.tiks.org run? | 23:52 |
projekt01 | very very old plone | 23:52 |
projekt01 | The new www.tiks.org site lives still in in the repos at: svn://svn.tiks.org/repos/Tiks/trunk/org ;-) | 23:53 |
ChrisW | http://viewcvs.tiks.org/viewcvs/Tiks/trunk/initializer/README.txt?rev=3224&view=markup | 23:53 |
ChrisW | nice error ;-) | 23:53 |
projekt01 | ;-) | 23:53 |
ChrisW | how can I actually see the code? | 23:54 |
*** ruda_porto has joined #zope3-dev | 23:54 | |
projekt01 | Does the download link work? | 23:54 |
projekt01 | http://viewcvs.tiks.org/viewcvs/*checkout*/Tiks/trunk/initializer/README.txt?rev=3224 | 23:54 |
ChrisW | I'm just gonna check it all out | 23:54 |
ChrisW | how big is it? | 23:54 |
* ChrisW thinks zcml sucks | 23:55 | |
ChrisW | I don't understand why .conf format wasn't used | 23:55 |
ChrisW | a la zope.conf | 23:55 |
*** jinty has joined #zope3-dev | 23:56 | |
projekt01 | I don't know the workspace with all .svn files in it is about 22MB | 23:56 |
ChrisW | I also don't understand the idea behind etc/package-includes | 23:56 |
ChrisW | how fucking dumb is that? having a mountain of little files, each containing one line?! | 23:56 |
ChrisW | why not just use site.zcml | 23:57 |
ChrisW | ? | 23:57 |
ChrisW | (like apache uses apache.conf for module includes...) | 23:57 |
projekt01 | You mean the package configuration? | 23:57 |
ChrisW | yes | 23:57 |
projekt01 | It'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 commands | 23:59 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!