| *** SteveA has quit IRC | 00:00 | |
| *** SteveA has joined #zope3-dev | 00:01 | |
| *** b_52Centos__ has quit IRC | 00:06 | |
| *** dobee has quit IRC | 00:08 | |
| *** vlado has quit IRC | 00:19 | |
| *** RaFromBRC is now known as RaFromBRC|away | 00:20 | |
| *** Aiste has joined #zope3-dev | 00:45 | |
| *** SteveA has quit IRC | 00:58 | |
| *** SteveA has joined #zope3-dev | 00:59 | |
| *** rocky has joined #zope3-dev | 01:04 | |
| *** nathany has quit IRC | 01:09 | |
| *** zbir_ is now known as zbir | 01:15 | |
| *** RaFromBRC|away has quit IRC | 01:19 | |
| *** rocky is now known as rocky|away | 01:19 | |
| *** benji has quit IRC | 01:33 | |
| *** ignas has quit IRC | 01:33 | |
| *** ignas has joined #zope3-dev | 01:41 | |
| *** gintas_ has quit IRC | 01:49 | |
| *** rocky|away has quit IRC | 01:49 | |
| *** RaFromBRC has joined #zope3-dev | 02:08 | |
| *** nathany has joined #zope3-dev | 02:15 | |
| *** smokeyd has quit IRC | 02:16 | |
| *** mgedmin has quit IRC | 02:17 | |
| *** rocky has joined #zope3-dev | 02:39 | |
| *** smokeyd has joined #zope3-dev | 03:16 | |
| *** philiKON has quit IRC | 03:16 | |
| *** yota has quit IRC | 03:26 | |
| *** roym has quit IRC | 03:31 | |
| *** smokeyd has quit IRC | 03:42 | |
| *** dunny has joined #zope3-dev | 04:02 | |
| *** rocky has quit IRC | 04:23 | |
| *** hazmat has joined #zope3-dev | 04:47 | |
| *** ChanServ sets mode: +o hazmat | 04:47 | |
| *** stub has joined #zope3-dev | 04:54 | |
| *** niemeyer has quit IRC | 04:56 | |
| *** RaFromBRC has quit IRC | 05:28 | |
| *** nathany has quit IRC | 05:48 | |
| *** hazmat has quit IRC | 06:03 | |
| *** whit has quit IRC | 06:28 | |
| *** baijum has joined #zope3-dev | 06:31 | |
| *** hazmat has joined #zope3-dev | 07:00 | |
| *** ChanServ sets mode: +o hazmat | 07:00 | |
| *** philiKON has joined #zope3-dev | 07:33 | |
| *** dunny has quit IRC | 07:58 | |
| *** Theuni has joined #zope3-dev | 08:00 | |
| *** eins has joined #zope3-dev | 08:06 | |
| eins | hi | 08:06 |
|---|---|---|
| *** dobee has joined #zope3-dev | 08:07 | |
| *** cursor has joined #zope3-dev | 08:22 | |
| *** d2m has left #zope3-dev | 08:22 | |
| *** hazmat has quit IRC | 08:24 | |
| *** d2m has joined #zope3-dev | 08:28 | |
| *** dobee has quit IRC | 08:34 | |
| *** zagy has joined #zope3-dev | 08:59 | |
| *** romanofski has joined #zope3-dev | 09:01 | |
| *** dobee has joined #zope3-dev | 09:02 | |
| *** alecm has quit IRC | 09:08 | |
| *** cursor has quit IRC | 09:15 | |
| *** yota has joined #zope3-dev | 09:21 | |
| *** Aiste has quit IRC | 09:24 | |
| *** hdima has joined #zope3-dev | 09:30 | |
| *** b_52CEntos_ has joined #zope3-dev | 09:35 | |
| *** b_52CEntos has quit IRC | 09:53 | |
| *** eins has quit IRC | 09:56 | |
| *** eins has joined #zope3-dev | 09:59 | |
| *** MJ has quit IRC | 10:00 | |
| *** b_52CEntos_ has quit IRC | 10:05 | |
| *** flox has joined #zope3-dev | 10:17 | |
| *** batlogg has joined #zope3-dev | 10:19 | |
| *** volvox has joined #zope3-dev | 10:22 | |
| *** batlogg is now known as batlogg|holiday | 10:23 | |
| *** hazmat has joined #zope3-dev | 10:31 | |
| *** ChanServ sets mode: +o hazmat | 10:31 | |
| *** ignas has quit IRC | 10:34 | |
| *** dobee_ has joined #zope3-dev | 10:45 | |
| *** hazmat has quit IRC | 10:48 | |
| *** stub has quit IRC | 10:48 | |
| *** dobee has quit IRC | 10:58 | |
| *** einheit_ has joined #zope3-dev | 11:04 | |
| *** SteveA has quit IRC | 11:14 | |
| *** einheit_ is now known as SteveA | 11:15 | |
| *** vlado_ has joined #zope3-dev | 11:17 | |
| *** vlado_ is now known as vlado | 11:22 | |
| *** vlado has quit IRC | 11:22 | |
| *** vlado has joined #zope3-dev | 11:22 | |
| *** dobee_ is now known as dobee | 11:26 | |
| *** dobee is now known as dobee|fh | 11:27 | |
| *** MJ has joined #zope3-dev | 11:30 | |
| *** dobee|fh has quit IRC | 11:57 | |
| *** dobee|fh has joined #zope3-dev | 11:58 | |
| *** vlado has quit IRC | 12:00 | |
| *** oferw has joined #zope3-dev | 12:08 | |
| *** jinty has joined #zope3-dev | 12:16 | |
| *** oferw has quit IRC | 12:31 | |
| volvox | hi there | 12:33 |
| volvox | I would like to know if a book like this could be useful to a z3 developer for intranet applications | 12:33 |
| volvox | Patterns of Enterprise Application Architecture (Hardcover) by M. Fowler | 12:34 |
| volvox | it seems well done, does anyone know it? | 12:34 |
| *** mkerrin has joined #zope3-dev | 12:36 | |
| ktwilight | hmm...i dunno 'bout that. but have you looked at the two available books for z3? | 12:39 |
| volvox | ktwilight: it's not about the tool, but the design of complex software.. | 12:40 |
| *** dobee|fh has quit IRC | 12:41 | |
| ktwilight | right....no clue then :) | 12:41 |
| *** Aiste has joined #zope3-dev | 12:43 | |
| SteveA | volvox: yes | 12:45 |
| SteveA | volvox: read all books by martin fowler | 12:45 |
| volvox | SteveA: well, I like him, but for instance with Refactoring, half of the examples make little sense with python :-) | 12:45 |
| volvox | i will read it, thanks | 12:46 |
| SteveA | particularly the section on distributed systems | 12:46 |
| SteveA | where it basically says "don't" | 12:46 |
| volvox | lol | 12:46 |
| volvox | distributed systems are like a dungeon full of traps | 12:47 |
| *** faassen has joined #zope3-dev | 13:17 | |
| *** ignas has joined #zope3-dev | 13:18 | |
| *** dobee|fh has joined #zope3-dev | 13:29 | |
| *** stub has joined #zope3-dev | 13:42 | |
| *** mexiKON has joined #zope3-dev | 13:53 | |
| *** philiKON has quit IRC | 14:10 | |
| *** roym has joined #zope3-dev | 14:17 | |
| roym | A recurring use-case in my application seems to be the creation of | 14:17 |
| roym | interfaces to allow uses to do many-to-many mapping. The presentation | 14:17 |
| roym | usually is an input form that looks like a sparsely populated grid | 14:17 |
| roym | (often radio buttons). Are there any established patterns or | 14:17 |
| roym | techniquest to handle this sort of thing? I find myself writing the | 14:17 |
| roym | same code again and again. | 14:17 |
| faassen | hm I don't know.. | 14:20 |
| faassen | one technique you might be able to use is to define a new widget | 14:20 |
| faassen | (and perhaps a new schema field for storage, if what's available doesn't apply) | 14:20 |
| faassen | writing a new widget is more up-front work but once it's done it's quite convenient to use. | 14:20 |
| volvox | faassen: i've looked at hurry.workflow, as I told you at europython, to replace my dumb workflow | 14:22 |
| volvox | i need to check if the current principal is the one that created the object | 14:22 |
| volvox | inside the condition, how do I get hold of the current principal? I only have the context object | 14:23 |
| volvox | and don't know how I am supposed to get the request.principal | 14:23 |
| * volvox thinks it's probably a dumb question | 14:24 | |
| roym | volvox: I asked the same sort of questions, and someone told me that usually, that type of determination needs to happen in the views... (ie: before they get to the context method). | 14:26 |
| volvox | roym: I'm using a workflow component because I don't want to do state management in the view.. | 14:26 |
| roym | agreed, but don't you usually get to the method via a view method of some sort. afaik, the principal is usually defined in the context of an interaction, and the context classes are generally unaware of requests and principals. | 14:28 |
| volvox | roym: so if everything fails I could ask for the interaction and get the request from there? | 14:29 |
| roym | I think its more like you have always have to pass the principal from a view to the context methods. | 14:30 |
| volvox | roym: the function that is called is the condition: def NullCondition(wf, context)... no request there | 14:31 |
| volvox | but i'll look deeper,tnx | 14:31 |
| *** rock1 has joined #zope3-dev | 14:31 | |
| *** rock1 is now known as rocky | 14:32 | |
| roym | I have a table view (hundreds of cells) - I plan to render each cell | 14:47 |
| roym | using a construct like "content="obj/@@viewA | obj/@@viewB". Is this | 14:47 |
| roym | type of fallback processing costly, or reasonable to do? | 14:47 |
| SteveA | using tal:repeat is costly | 14:51 |
| *** benji_ has joined #zope3-dev | 14:52 | |
| roym | SteveA: when rendering a table, how can one avoid tal:repeat? | 14:54 |
| SteveA | render it in python, and include it that <div tal:replace="structure view/renderTable" /> | 14:55 |
| mexiKON | roym, take a look at zc.table, perhaps | 14:55 |
| *** benji_ is now known as benji | 14:57 | |
| roym | ok - wouldn't have suspected tal:repeat to be expensive. As for my question about fallback processing being costly (cos intuititively, I think that involves a try/catch), what are your thoughts? | 14:58 |
| roym | mexiKON: where is zc.table? | 15:00 |
| mexiKON | svn.zope.org | 15:02 |
| *** niemeyer has joined #zope3-dev | 15:03 | |
| SteveA | roym: the cost of using tal at all vastly outweighs the additional cost of a single try-catch | 15:06 |
| SteveA | try-except in python-speak | 15:07 |
| SteveA | (java programmer uncovered ;-) ) | 15:07 |
| *** jinty has quit IRC | 15:08 | |
| roym | :) ooops - just that I get paid to do java (daytimes) | 15:08 |
| * rocky was fortunate enough to give up his java day job a couple years ago ;) | 15:09 | |
| roym | mexiKON: zc.table looks very promising, thanks. | 15:16 |
| roym | makes me wonder what else is there outside of z3-trunk that I might have benefited from. Is there a listing/README/overview that I might look at? | 15:17 |
| faassen | volvox: who were you at europython? | 15:29 |
| faassen | roym: not yet, we need to start doing such things for zope.org | 15:31 |
| faassen | roym: there's quite a lot of fun stuff hiding out in svn.zope.org. also the hurry stuff at codespeak.net/svn/z3 | 15:31 |
| faassen | volvox: anyway, I saw some of the discussions, yeah, it's kind of unpleasant to have to get the principal from the request.. | 15:32 |
| faassen | volvox: there's a hacky way to get to it otherwise, let me look it up for you | 15:32 |
| * rocky snickers at faassen's shameless plug *grin* | 15:32 | |
| faassen | rocky: the hurry stuff? :) yeah, I wrote the hurry stuff :) | 15:32 |
| volvox | faassen: getInteraction().participations[0] ? | 15:32 |
| faassen | not all of it anymore, Stephan Richter has been improving .. | 15:32 |
| faassen | volvox: right | 15:32 |
| volvox | tnx | 15:33 |
| faassen | volvox: that's it. | 15:33 |
| faassen | I think there should be some Zope 3 API for that to do that officially somehow. | 15:33 |
| volvox | naa, people would use it in content objects ;-) | 15:33 |
| faassen | as it's really convenient, especially from within workflow and stuff. | 15:33 |
| faassen | well, I'm of the philosophy that if people want to do evil stuff they'll find out ways to do anyway | 15:33 |
| faassen | Zope 3 can't stop them. it can only encourage the right way | 15:34 |
| faassen | and it's just a plain common usecase to want to get to the principal. | 15:34 |
| faassen | I'm not even sure whether it'd always be a bad thing from within a content object. | 15:34 |
| rocky | well, that's the philosophy of python in general | 15:34 |
| rocky | no such thing as private members, etc | 15:34 |
| faassen | right. :) | 15:34 |
| * volvox thinks one private member per male developer is enough | 15:34 | |
| faassen | :) | 15:35 |
| *** zbir has quit IRC | 15:36 | |
| *** romanofski has quit IRC | 15:39 | |
| *** romanofski has joined #zope3-dev | 15:44 | |
| mexiKON | romanofski, how's the skin coming? | 15:46 |
| romanofski | haven't had time the last days, but will continue the work today | 15:47 |
| *** zbir has joined #zope3-dev | 15:50 | |
| *** benji is now known as benji_ | 16:08 | |
| *** benji_ is now known as benji | 16:09 | |
| *** whit has joined #zope3-dev | 16:12 | |
| romanofski | mexiKON: installed an instance on my box at home so I can surely continue with the work :) | 16:17 |
| mexiKON | :) | 16:17 |
| *** jinty has joined #zope3-dev | 16:18 | |
| *** rocky has quit IRC | 16:20 | |
| *** vlado has joined #zope3-dev | 16:23 | |
| *** baijum has left #zope3-dev | 16:29 | |
| *** eins has quit IRC | 16:57 | |
| *** jinty has quit IRC | 17:19 | |
| *** oferw has joined #zope3-dev | 17:24 | |
| *** regebro has joined #zope3-dev | 17:33 | |
| *** mgedmin has joined #zope3-dev | 17:33 | |
| *** rocky has joined #zope3-dev | 17:39 | |
| *** jinty has joined #zope3-dev | 17:53 | |
| *** volvox has quit IRC | 18:02 | |
| *** dobee|fh has quit IRC | 18:02 | |
| *** volvox has joined #zope3-dev | 18:03 | |
| *** Aiste_ has joined #zope3-dev | 18:04 | |
| *** hdima has quit IRC | 18:09 | |
| *** Aiste has quit IRC | 18:20 | |
| *** alga has joined #zope3-dev | 18:22 | |
| *** oferw has quit IRC | 18:25 | |
| *** alecm has joined #zope3-dev | 18:26 | |
| *** romanofski has quit IRC | 18:29 | |
| *** MJ has quit IRC | 18:37 | |
| *** flox has quit IRC | 18:38 | |
| *** hazmat has joined #zope3-dev | 18:52 | |
| *** ChanServ sets mode: +o hazmat | 18:52 | |
| *** vlado has quit IRC | 18:55 | |
| *** ignas has quit IRC | 19:02 | |
| *** smokeyd has joined #zope3-dev | 19:02 | |
| *** whit has quit IRC | 19:09 | |
| *** whit has joined #zope3-dev | 19:16 | |
| *** ofer has joined #zope3-dev | 19:17 | |
| *** hazmat has quit IRC | 19:24 | |
| *** gumpa is now known as gumpa-away | 19:30 | |
| *** flox has joined #zope3-dev | 19:40 | |
| *** ofer has quit IRC | 19:42 | |
| *** RaFromBRC has joined #zope3-dev | 20:12 | |
| *** volvox has quit IRC | 20:13 | |
| *** rocky has quit IRC | 20:23 | |
| *** hazmat has joined #zope3-dev | 20:24 | |
| *** ChanServ sets mode: +o hazmat | 20:24 | |
| *** rocky has joined #zope3-dev | 20:26 | |
| *** regebro has quit IRC | 20:28 | |
| *** jinty has quit IRC | 20:43 | |
| *** b_52CEntos_ has joined #zope3-dev | 20:49 | |
| *** jinty has joined #zope3-dev | 20:49 | |
| *** cursor has joined #zope3-dev | 20:53 | |
| *** jinty has quit IRC | 20:58 | |
| *** stub has quit IRC | 21:05 | |
| *** rocky has quit IRC | 21:33 | |
| *** faassen has quit IRC | 21:34 | |
| *** RaFromBRC has quit IRC | 21:46 | |
| *** cursor has quit IRC | 21:52 | |
| *** rocky has joined #zope3-dev | 21:53 | |
| *** mkerrin has quit IRC | 21:55 | |
| *** cursor has joined #zope3-dev | 21:57 | |
| *** yota has quit IRC | 21:57 | |
| *** yota has joined #zope3-dev | 22:01 | |
| *** hazmat has quit IRC | 22:10 | |
| *** Aiste_ has quit IRC | 22:15 | |
| *** yota has quit IRC | 22:20 | |
| *** yota has joined #zope3-dev | 22:23 | |
| *** romanofski has joined #zope3-dev | 22:27 | |
| *** MJ has joined #zope3-dev | 22:30 | |
| *** Theuni has quit IRC | 22:47 | |
| *** povbot` has joined #zope3-dev | 22:52 | |
| *** alga_ has joined #zope3-dev | 22:56 | |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!