| *** timte has joined #zope3-dev | 00:01 | |
| *** timte has joined #zope3-dev | 00:02 | |
| *** redir has joined #zope3-dev | 00:09 | |
| *** timte has quit IRC | 00:09 | |
| *** timte has joined #zope3-dev | 00:10 | |
| *** agroszer_ is now known as agroszer | 00:12 | |
| *** redir has quit IRC | 00:17 | |
| *** afd_ has quit IRC | 00:17 | |
| *** agroszer has quit IRC | 00:21 | |
| *** rcrafton has quit IRC | 00:22 | |
| *** jpcw2002 has quit IRC | 00:28 | |
| *** philiKON has quit IRC | 00:28 | |
| *** tarek has quit IRC | 00:31 | |
| *** nathany has quit IRC | 00:34 | |
| *** MrTopf has joined #zope3-dev | 00:41 | |
| MrTopf | Hi! I am wondering if there a problem with zope.proxy and python2.5.1? | 00:42 |
|---|---|---|
| MrTopf | tried to run my buildout with 2.5.1 which uses the ZCA and unfortunately it fails | 00:42 |
| MrTopf | (on mac osx 10.5.4) | 00:43 |
| *** gberdyshev_ has quit IRC | 00:44 | |
| *** mgeee has quit IRC | 00:51 | |
| *** fcorrea has left #zope3-dev | 00:54 | |
| *** timte has quit IRC | 01:02 | |
| *** flox has left #zope3-dev | 01:06 | |
| *** whit has quit IRC | 01:06 | |
| *** lucielejard has quit IRC | 01:11 | |
| *** regebro has quit IRC | 01:14 | |
| *** gstratton has joined #zope3-dev | 01:15 | |
| *** J1m has quit IRC | 01:22 | |
| *** benji has quit IRC | 01:27 | |
| *** lurkymclurkleton has quit IRC | 01:28 | |
| *** hexsprite has joined #zope3-dev | 01:30 | |
| *** ktwilight_ has quit IRC | 01:31 | |
| *** jamur2 has quit IRC | 01:32 | |
| *** ktwilight_ has joined #zope3-dev | 01:33 | |
| *** pcardune has quit IRC | 01:37 | |
| ARiKA | MrTopf: I think Zope's recommendation is for 2.4.3... | 01:41 |
| *** srichter has quit IRC | 01:41 | |
| ARiKA | I've compared a compile in Zope 3 with both pythons | 01:41 |
| ARiKA | and 2.5.x says things about deprecating | 01:41 |
| ARiKA | and that with will be a keyword in Python 2.6... | 01:41 |
| MrTopf | well, there at least is some egg in pypi for 2.5 for zope.proxy | 01:42 |
| MrTopf | so Zope might say 2.4.3 but is this also true for the component stuff like zope.interface and zope.component (and their dependancies)? | 01:42 |
| MrTopf | interestingly it works when I download the egg and build it | 01:42 |
| MrTopf | just not in a buildout | 01:42 |
| ARiKA | Well... | 01:42 |
| ARiKA | recommended thing is to use 2.4.3... | 01:42 |
| ARiKA | Have a dual install of python, like me. | 01:42 |
| MrTopf | I have but others do not ;-) | 01:42 |
| ARiKA | Got 2.4 and 2.5 on the same box and Zope uses 2.4.x | 01:43 |
| ARiKA | Ahhh you're deploying web development as a job, isn't it? | 01:43 |
| ARiKA | hahahaha :) | 01:43 |
| MrTopf | actually I didn't notice as I usually have python2.4 first in my path | 01:44 |
| MrTopf | but others are now saying bad things about buildout and ZCA etc. because they do not get it to run ;-) | 01:44 |
| ARiKA | Hmmm the ./configure of Zope detects what version's you have, I think... | 01:44 |
| MrTopf | and I was glad I convinced them to use it as it makes life easier | 01:44 |
| MrTopf | as said, it's only about the component architecture, we don't use the rest of Zope | 01:45 |
| ARiKA | I'm not a Zope pro... I'm a completely beginner lol | 01:45 |
| MrTopf | I might write to some list | 01:45 |
| MrTopf | maybe somebody has the same problem | 01:45 |
| ARiKA | but well.. the recommended python as I've read is 2.4 :) | 01:45 |
| MrTopf | and maybe somebody has solved it ;-) | 01:45 |
| MrTopf | yep, I know. But would be good to know what's blocking for 2.5 | 01:45 |
| ARiKA | MrTopf: probably. That's what usually happens on FS development... hahaha | 01:45 |
| ARiKA | I told you... I'm a beginner in Zope because it's my interest in software dynamic content... | 01:46 |
| ARiKA | Beats PHP for sure lol | 01:46 |
| MrTopf | sure :) | 01:46 |
| ARiKA | People now are talking about djgango and Grok and so | 01:47 |
| ARiKA | but well... my interest is Zope. :) | 01:47 |
| MrTopf | well, Grok builds on top of Zope | 01:47 |
| ARiKA | Yeah yeah... but I consider more better to know the base. | 01:47 |
| ARiKA | why having a 'on top' result | 01:47 |
| ARiKA | when you can do the top as the final product? | 01:48 |
| ARiKA | :) | 01:48 |
| MrTopf | right now I would assume that you need to know the base as well once you leave the area which grok covers right now | 01:48 |
| ARiKA | Yeah lol | 01:48 |
| MrTopf | but Grok is a cool project and it's probably faster to develop with it than with pure Zope3 | 01:48 |
| ARiKA | doing the things by yourself let's you develop a more precise product... | 01:48 |
| ARiKA | Of course, it's faster. | 01:48 |
| MrTopf | and it still has that flexibility | 01:48 |
| ARiKA | But I think it's about adding another layer to the sandwitch :) | 01:49 |
| ARiKA | Sometimes big sandwitches doesn't enter your mouth... lol | 01:49 |
| MrTopf | maybe :) But for people new to all this it's a good thing | 01:49 |
| MrTopf | also for me ;-) | 01:49 |
| ARiKA | Yeah. | 01:49 |
| ARiKA | dunno | 01:49 |
| ARiKA | I've learnt python just to get the rid of Zope hahahahaha :) | 01:50 |
| ARiKA | Now I'm on the chapter about "how to be pythonic" lol... | 01:50 |
| MrTopf | pythonic is good :) | 01:51 |
| MrTopf | and bed is good, too btw. which is where I need to be heading now | 01:51 |
| ARiKA | bed? | 01:51 |
| ARiKA | ah hahahaha | 01:51 |
| ARiKA | didn't noticed or comprehensed the context lol | 01:51 |
| *** dvschramm has quit IRC | 01:51 | |
| ARiKA | Well... take care then :) See you another time... | 01:51 |
| ARiKA | Looking for help around here would be painful, trust me... | 01:52 |
| MrTopf | this thing you use when you are tired ;-) | 01:52 |
| ARiKA | Lot's of people and not too much will to speak :) | 01:52 |
| *** vimes656 has quit IRC | 01:52 | |
| MrTopf | yeah, I know :) will try some list :) | 01:53 |
| MrTopf | take care! | 01:53 |
| *** MrTopf has quit IRC | 01:53 | |
| ARiKA | The same. :) | 01:53 |
| *** redir has joined #zope3-dev | 02:00 | |
| *** srichter has joined #zope3-dev | 02:28 | |
| *** b52laptop has quit IRC | 02:30 | |
| *** srichter has quit IRC | 02:56 | |
| *** dbfrombrc has quit IRC | 03:33 | |
| *** aaronv has joined #zope3-dev | 04:02 | |
| *** _redir has joined #zope3-dev | 04:03 | |
| *** wolfe has joined #zope3-dev | 04:06 | |
| wolfe | :) | 04:06 |
| ARiKA | are you smiling? | 04:13 |
| ARiKA | hehehehehe :) | 04:13 |
| wolfe | I am. :) | 04:14 |
| wolfe | just thinking about about my extjs fork, thats all ;) | 04:15 |
| ARiKA | Why? | 04:15 |
| ARiKA | extjs? | 04:15 |
| ARiKA | What's that? | 04:15 |
| wolfe | yeah, exactly lol | 04:15 |
| ARiKA | What is extjs? lol | 04:15 |
| wolfe | well, its a js toolkit ran by a company which pulled a bait n switch | 04:16 |
| ARiKA | Ok... what's a js? | 04:16 |
| ARiKA | lol | 04:16 |
| wolfe | zope3 used to have a module for extjs until the license change, then zope pulled the module when ext, llc made the license change | 04:16 |
| wolfe | JS == javascript | 04:16 |
| wolfe | indeed, ExtJS 2.0.2 *is* LGPL 3.0 | 04:16 |
| ARiKA | Ah ok... | 04:17 |
| wolfe | they put a period after, not a comma in the license sentence | 04:17 |
| ARiKA | So what of extended has that JS? | 04:17 |
| ARiKA | lol | 04:17 |
| wolfe | nothing in zope has it, it was cancelled. Perhaps zope iwll use my fork after I get it going | 04:18 |
| wolfe | just lurking in here until I can ask the person who made the zope commit what they were going to use the module for. | 04:18 |
| ARiKA | Don't know about that... I'm a Zope novice person in the present day lol | 04:18 |
| wolfe | ARiKA: ah :P | 04:18 |
| wolfe | ARiKA: then can I interest you in to switching to Django? XD | 04:19 |
| ARiKA | Lol... 5 people told me that before... but why? | 04:19 |
| ARiKA | lol | 04:19 |
| wolfe | donno >.> | 04:19 |
| wolfe | I use it :P | 04:19 |
| ARiKA | Hahahahaha | 04:19 |
| *** ccomb has quit IRC | 04:20 | |
| ARiKA | What do Django has better? | 04:20 |
| ARiKA | :) | 04:20 |
| wolfe | donno =] | 04:20 |
| ARiKA | So? | 04:21 |
| ARiKA | hahaha | 04:21 |
| wolfe | cant really compare the two | 04:21 |
| wolfe | though if you want to have a fluffy reason, django uses less memory :P | 04:21 |
| wolfe | I haven't used 3 though, I used 2 and can tell you its junk. 3 is very different and not even a same beast, so perhaps it is good. | 04:22 |
| ARiKA | Lol well I've used Plone before :) | 04:22 |
| wolfe | oh, so you know the shortcomings :) | 04:23 |
| ARiKA | Yeah :) | 04:23 |
| ARiKA | I was choosing a CMS for my website (and some more) | 04:23 |
| ARiKA | and no one has everything that it has to have | 04:23 |
| ARiKA | so I'm beginning with zope to create one lol | 04:23 |
| wolfe | I was never one to use templating languages | 04:23 |
| wolfe | or at least, 2 seems a bit wild to me. | 04:24 |
| ARiKA | WELL | 04:24 |
| ARiKA | oops | 04:24 |
| ARiKA | Zope 3 is built to be really pythonic I think | 04:24 |
| ARiKA | lol | 04:24 |
| ARiKA | What DJango offers? ^^ | 04:24 |
| wolfe | django, bare needs :) | 04:25 |
| ARiKA | bare? | 04:25 |
| wolfe | well to me its bare, django is high level, but a light fframework | 04:26 |
| ARiKA | I don't know the word bare, I mean | 04:26 |
| ARiKA | hahahaha | 04:26 |
| wolfe | well I don't really have any reason now | 04:28 |
| wolfe | django matches what most frameworks offers | 04:28 |
| ARiKA | aha | 04:28 |
| ARiKA | cool :) | 04:28 |
| wolfe | oh actually, I foudn a nice link comparing | 04:28 |
| ARiKA | I've seen history of Zope | 04:28 |
| wolfe | http://www.lorenzogil.com/blog/2007/09/10/zope3-for-djangoers-part-1-installation/ | 04:28 |
| ARiKA | and for me is a mature project learnt from it's errors :) | 04:28 |
| ARiKA | built to survive | 04:29 |
| ARiKA | hahahahaa | 04:29 |
| wolfe | well if you want a reason for Zope3, it uses valid XHTML for templates. Meaning you can open it in any (X)HTML editor and it will be valid code. | 04:32 |
| wolfe | I should have work buy me a zope3 book =] | 04:33 |
| ARiKA | hahaha :) | 04:34 |
| ARiKA | Get Philip's one :) | 04:34 |
| ARiKA | It rocks! | 04:34 |
| ARiKA | hahaha | 04:34 |
| wolfe | Phillip;s? | 04:35 |
| ARiKA | Yeah | 04:35 |
| ARiKA | Web Development With Zope 3 | 04:35 |
| ARiKA | it's called, I think | 04:35 |
| wolfe | Web Component Development with Zope 3? | 04:35 |
| ARiKA | Yeah ! | 04:36 |
| wolfe | might as well learn zope3, so I can play around with the extjs module which was deleted | 04:37 |
| wolfe | I'll make it zc.roojsext :P | 04:37 |
| ARiKA | hahaha :) | 04:37 |
| wolfe | ARiKA: don't really have one reason or another for using django right now. I suppose the one thing zope has is database persistance. | 04:53 |
| wolfe | which I knew about, just never had to need for it, *yet* | 04:53 |
| wolfe | I should make a 30 days of zope and/or plone for fun. :) | 04:55 |
| ARiKA | yeeeeeeeeeeo | 04:57 |
| ARiKA | yep | 04:57 |
| ARiKA | lol | 04:57 |
| ARiKA | That's Zope 2 :) | 04:57 |
| ARiKA | wolfe: I'll give you a trick on Zope | 05:03 |
| ARiKA | get Philip's book | 05:03 |
| ARiKA | buy it or via eMule, but better buying | 05:03 |
| ARiKA | then | 05:03 |
| ARiKA | use that book | 05:03 |
| ARiKA | and also consult the Zope 3 Book | 05:03 |
| ARiKA | that is on the website | 05:03 |
| ARiKA | also read apidoc documentation on apidoc.zope.org | 05:04 |
| ARiKA | :) | 05:04 |
| ARiKA | it's everything well documented inside the code that you can see into that apidoc | 05:04 |
| *** philiKON has joined #zope3-dev | 05:20 | |
| wolfe | ARiKA: hehe, well I meant as a small blog set of entries for 30 days of zope :P | 05:21 |
| *** aaronv has quit IRC | 05:24 | |
| ARiKA | Hahahahahahaha :) | 05:24 |
| ARiKA | Was that blog yours? | 05:24 |
| wolfe | no :/ | 05:24 |
| wolfe | I don't really keep a blog | 05:24 |
| *** philiKON has quit IRC | 05:29 | |
| *** alecm has joined #zope3-dev | 05:31 | |
| *** alecm has quit IRC | 05:37 | |
| *** hazmat has quit IRC | 05:40 | |
| *** hazmat has joined #zope3-dev | 05:41 | |
| *** ChanServ sets mode: +o hazmat | 05:41 | |
| *** alecm has joined #zope3-dev | 06:01 | |
| *** alecm has quit IRC | 06:24 | |
| *** gberdyshev has joined #zope3-dev | 06:53 | |
| *** kursor has joined #zope3-dev | 07:01 | |
| *** natea_ has quit IRC | 07:12 | |
| *** fairwinds has quit IRC | 07:13 | |
| *** jfkw has quit IRC | 07:24 | |
| *** jfkw has joined #zope3-dev | 07:28 | |
| *** philiKON has joined #zope3-dev | 07:38 | |
| *** redir_ has joined #zope3-dev | 08:19 | |
| *** vimes656 has joined #zope3-dev | 08:20 | |
| *** afd_ has joined #zope3-dev | 08:24 | |
| *** redir has quit IRC | 08:29 | |
| *** kursor has quit IRC | 08:31 | |
| *** jukart has joined #zope3-dev | 08:46 | |
| *** philiKON has quit IRC | 09:06 | |
| *** __gotcha has quit IRC | 09:08 | |
| *** jfkw has quit IRC | 09:10 | |
| *** redir_ has quit IRC | 09:33 | |
| *** afd_ has quit IRC | 09:36 | |
| *** _redir has quit IRC | 09:45 | |
| *** jfkw has joined #zope3-dev | 09:47 | |
| *** jpcw2002 has joined #zope3-dev | 10:21 | |
| *** afd_ has joined #zope3-dev | 10:34 | |
| *** malthe has quit IRC | 10:39 | |
| *** jsadjohnson has quit IRC | 10:39 | |
| *** andres_f has quit IRC | 10:39 | |
| *** BjornT has quit IRC | 10:39 | |
| *** SteveA has quit IRC | 10:39 | |
| *** malthe has joined #zope3-dev | 10:40 | |
| *** jsadjohnson has joined #zope3-dev | 10:40 | |
| *** BjornT has joined #zope3-dev | 10:40 | |
| *** SteveA has joined #zope3-dev | 10:40 | |
| *** aclark|away is now known as aclark | 10:40 | |
| *** gstratton has quit IRC | 10:44 | |
| *** vimes656_ has joined #zope3-dev | 10:45 | |
| *** ccomb has joined #zope3-dev | 10:48 | |
| *** philiKON has joined #zope3-dev | 10:51 | |
| *** elro has joined #zope3-dev | 10:51 | |
| *** zagy has joined #zope3-dev | 10:59 | |
| *** vimes656 has quit IRC | 11:03 | |
| *** aaronv has joined #zope3-dev | 11:09 | |
| *** theuni has joined #zope3-dev | 11:09 | |
| *** tarek has joined #zope3-dev | 11:23 | |
| *** theuni has quit IRC | 11:29 | |
| *** vimes656 has joined #zope3-dev | 11:56 | |
| *** vimes656 has quit IRC | 12:12 | |
| *** wolfe has quit IRC | 12:12 | |
| *** vimes656_ has quit IRC | 12:12 | |
| *** vimes656 has joined #zope3-dev | 12:12 | |
| *** wolfe has joined #zope3-dev | 12:18 | |
| *** aaronv has quit IRC | 12:21 | |
| *** timte has joined #zope3-dev | 12:23 | |
| *** flox has joined #zope3-dev | 12:32 | |
| *** b52laptop has joined #zope3-dev | 12:32 | |
| *** norro has joined #zope3-dev | 12:43 | |
| *** tarek has quit IRC | 12:52 | |
| *** norro_ has joined #zope3-dev | 12:53 | |
| *** jpcw2002 has quit IRC | 12:53 | |
| *** norro_ has joined #zope3-dev | 13:04 | |
| *** malthe has quit IRC | 13:04 | |
| *** norro has quit IRC | 13:07 | |
| *** norro_ has quit IRC | 13:07 | |
| *** sm has quit IRC | 13:15 | |
| *** sm has joined #zope3-dev | 13:17 | |
| *** malthe has joined #zope3-dev | 13:50 | |
| *** timte has quit IRC | 13:54 | |
| *** gberdyshev_ has joined #zope3-dev | 14:05 | |
| *** gberdyshev has quit IRC | 14:19 | |
| *** fairwinds has joined #zope3-dev | 14:25 | |
| *** dobee has joined #zope3-dev | 14:44 | |
| *** andres_f has joined #zope3-dev | 14:49 | |
| *** dunny has quit IRC | 14:51 | |
| *** aclark is now known as aclark|away | 14:53 | |
| *** dobee has quit IRC | 14:58 | |
| *** fairwinds has quit IRC | 15:06 | |
| *** yota has joined #zope3-dev | 15:10 | |
| *** dukebody has joined #zope3-dev | 15:12 | |
| *** ARiKA has quit IRC | 15:31 | |
| *** theuni has joined #zope3-dev | 15:40 | |
| *** theuni has left #zope3-dev | 15:41 | |
| *** andres_f has quit IRC | 15:46 | |
| *** philiKON_ has joined #zope3-dev | 15:52 | |
| *** philiKON has quit IRC | 15:52 | |
| *** regebro has joined #zope3-dev | 15:55 | |
| *** J1m has joined #zope3-dev | 16:04 | |
| *** timte has joined #zope3-dev | 16:06 | |
| *** benji has joined #zope3-dev | 16:16 | |
| *** benji_ has joined #zope3-dev | 16:30 | |
| *** benji has quit IRC | 16:31 | |
| *** benji_ is now known as benji | 16:31 | |
| *** gstratton has joined #zope3-dev | 17:09 | |
| *** MrTopf has joined #zope3-dev | 17:10 | |
| *** gstratton_ has joined #zope3-dev | 17:39 | |
| *** gstratton has quit IRC | 17:40 | |
| *** fairwinds has joined #zope3-dev | 17:48 | |
| *** redir has joined #zope3-dev | 18:00 | |
| *** jpcw2002 has joined #zope3-dev | 18:00 | |
| *** gstratton_ has quit IRC | 18:01 | |
| *** J1m has quit IRC | 18:11 | |
| *** quodt has joined #zope3-dev | 18:14 | |
| *** philiKON_ has quit IRC | 18:20 | |
| *** sm has quit IRC | 18:24 | |
| *** brandon_rhodes has joined #zope3-dev | 18:27 | |
| *** andres_f has joined #zope3-dev | 18:28 | |
| *** brandon_rhodes has quit IRC | 18:32 | |
| *** malthe is now known as malthe|Zzz | 18:34 | |
| *** malthe|Zzz is now known as malthe|out | 18:34 | |
| *** quodt has quit IRC | 19:00 | |
| *** elro has joined #zope3-dev | 19:11 | |
| *** philiKON has joined #zope3-dev | 19:17 | |
| *** theuni has joined #zope3-dev | 19:20 | |
| *** ARiKA has joined #Zope3-Dev | 19:31 | |
| ARiKA | Hello :) | 19:32 |
| ARiKA | Hi afd_ ! | 19:32 |
| ARiKA | :) | 19:32 |
| afd_ | hi | 19:32 |
| ARiKA | afd_: I know now the best way to learn... use the apidoc and also read the code! :) hahahahaha | 19:32 |
| ARiKA | (after reading Philip's book, I mean) | 19:33 |
| afd_ | yes, true | 19:33 |
| ARiKA | Philip's book covers lots of contents, of course... for a practical use | 19:33 |
| ARiKA | but reading the apidocs and the code you see more opportunities on it lol | 19:34 |
| ARiKA | also the zope3 wiki talks about TAL, METAL and so ^^ | 19:34 |
| afd_ | yes, you should have a good understanding of TAL, at least | 19:35 |
| ARiKA | yeah... | 19:36 |
| ARiKA | I'm now frustrating about views :) | 19:36 |
| ARiKA | programming a blog component and so | 19:36 |
| afd_ | what are the problems? | 19:37 |
| ARiKA | and figuring how can I do just a post listing with a little content of it instead of a folder content and so | 19:37 |
| ARiKA | nah, don't worry, I'm documenting about it :) | 19:37 |
| afd_ | ok | 19:37 |
| ARiKA | reading APIDOC about zope.app.container.btree.BTreeContainer :) | 19:37 |
| ARiKA | Working I'm getting a little bit fluid about what package has what hahahahaha :) | 19:38 |
| afd_ | look at the tal:repeat directive | 19:38 |
| afd_ | you should construct your own listing | 19:39 |
| ARiKA | yeah | 19:39 |
| afd_ | tal:repeat="name context" | 19:39 |
| afd_ | where context is the folder | 19:39 |
| ARiKA | using context to read a vector from the class and using tal:repeat | 19:39 |
| ARiKA | :)) | 19:39 |
| ARiKA | it will repeat for every single part of the vector | 19:39 |
| dukebody | catalog? | 19:39 |
| ARiKA | yesterday I've been documenting about python | 19:40 |
| ARiKA | just because I'm a novice also in python... so I've learnt how to be pythonic lol | 19:40 |
| *** djohnson has joined #zope3-dev | 19:41 | |
| ARiKA | dukebody: what's a catalog? | 19:42 |
| dukebody | ARiKA: it's a tool you can use to query the indexed contents of the ZODB without waking they up. | 19:43 |
| dukebody | It's relational-database-like. | 19:43 |
| dukebody | I don't have Philipp's book handy, but you can read the doctests ;-) | 19:44 |
| afd_ | dukebody: for a beginner I think it would be too much | 19:44 |
| dukebody | catalog, zcatalog and so | 19:44 |
| dukebody | nope! | 19:44 |
| dukebody | Searching in the catalog is really easy. | 19:44 |
| dukebody | At least in plone heh. | 19:44 |
| ARiKA | lol... | 19:45 |
| ARiKA | I've put my blog component as BTreeContainer | 19:45 |
| ARiKA | so inside I'll put BlogEntry objects | 19:45 |
| afd_ | dukebody: it's also easy in z3, but you have to index the content, to understand what you're indexing, when it is indexed, how to search for it, and so on | 19:45 |
| ARiKA | but I'm looking about IContainer views | 19:45 |
| ARiKA | just to modify the BlogObject/ default view | 19:45 |
| ARiKA | to show with TAL the lastest n posts | 19:45 |
| ARiKA | hahahahahaa :) | 19:46 |
| afd_ | ARiKA: just write a view and register it as index.html for that container | 19:46 |
| ARiKA | yeah | 19:46 |
| ARiKA | the default view... :) | 19:46 |
| ARiKA | where can I find the order of views chosen to publish the default view? | 19:46 |
| ARiKA | I'm making views named "view" | 19:46 |
| ARiKA | and using browser:defaultView to set the default view to "view" :) | 19:46 |
| ARiKA | (for my component, I mean) | 19:47 |
| afd_ | the default view is index.html, unless you specify another name with <browser:defaultView /> | 19:47 |
| dukebody | and then <p tal:repeat="entry entries" tal:content="entry/Text">Entry text</p> | 19:47 |
| ARiKA | aha | 19:47 |
| ARiKA | hm... | 19:47 |
| dukebody | afk | 19:47 |
| ARiKA | I have to see tal... | 19:47 |
| ARiKA | and I have to see how IContainer stores values | 19:47 |
| ARiKA | and thinking about containment... | 19:47 |
| ARiKA | I think with zope.persistent.Persistent inherited object would serve... : | 19:48 |
| ARiKA | *:) | 19:48 |
| ARiKA | modifying the container constraints would make a cool blog! :) | 19:48 |
| ARiKA | how do I see where's the default view on the apidoc? | 19:49 |
| afd_ | ARiKA: you shouldn't have to dig so deep, really | 19:49 |
| afd_ | a container acts as a python dictionary | 19:49 |
| ARiKA | yeah... | 19:50 |
| ARiKA | so... myfolder["subfolder_name"] would give me an IContainer of myfolder/subfolder/? | 19:50 |
| afd_ | yes | 19:50 |
| ARiKA | hm... | 19:50 |
| ARiKA | so I can simply use self.len() inside of the class to get the number of posts, isn't it? | 19:51 |
| afd_ | len(obj) | 19:51 |
| ARiKA | hm true | 19:51 |
| ARiKA | so from len(blogObject) - 10 to the lastest | 19:51 |
| ARiKA | would be the last 10 messages | 19:51 |
| ARiKA | isn't it? | 19:51 |
| *** b52laptop has quit IRC | 19:52 | |
| *** J1m has joined #zope3-dev | 19:52 | |
| ARiKA | amazing... | 19:53 |
| ARiKA | Zope 3 is wicked lol | 19:53 |
| ARiKA | afd_: the one that designed Z3 has to be a person that knows what he did lol... | 19:55 |
| *** djohnson has quit IRC | 19:56 | |
| ARiKA | yesterday someone proposed me to change to Djgango afd_... | 19:56 |
| ARiKA | what happens with Djgango? | 19:56 |
| ARiKA | hahahahahahaha :) | 19:56 |
| afd_ | ARiKA: http://en.wikipedia.org/wiki/Zope | 19:56 |
| afd_ | I think it's easier to learn | 19:56 |
| afd_ | http://dirtsimple.org/2007/01/where-zope-leads-python-follows.html | 19:57 |
| ARiKA | yeah, a person that is being called "The Zope Pope" :) | 19:57 |
| afd_ | just like the author of Python is called a Benevolent Dictator | 19:58 |
| afd_ | :) | 19:58 |
| ARiKA | hahahahaha | 19:58 |
| ARiKA | Those who do not study Zope, are condemned to reinvent it. | 19:58 |
| ARiKA | this message is really useful | 19:58 |
| ARiKA | I'm reinventing a blog component and I know there's a cool one for Z3 already | 19:59 |
| ARiKA | but it's a case of study, you know... | 19:59 |
| ARiKA | and also a bet | 19:59 |
| ARiKA | haahahhaahhahhahaha :) | 19:59 |
| *** lurkymclurkleton has joined #zope3-dev | 19:59 | |
| ARiKA | I know that whenever I use python I can use those cool features of ZODB and so :) | 20:00 |
| *** lurkymclurkleton has quit IRC | 20:00 | |
| ARiKA | that's the message of where zope leads python follows | 20:00 |
| ARiKA | I think that message comes from there, isn't it? | 20:00 |
| afd_ | also, the zope libraries (and the component architecture) can be used in any python application, including Django | 20:00 |
| ARiKA | yeah that's what I've said. :) | 20:01 |
| ARiKA | hm... if I want my blog to handle blog urls on a way <year>/<month>/<day>/<title> | 20:02 |
| ARiKA | that's called an adapter, isn't it? | 20:02 |
| afd_ | no | 20:03 |
| ARiKA | or is it about that IRequest, mayebe... | 20:03 |
| ARiKA | *maybe | 20:03 |
| afd_ | it's about URL traversal | 20:03 |
| afd_ | you have several options | 20:03 |
| ARiKA | hmmm... aha | 20:03 |
| afd_ | the easiest would be to create folders for each of those fragments | 20:03 |
| ARiKA | that appears in the container chapter in Philip's book :) | 20:03 |
| ARiKA | yup, thought about that... but that's insane hahahaa :) | 20:03 |
| ARiKA | wasting space for folder objects and so :) | 20:04 |
| afd_ | year would be a folder, it would have a folder for the month, one for the day, and in the end your blog entry | 20:04 |
| ARiKA | yup yup | 20:04 |
| ARiKA | but that will spend zodb space | 20:04 |
| afd_ | you were talking in the beginning of a CMS | 20:04 |
| afd_ | isn't this natural for CMSs? | 20:04 |
| ARiKA | hmmm yeah | 20:04 |
| ARiKA | that's the cms way | 20:04 |
| afd_ | don't worry about zodb | 20:04 |
| ARiKA | (I suppose) | 20:04 |
| *** J1m has quit IRC | 20:05 | |
| ARiKA | so I simply create folders on the addform view and so, isn't it? | 20:05 |
| afd_ | you can create the folder hierarchy automatically and add the blog entry in the last folder (for day) | 20:05 |
| ARiKA | yeah | 20:06 |
| afd_ | from inside the add view | 20:06 |
| ARiKA | but would be more better to just have the entries saved with the name of the title of the post like "my-post" | 20:06 |
| ARiKA | and also using that tranversal feature to have a "normal blog" url | 20:06 |
| afd_ | yes, also for SEO | 20:06 |
| ARiKA | SEO? | 20:07 |
| ARiKA | just in case | 20:07 |
| ARiKA | if I access Blog/2004 -> posts of year | 20:07 |
| afd_ | search engine optimization | 20:07 |
| ARiKA | Blog/2004/12/ posts of december of 2004 | 20:07 |
| ARiKA | and so | 20:07 |
| ARiKA | but | 20:07 |
| ARiKA | Blog/my-title-post | 20:07 |
| ARiKA | would give you the post also | 20:07 |
| ARiKA | like Blog/2004/12/03/my-title-post | 20:07 |
| ARiKA | :) | 20:07 |
| ARiKA | and as you say... for search engine :) | 20:08 |
| afd_ | that was one of the other options | 20:08 |
| ARiKA | yeah | 20:08 |
| ARiKA | have to read about containers for sure... :) | 20:08 |
| ARiKA | and seeing the docs about tranversal... | 20:08 |
| afd_ | store the blog entry in the blog folder, and mangle with the path to get a list of filtering options, to be able to filter the blog entries | 20:08 |
| ARiKA | yeah | 20:09 |
| afd_ | that's a bit of more advanced topic | 20:09 |
| ARiKA | saving data for the blogentry would allow to filter the path and so :) | 20:09 |
| ARiKA | *date | 20:09 |
| ARiKA | afd_: what Z3 can't do? serve you a coffee, isn't it? hahahahahahahahahaha :) | 20:11 |
| *** philiKON has quit IRC | 20:20 | |
| *** J1m has joined #zope3-dev | 20:28 | |
| *** J1m has quit IRC | 20:46 | |
| andres_f | What is currently the suggested way to speed up a zope on a multiprocessor machine? Forward proxy and multiple instances I guess? | 20:52 |
| andres_f | (no problem, as real data is in a relational database) | 20:53 |
| afd_ | andres_f: multiple instances, yes | 20:53 |
| afd_ | if you're dealing with ZODB, then you can use ZEO | 20:53 |
| andres_f | afd_: ZODB fortunately only holds caching, folders, but not folder contents | 20:54 |
| andres_f | I could migrate away from zodb without many problems ;-) | 20:54 |
| andres_f | (except making zope work without ZODB ;-)) | 20:56 |
| afd_ | there's already packages that achieve that | 20:56 |
| andres_f | afd_: yes, read of it... | 20:56 |
| andres_f | Just would need a bit of exrecice of my buildout foo. | 20:57 |
| *** MrTopf has quit IRC | 21:06 | |
| *** andres_f is now known as andres_eating | 21:07 | |
| *** jpcw2002 has quit IRC | 21:13 | |
| *** MrTopf has joined #zope3-dev | 21:14 | |
| *** __gotcha has joined #zope3-dev | 21:14 | |
| *** nathany has joined #zope3-dev | 21:14 | |
| *** afd_ has quit IRC | 21:15 | |
| *** vimes656_ has joined #zope3-dev | 21:15 | |
| *** theuni has left #zope3-dev | 21:22 | |
| *** brandon_rhodes has joined #zope3-dev | 21:23 | |
| ARiKA | hm | 21:26 |
| ARiKA | for every object that comes from an IContainer | 21:26 |
| ARiKA | I can always use container["subfolder"]["subsubfolder"]["object"] and get returned objet? | 21:27 |
| ARiKA | container/subfolder/subsubfolder/objet | 21:27 |
| brandon_rhodes | If the inside things are also containers, I think that should work | 21:27 |
| ARiKA | yeah subfolder and subsubfolder are containers in this hypothesis | 21:28 |
| brandon_rhodes | Then I think that should work. | 21:29 |
| brandon_rhodes | Is it giving you problems of any sort? | 21:29 |
| ARiKA | hm not really... | 21:30 |
| ARiKA | just reading about containers and traversal... :) | 21:30 |
| brandon_rhodes | good, I was afraid you were going to lay out a complex situation in which it wasn't working for you :-) | 21:30 |
| brandon_rhodes | Just getting to say "yes" instead is more fun :-) | 21:31 |
| ARiKA | hahahahahahahahahaha | 21:31 |
| ARiKA | oh no... | 21:31 |
| ARiKA | I'm implementing a blog | 21:31 |
| ARiKA | and afd_ told me that for handling that access system <year>/<month>/<day>/<title> | 21:31 |
| ARiKA | had to use traverse | 21:31 |
| ARiKA | and reading a bit more about containers :) | 21:31 |
| brandon_rhodes | And you're thinking of subclassing containers and overriding __getitem__ instead of having a non-container type and writing your own traverser? | 21:32 |
| *** vimes656 has quit IRC | 21:32 | |
| ARiKA | what? | 21:33 |
| ARiKA | hahaaha | 21:33 |
| ARiKA | ok | 21:33 |
| ARiKA | you told me another thing | 21:33 |
| ARiKA | override __getitem__ lol | 21:33 |
| ARiKA | would be called on blog/day/... | 21:33 |
| ARiKA | no? | 21:33 |
| brandon_rhodes | ummmmm | 21:33 |
| brandon_rhodes | container['foo'] calls __getitem__(container, 'foo') ... right? | 21:33 |
| ARiKA | ahhh | 21:34 |
| brandon_rhodes | Just speaking about how Python works. | 21:34 |
| ARiKA | so every [] operator calls __getitem__ | 21:34 |
| brandon_rhodes | So if you subclassed container, you could just write its __getitem__ to interpret years or months or whatever | 21:34 |
| brandon_rhodes | yes | 21:34 |
| ARiKA | loading the next object in the zodb chain of hierarchy | 21:34 |
| ARiKA | isn't it? | 21:34 |
| brandon_rhodes | [] is the same as getitem | 21:34 |
| ARiKA | cool cool | 21:34 |
| ARiKA | good to know lol | 21:34 |
| ARiKA | but | 21:34 |
| ARiKA | in the case you do blog/title-of-post | 21:34 |
| brandon_rhodes | yes, Zope containers use []/__getiem__ which is a normal Python thing as their way of asking "what's next"? in a URL | 21:34 |
| ARiKA | I can check if key u"title-of-post" exists | 21:35 |
| ARiKA | isn't it? | 21:35 |
| brandon_rhodes | Sure! | 21:35 |
| ARiKA | lol | 21:35 |
| ARiKA | I was talking about five minutes about | 21:35 |
| brandon_rhodes | In the __getitem__ (or the traverser, whichever way you write it) just do an if-then | 21:35 |
| ARiKA | with a guy that spoked "php rules!" | 21:35 |
| brandon_rhodes | if this looks like a title: look up the title; else if this looks like a year: look up the year | 21:35 |
| ARiKA | and I said "I don't know why but Zope more!!!" | 21:35 |
| ARiKA | hahahahahaha :) | 21:35 |
| ARiKA | yeah | 21:35 |
| ARiKA | so if I got a zope.schema.Text there | 21:35 |
| ARiKA | I can access to the schema of title | 21:36 |
| ARiKA | on a way | 21:36 |
| ARiKA | blog[u"post"].title | 21:36 |
| ARiKA | isn't it? | 21:36 |
| ARiKA | __contains__( key ) can do the if else job | 21:37 |
| brandon_rhodes | What is u"post"? | 21:37 |
| ARiKA | "if I got this post then continue the hierarchy" | 21:37 |
| ARiKA | brandon_rhodes: blog/post :) | 21:37 |
| ARiKA | an object contained by blog | 21:37 |
| ARiKA | hahahahahahahaha :) | 21:37 |
| brandon_rhodes | ah | 21:38 |
| ARiKA | object of type BlogEntry who suppose has a field called "title" | 21:38 |
| brandon_rhodes | Are you going to store the posts by an id number or their title or something else? | 21:38 |
| ARiKA | that in the interface is an scheme of TextLine | 21:38 |
| ARiKA | well... | 21:38 |
| ARiKA | I'm thinking about having a field of date | 21:38 |
| ARiKA | but the posts stored by title on the container | 21:38 |
| ARiKA | so everyone can accesss by using blog/post-title | 21:39 |
| ARiKA | and with the conditional clause using that year/month/day/post-title scheme | 21:39 |
| ARiKA | :)) | 21:39 |
| brandon_rhodes | Gotchya. | 21:39 |
| brandon_rhodes | That sounds like it might work. | 21:39 |
| ARiKA | that's the thing :)) | 21:40 |
| ARiKA | yeah might... lol | 21:40 |
| wolfe | ARiKA: how do you work when you're IRCing? ;) | 21:40 |
| ARiKA | but I've to see how do I filter by date! | 21:40 |
| ARiKA | wolfe: just come to ask a question and began to talk with brandon_rhodes :) | 21:40 |
| * wolfe laughs | 21:40 | |
| ARiKA | hahhaha | 21:40 |
| ARiKA | talking is a sane thing. | 21:40 |
| ARiKA | would change world!!!! :)))) | 21:40 |
| ARiKA | I would date a cool Zope 3 programmer!!!! | 21:41 |
| ARiKA | hahahahahahahahahhaa | 21:41 |
| ARiKA | (joking) | 21:41 |
| brandon_rhodes | You guys know each other? | 21:41 |
| *** andres_eating is now known as andres | 21:42 | |
| ARiKA | No... I don't know him... just spoke yesterday with him, I think... | 21:42 |
| wolfe | affirmative | 21:42 |
| ARiKA | where do I find info about traversal? | 21:43 |
| ARiKA | lol | 21:43 |
| ARiKA | I think philip's book just introduces it a bit | 21:43 |
| nathany | anyone know how to tell Zope 3 to interpret a page template (and the rendered version) as UTF-8? | 21:43 |
| nathany | i'm running into an ascii codec problem which i can "fix" by setting the system-wide default locale, but it seems there should be a way to do this in a less blunt force manner | 21:44 |
| brandon_rhodes | someone just talked about traversal | 21:44 |
| brandon_rhodes | on the repoze mailing list | 21:44 |
| ARiKA | repoze? | 21:44 |
| brandon_rhodes | mcdonc, I think, did, and everyone thought his explanation was pretty good | 21:45 |
| brandon_rhodes | yeah | 21:45 |
| ARiKA | where's that? | 21:45 |
| ARiKA | lol | 21:45 |
| ARiKA | better | 21:45 |
| brandon_rhodes | google for repoze-dev and see if there are mailing list archives - it was a post in the last day or two | 21:45 |
| ARiKA | what's that? | 21:45 |
| ARiKA | hahahaaa | 21:45 |
| ARiKA | ahhh | 21:45 |
| brandon_rhodes | nathany: I've had that problem before! | 21:45 |
| nathany | brandon_rhodes: remember how you fixed it? :) | 21:45 |
| brandon_rhodes | No. | 21:45 |
| brandon_rhodes | We discussed it on grok-dev maybe? | 21:45 |
| nathany | on the mailing list? | 21:46 |
| brandon_rhodes | yeah | 21:46 |
| dukebody | nathany: I write UTF8 templates everyday without any problem. | 21:46 |
| dukebody | But well, I use Plone. | 21:46 |
| nathany | but is your python installation customized to have utf-8 as the default encoding? | 21:46 |
| nathany | actually i think PlacelessTranslation (which Plone uses but we're not) overrides part of StringIO to make it convert to utf-8 by default | 21:47 |
| nathany | (iirc) | 21:47 |
| ARiKA | brandon_rhodes: what's the url of repoze? | 21:47 |
| nathany | the exception is thrown in StringIO | 21:47 |
| brandon_rhodes | http://lists.repoze.org/listinfo/repoze-dev | 21:48 |
| brandon_rhodes | that's the mailling list | 21:48 |
| *** rocky has quit IRC | 21:50 | |
| ARiKA | brandon_rhodes: would be really modifying __getitem__() and if case of receiving a year see the path with that traversal thing, no? | 21:50 |
| ARiKA | thanks for the URL :) | 21:50 |
| andres | nathany: <?xml version="1.0" encoding="UTF-8" ?> | 21:51 |
| andres | At least for some parsers that should work. | 21:51 |
| dukebody | yeah | 21:51 |
| nathany | :) thanks, trying now | 21:51 |
| nathany | looks like i have an XML problem in my template... need to fix that, I guess, to see if this'll work | 21:52 |
| andres | nathany: Really do it at the beginning of the file. The parser restarts parsing after reading it. | 21:52 |
| brandon_rhodes | You would want to call the default __getitem__ if your traversal failed, I think. | 21:52 |
| nathany | andres: right | 21:52 |
| nathany | I have this vague memory that Zope will read a <meta> tag with charset information to set this too | 21:53 |
| nathany | is that reality, or just my imagination | 21:53 |
| andres | nathany: Browsers do this - but my guts doubt that zope will do so as well | 21:54 |
| nathany | andres: just checked; it would appear your guts are correct | 21:54 |
| nathany | i'll work on fixing my zpt to be XML | 21:54 |
| ARiKA | brandon_rhodes: reading zope.traversal on the api doc would help? lol | 21:54 |
| brandon_rhodes | Maybe. I actually usually use grok so I just write a grok.Traverser. :-/ | 21:55 |
| ARiKA | hahaha | 21:55 |
| ARiKA | hm there's something called Traverser on the API DOC for zope.traversing | 21:56 |
| ARiKA | btw using zope.traversing.browser.AbsoluteURL() I would get the url the person typed, isn't it? | 21:58 |
| *** jukart has quit IRC | 21:58 | |
| ARiKA | # __call__() | 21:59 |
| ARiKA | Returns an ASCII string with all unicode characters url quoted. | 21:59 |
| ARiKA | that's what it says about it... lol | 21:59 |
| *** theuni has joined #zope3-dev | 21:59 | |
| *** lurkymclurkleton has joined #zope3-dev | 22:00 | |
| brandon_rhodes | i think so... try and see :-) | 22:01 |
| ARiKA | yeah... ^ ^ | 22:02 |
| ARiKA | gonna eat something and continue... lol | 22:02 |
| *** theuni has left #zope3-dev | 22:04 | |
| nathany | andres: even after marking all my templates as XML and fixing encoding issues, StringIO still barfs | 22:10 |
| nathany | sigh | 22:10 |
| andres | nathany: is there any reason not using an reasonable locale? | 22:12 |
| andres | i.e. UTF-8 based? | 22:12 |
| nathany | systemwide, you mean? | 22:12 |
| andres | Yea | 22:13 |
| nathany | not in particular... and that's what we do in production | 22:13 |
| nathany | it just seemed like something that we should be able to make work regardless of the braindead ascii default | 22:13 |
| andres | (I dont think ony of the systems I administrate (excluding embedded ones and really legacy stuff) is not utf-8 enabled) | 22:14 |
| nathany | right... all of our systems are, too | 22:14 |
| nathany | not sure why python's default encoding is ASCII and not UTF-8 these days | 22:15 |
| andres | nathany: well, if the locale is non utf-8 capable, how should it know that the underlying C implementation works with utf-8? | 22:15 |
| andres | s/implementation/library/ | 22:16 |
| *** gberdyshev_ has quit IRC | 22:16 | |
| nathany | fair enough | 22:16 |
| * nathany anxiously awaits our glorious Unicode future in Python 3.0 | 22:16 | |
| * dukebody awaits the final jump of zope to python 2.5 first. | 22:17 | |
| ARiKA | nathany: I think on first basis Zope won't work in python 3 | 22:18 |
| ARiKA | hahahahahahahaha | 22:18 |
| nathany | of course not | 22:18 |
| nathany | :) | 22:18 |
| *** redir has quit IRC | 22:19 | |
| andres | dukebody: I think there are quite many people using zope with python 2.5 in production | 22:19 |
| dukebody | really? | 22:19 |
| dukebody | I've read it was a SoC project. | 22:19 |
| dukebody | GSoC, last year. | 22:19 |
| *** vimes656_ has quit IRC | 22:20 | |
| * ARiKA using zope with python 2.5 | 22:20 | |
| ARiKA | lol | 22:20 |
| dukebody | Hm, but Zope 2 isn't ported to 2.5 yet. | 22:20 |
| dukebody | python 2.5 I mean. | 22:20 |
| ARiKA | yeah | 22:21 |
| ARiKA | don't know... I'm using python 2.5 with zop3 | 22:22 |
| ARiKA | *zope3 | 22:22 |
| andres | dukebody: Here as well | 22:22 |
| andres | I just wouldnt rely on RestrictedPython | 22:23 |
| dukebody | ok, I'll try, thanks. | 22:23 |
| ARiKA | brandon_rhodes: found it lol | 22:26 |
| ARiKA | http://wiki.zope.org/zope3/HowDoIGrabVariablesFromArbitraryURLs | 22:26 |
| ARiKA | cool | 22:26 |
| brandon_rhodes | Great! | 22:27 |
| ARiKA | but it is Grok Based | 22:27 |
| ARiKA | now I see... | 22:27 |
| ARiKA | grgrgr | 22:27 |
| ARiKA | don't know what to do | 22:30 |
| * ARiKA headache | 22:30 | |
| ARiKA | lol | 22:30 |
| brandon_rhodes | huh? | 22:35 |
| brandon_rhodes | the URL on zope.org is grok based? :-/ | 22:35 |
| ARiKA | no no | 22:38 |
| ARiKA | that url I said before | 22:38 |
| ARiKA | that blog thing is grok based | 22:39 |
| ARiKA | :) | 22:39 |
| ARiKA | using grok traversal, I mean | 22:39 |
| *** redir has joined #zope3-dev | 22:42 | |
| *** redir has quit IRC | 22:43 | |
| *** lurkymclurkleton has quit IRC | 22:43 | |
| *** redir has joined #zope3-dev | 22:53 | |
| *** junkafarian_ has joined #zope3-dev | 22:54 | |
| *** redir has quit IRC | 22:55 | |
| *** lurkymclurkleton has joined #zope3-dev | 22:56 | |
| *** tarek has joined #zope3-dev | 23:02 | |
| ARiKA | What's the way to set an schema of Datetime to now? | 23:05 |
| *** dunny has joined #zope3-dev | 23:12 | |
| *** dbfrombrc has joined #zope3-dev | 23:18 | |
| *** timte has quit IRC | 23:23 | |
| *** tarek has quit IRC | 23:31 | |
| *** elro has quit IRC | 23:35 | |
| *** tarek has joined #zope3-dev | 23:36 | |
| *** elro has joined #zope3-dev | 23:37 | |
| *** tarek has quit IRC | 23:40 | |
| *** elro has quit IRC | 23:40 | |
| *** nathany has quit IRC | 23:57 | |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!