IRC log of #zope3-dev for Saturday, 2005-05-14

srichtermmh, strange00:07
srichterI never had troubles00:07
srichterhave you created a zpkgrc file?00:07
*** SureshZ has left #zope3-dev00:14
*** dagnachew has joined #zope3-dev00:42
*** gintas has quit IRC00:51
*** srichter has quit IRC00:58
*** dagnachew has quit IRC01:12
*** srichter has joined #zope3-dev01:26
*** ChanServ sets mode: +o srichter01:28
*** RaFromBRC is now known as RaFrombBRC|afk01:41
*** yota has quit IRC01:54
*** bradb has quit IRC02:05
*** FarcePest has quit IRC02:29
*** RaFrombBRC|afk is now known as RaFromBRC03:03
*** SureshZ has joined #zope3-dev03:31
*** projekt01 has quit IRC03:31
*** viyyer has quit IRC03:43
*** efge has joined #zope3-dev03:53
*** efge has quit IRC03:55
*** efge has joined #zope3-dev03:55
*** efge has quit IRC03:57
*** vomjom has joined #zope3-dev04:15
*** BjornT has quit IRC04:18
*** BjornT has joined #zope3-dev05:19
*** vomjom has left #zope3-dev05:50
*** viyyer has joined #zope3-dev06:08
*** RaFromBRC has quit IRC07:07
*** kaczordek has joined #zope3-dev08:33
*** SureshZ has left #zope3-dev09:01
*** hdima has joined #zope3-dev09:21
*** projekt01 has joined #zope3-dev09:44
*** RaFromBRC has joined #zope3-dev10:54
*** kaczordek has quit IRC11:43
*** RaFromBRC has quit IRC12:09
*** __gotcha has joined #zope3-dev12:45
VladDracI want to build a more extended catalog13:27
VladDracsupporting stuff like brains/metadata, for example13:27
VladDracI'm currently wondering if I should write a utility from scratch that requires an existing catalog utility13:27
VladDracor if I should simply inherit from zope.app.catalog13:27
VladDracor if I should adapt13:28
VladDracis adapting utilities to new (more functional) utilities a common zope3 usecase as well?13:28
vinscihttp://c2.com/cgi/wiki?UseCase13:36
vinsciimplementing app/interfaces/catalog/catalog.py is probably what you want13:40
VladDraccatalog.py is already an implementation, I want to extend it somehow13:41
VladDraceither through inheritance or adapting13:42
VladDrac(or some sort of wrapping)13:42
vinscinote there are several catalog.py:s13:42
VladDracsuch as?13:43
vinsci./app/browser/catalog13:43
vinsci./app/browser/catalog/catalog.py13:43
vinsci./app/browser/catalog/catalog_icon.gif13:43
vinsci./app/browser/catalog/catalog.pyc13:43
vinsci./app/catalog13:43
vinsci./app/catalog/catalog.py13:43
vinsci./app/catalog/catalog.txt13:43
vinsci./app/catalog/catalog.pyc13:43
vinsci./app/interfaces/catalog13:43
vinsci./app/interfaces/catalog/catalog.py13:43
vinsci./app/interfaces/catalog/catalog.pyc13:43
VladDracyeah I know how find works :)13:44
vinsci:)13:44
VladDracso what are you saying, that I should extend catalog_icon.gif? :)13:44
vinscithat's probably stretching it a bit :)13:44
*** __gotcha has quit IRC13:45
VladDracthe only real zope utility is app/catalog/catalog.py, the rest is interface definition or browser view classes13:45
VladDracand my question remaind: inherit, adapt, etc13:45
VladDracgotta go br13:45
VladDracb13:45
vinsciI'm having trouble understanding your use of OO terminology13:47
vinsciyou may want to compare http://c2.com/cgi/wiki?AdapterPattern about adapting13:47
vinsciin other words, you probably do not want to "adapt"13:48
vinscior "wrap" for that matter :)13:48
*** yota has joined #zope3-dev15:00
VladDracyou know about adapters in zope3 I assume? Then my question should be clear :)15:05
srichterVladDrac: I think you should ask Jim what he envisions15:09
srichteradaptation might be better in this case, since you can reuse the existing catalog15:09
*** bskahan has joined #zope3-dev15:14
*** faassen has joined #zope3-dev15:15
*** viyyer has quit IRC15:25
VladDracsrichter my plan is to reuse the catalog, and I can do it in several ways15:30
srichterI know; I understood your question well15:34
VladDracok :)15:34
srichterI am just not sure how brains and meta-data fits into the scheme15:34
srichterI am thinking that you might not need meta-data, since the lookup to the actual object might be very cheap with the new mechanism15:35
srichterI can't remember what brains are, so I am at a loss15:35
VladDraca brain is some local data describing the object within the catalog15:47
VladDracincluding the metadata, a method to resolve the object, etc15:47
VladDracis object lookup really that cheap?15:48
*** xerophyte has joined #zope3-dev15:49
srichterwell, we do it now via direct reference15:52
srichteronce you decided you want to display an object it is quick to get to15:52
srichteri.e. it doe not need to wake up all its parents as far as I know15:53
VladDracstill you may find 1000s of object that you want to display in batches of 10s15:57
srichterwell, so you decide the batch before wking them15:59
srichterok, so I see where your meta-data argument is coming from, but it only works if waking objects is expensive16:01
srichterbecause if you have meta-data and brains, you need to generate an object as well, which might be equally expensive16:01
srichterI would really try to use the plain catalog first and see16:01
srichterwhen it gets slow, you can always implement more16:01
srichterdon't overdesign!16:02
VladDracyou have a point16:02
VladDracI've been brainwashed my zope/plone :)16:02
srichter:-)16:03
* VladDrac is trying to fix problems in zope3 that only really exist in zope216:06
*** bskahan has quit IRC16:07
*** hdima has quit IRC16:50
*** bskahan has joined #zope3-dev17:00
*** eaon has joined #zope3-dev17:08
*** bska|mobile has joined #zope3-dev17:08
*** bskahan has quit IRC17:16
*** tonico has quit IRC17:49
*** SureshZ has joined #zope3-dev18:14
*** eaon has quit IRC18:15
*** srichter has quit IRC18:21
*** bska|mobile has quit IRC18:24
*** dagnachew has joined #zope3-dev18:24
*** dagnachew has quit IRC18:33
*** dagnachew has joined #zope3-dev18:41
*** d2m has quit IRC18:51
*** d2m has joined #zope3-dev19:02
*** dagnachew has quit IRC19:05
*** srichter has joined #zope3-dev19:17
*** ChanServ sets mode: +o srichter19:18
*** BjornT has quit IRC19:40
*** srichter has quit IRC19:48
*** BjornT has joined #zope3-dev20:16
*** bskahan has joined #zope3-dev20:21
* VladDrac would really really really like error reporting improved in Zope320:34
VladDrac(and if I could do it myself I would)20:34
VladDracI'm currently getting zcml parse errors because some deeply nested pythoncode is failing, somewhere20:35
VladDrac(and I only know the zcml entry point where the class is refered as a starting point)20:35
*** mkerrin has joined #zope3-dev21:22
*** srichter has joined #zope3-dev22:20
*** faassen has quit IRC22:43
*** RaFromBRC has joined #zope3-dev22:56
*** RaFromBRC has quit IRC22:57
*** RaFromBRC has joined #zope3-dev22:57
*** pvpt has joined #zope3-dev22:59
*** mkerrin has quit IRC23:19
*** oday has joined #zope3-dev23:41
*** bskahan has quit IRC23:50

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