gabrielboys | can some answer a couple basic questions for me about setting up the layout of a site | 00:00 |
---|---|---|
philiKON | just ask questions. if there's anyone who can answer the question s/he will answer | 00:00 |
gabrielboys | cool | 00:00 |
philiKON | i didn't say you'll get your answers :) | 00:01 |
gabrielboys | understood, helps just to write it out anyway ;) | 00:03 |
gabrielboys | I am setting up a site, and have been reading through a couple of Zope3 books and I just want to make sure I have the right general idea with how to set up the site visually. My understinfanding is the following | 00:10 |
gabrielboys | 1) I create a skin and in that skin a new layer plus the defualt and rotterdam layers. | 00:10 |
gabrielboys | 2) I create a macro that holds the basic markup for all of the pages. In this macro I have slots for the differnet parts of the page. | 00:10 |
gabrielboys | I would have slots for the title, meta, style in trhe header. Then in the rest of the doc I put slots where dyanmic content will be going. | 00:10 |
gabrielboys | So for example I would have a main content area, a side bar area and so on. | 00:10 |
gabrielboys | 3) Once I have all these slots set up then I make templates for the different content types I have. So for example in my task there | 00:10 |
gabrielboys | is a Project that has a bunch of attributes. When the user goes to the template for that Project, they see the attributes from the | 00:11 |
gabrielboys | project displayed per how the template is set up. | 00:11 |
gabrielboys | Is that the right genreal idea? | 00:11 |
*** dobee has joined #zope3-dev | 00:13 | |
philiKON | i would not base my skin on rotterdam, to be honest | 00:15 |
philiKON | i've also experimented wiht viewlets recently and am quite satisfied | 00:16 |
philiKON | they make the whole slot juggling obsolete | 00:16 |
gabrielboys | ok thanks | 00:17 |
gabrielboys | I have not checked out viewlets | 00:17 |
philiKON | there's a skin based on viewlets | 00:17 |
philiKON | boston | 00:17 |
philiKON | zope.app.boston | 00:17 |
philiKON | it's not in a release | 00:17 |
philiKON | but it's availble in svn | 00:17 |
philiKON | check it out | 00:17 |
philiKON | i wouldn't necessarily copy everything that boston does | 00:17 |
philiKON | but it gives good examples | 00:17 |
gabrielboys | I just need examples......perfect | 00:17 |
*** dobee has quit IRC | 00:22 | |
gabrielboys | if you are not too busy, could you give me a quick overview of viewlets? | 00:23 |
flox | see /++apidoc++/Code/zope/viewlet/README.TXT | 00:24 |
gabrielboys | awesome, thanks | 00:25 |
flox | i try to use viewlets, too... and i started with Boston skin to understand it. | 00:25 |
gabrielboys | excellent, thanks for the help | 00:26 |
flox | np | 00:26 |
*** rock1 has joined #zope3-dev | 00:28 | |
*** rocky has quit IRC | 00:30 | |
*** rock1 is now known as rocky | 00:30 | |
*** efge has joined #zope3-dev | 00:34 | |
*** hazmat has quit IRC | 01:00 | |
*** batlogg has quit IRC | 01:35 | |
*** hazmat has joined #zope3-dev | 01:53 | |
*** ChanServ sets mode: +o hazmat | 01:53 | |
efge | hi, can anyone explain why I get this: | 01:53 |
efge | tz = pytz.timezone('Europe/Paris'); print datetime(2006, 7, 1, tzinfo=tz).utcoffset() | 01:54 |
efge | 0:09:00 instead of 2 hours... | 01:54 |
*** efge has quit IRC | 01:57 | |
*** efge has joined #zope3-dev | 02:00 | |
*** alecm has quit IRC | 02:31 | |
*** philiKON has quit IRC | 02:39 | |
*** rocky has quit IRC | 02:47 | |
*** yota has quit IRC | 02:51 | |
*** rocky has joined #zope3-dev | 02:53 | |
*** rocky has quit IRC | 03:09 | |
*** rocky has joined #zope3-dev | 03:11 | |
*** rocky has joined #zope3-dev | 03:12 | |
*** rocky has quit IRC | 03:43 | |
*** SmokeyD has quit IRC | 04:23 | |
*** efge has quit IRC | 04:30 | |
*** roym has quit IRC | 04:34 | |
*** hazmat has quit IRC | 05:46 | |
*** nathany has joined #zope3-dev | 07:09 | |
*** hazmat has joined #zope3-dev | 07:51 | |
*** ChanServ sets mode: +o hazmat | 07:51 | |
*** b_52CEntos_ has quit IRC | 08:16 | |
*** b_52Centos__ has joined #zope3-dev | 08:16 | |
*** eins has joined #zope3-dev | 08:19 | |
eins | hi | 08:19 |
*** romanofski has joined #zope3-dev | 08:28 | |
romanofski | moin | 08:30 |
*** hdima has joined #zope3-dev | 08:58 | |
*** philiKON has joined #zope3-dev | 09:03 | |
*** admp has joined #zope3-dev | 09:05 | |
*** admp has quit IRC | 09:10 | |
*** yota has joined #zope3-dev | 09:10 | |
*** zagy has joined #zope3-dev | 09:12 | |
*** dobee_ has joined #zope3-dev | 09:17 | |
*** dobee_ is now known as dobee | 09:19 | |
*** flox has quit IRC | 09:20 | |
*** Theuni has joined #zope3-dev | 09:20 | |
*** batlogg has joined #zope3-dev | 09:54 | |
*** nathany has quit IRC | 10:22 | |
*** flox has joined #zope3-dev | 10:26 | |
*** ofer has joined #zope3-dev | 10:31 | |
*** philiKON has quit IRC | 10:34 | |
*** hazmat has quit IRC | 10:47 | |
*** MJ has quit IRC | 11:02 | |
*** wrobel has joined #zope3-dev | 11:04 | |
*** povbot has joined #zope3-dev | 11:09 | |
*** povbot` has quit IRC | 11:09 | |
*** flox_ has joined #zope3-dev | 11:32 | |
*** flox has quit IRC | 11:33 | |
*** flox_ is now known as flox | 11:33 | |
*** MJ has joined #zope3-dev | 11:38 | |
*** ofer has quit IRC | 11:41 | |
*** vlado has joined #zope3-dev | 11:53 | |
*** flox_ has joined #zope3-dev | 12:08 | |
*** flox has quit IRC | 12:09 | |
*** flox_ is now known as flox | 12:09 | |
*** vlado has quit IRC | 12:15 | |
*** tonico has joined #zope3-dev | 12:20 | |
*** efge has joined #zope3-dev | 12:45 | |
*** regebro has joined #zope3-dev | 12:48 | |
*** mgedmin has joined #zope3-dev | 12:52 | |
*** vinsci has quit IRC | 13:01 | |
*** efge has quit IRC | 13:08 | |
*** SteveA has joined #zope3-dev | 13:10 | |
*** vlado has joined #zope3-dev | 13:12 | |
*** roym has joined #zope3-dev | 13:21 | |
*** jhauser has joined #zope3-dev | 13:29 | |
*** flox has quit IRC | 13:31 | |
*** flox_ has joined #zope3-dev | 13:31 | |
*** flox_ is now known as flox | 13:32 | |
*** jinty has joined #zope3-dev | 13:37 | |
*** Aiste has quit IRC | 13:45 | |
*** vlado has quit IRC | 13:47 | |
*** dunny has quit IRC | 13:59 | |
*** volvox has joined #zope3-dev | 14:02 | |
*** rocky has joined #zope3-dev | 14:04 | |
*** gintas has joined #zope3-dev | 14:04 | |
*** Kazade has joined #zope3-dev | 14:05 | |
*** ignas has joined #zope3-dev | 14:13 | |
*** rocky has quit IRC | 14:13 | |
*** rocky has joined #zope3-dev | 14:24 | |
*** benji has quit IRC | 14:24 | |
*** dobee has quit IRC | 14:25 | |
*** zbir has joined #zope3-dev | 14:33 | |
*** volvox has quit IRC | 14:37 | |
*** mexiKON has joined #zope3-dev | 14:40 | |
*** bradb has joined #zope3-dev | 14:45 | |
*** philiKON has quit IRC | 14:48 | |
*** baijum has joined #zope3-dev | 14:51 | |
*** dobee has joined #zope3-dev | 14:51 | |
*** Aiste has joined #zope3-dev | 14:54 | |
*** faassen has joined #zope3-dev | 15:02 | |
*** benji has joined #zope3-dev | 15:05 | |
*** bradb has quit IRC | 15:09 | |
baijum | hi all :) | 15:10 |
*** niemeyer has joined #zope3-dev | 15:12 | |
baijum | http://blogs.onenw.org/jon/archives/2006/07/22/plone-and-zope-security (interesting read) | 15:14 |
baijum | but it's not Zope 3, is it? | 15:16 |
*** rock1 has joined #zope3-dev | 15:20 | |
*** rocky has quit IRC | 15:20 | |
*** rock1 is now known as rocky | 15:20 | |
ktwilight | lack of confidence in zope3 you are :) | 15:22 |
*** hazmat has quit IRC | 15:26 | |
*** b_52Centos__ has quit IRC | 15:34 | |
*** flox has quit IRC | 15:36 | |
*** flox_ has joined #zope3-dev | 15:37 | |
*** flox_ is now known as flox | 15:37 | |
roym | hello folks - what would, if any, be the z3 equivalent of Message queues from the J2EE world (ie: JMS, MQ series, etc)? | 15:43 |
roym | (being that z3 "subscribers" execute synchronously). | 15:44 |
benji | roym: not being familiar with the J2EE Message queues, I'd need more information about how they act to help | 15:47 |
benji | what property of the Z3 event system are you looking to avoid? | 15:47 |
*** alga has joined #zope3-dev | 15:54 | |
*** dobee has quit IRC | 15:57 | |
roym | benji: message queues basically allow for asynchronous execution - I suppose one could execute the code in a thread - is that the recommended way to do this? | 16:02 |
roym | Also, there are usually higher level tools built in to monitor/manage queues. | 16:02 |
benji | I'm still not clear on what you're trying to do, but it sounds like you want zasync (or something like it) | 16:03 |
roym | ah - let me dig into zasync. | 16:03 |
*** pcardune has joined #zope3-dev | 16:05 | |
benji | roym: zasync may be Zope 2 only, I don't know if there's a Z3 version | 16:05 |
benji | Gary and I have talked a bit about doing something like zasync in Z3, but haven't had a nead yet | 16:06 |
*** jinty has quit IRC | 16:08 | |
*** rock1 has joined #zope3-dev | 16:14 | |
*** rocky has quit IRC | 16:14 | |
*** rock1 is now known as rocky | 16:14 | |
rocky | roym: there is no equivalent to the best of my knowledge | 16:16 |
benji | roym: I just talked to Gary, and by coincidence he started work on a Z3 version of zasync this weekend, but it'll probably be quite a while before it sees the light of day | 16:17 |
*** b_52Centos__ has joined #zope3-dev | 16:22 | |
*** b_52Centos__ is now known as b_52Centos | 16:23 | |
*** dobee has joined #zope3-dev | 16:24 | |
*** oferw has joined #zope3-dev | 16:24 | |
*** rock1 has joined #zope3-dev | 16:31 | |
*** rocky has quit IRC | 16:46 | |
roym | benji, rocky: is there a decent example that might serve for a simple starting point (ie: proper handling of threads in a z3 environment)? | 16:46 |
Theuni | threads? /me runs | 16:46 |
benji | roym: I think my advice would be "don't" :) | 16:46 |
benji | If you really need something like that, I'd have a seperate process that pulls things off a persistent queue and processes them | 16:47 |
benji | you can use ZEO so two processes (Z3 and your other thing) can both access the same ZODB | 16:47 |
roym | sometimes knowing what not to do is more valuable than knowing what to do - this seems like a good case in point. thanks! | 16:48 |
*** rocky has joined #zope3-dev | 16:53 | |
*** baijum has left #zope3-dev | 16:54 | |
*** rock1 has quit IRC | 17:08 | |
*** rock1 has joined #zope3-dev | 17:12 | |
*** oferw has quit IRC | 17:16 | |
*** baldtrol has joined #zope3-dev | 17:16 | |
*** batlogg has quit IRC | 17:16 | |
*** eins has quit IRC | 17:18 | |
baldtrol | hi all. i'm sure i've run into and solved this before, but i can't remember how now. :\ | 17:22 |
baldtrol | i have a btreecontainer that has some attributes. if i set up IReadContainer and then require permissions for the attributes, it works. but then i can't delete anything from the container, because I need IWriteContainer also, which conflicts with the require perms for hte attributes... | 17:23 |
Theuni | right. you'll either have to rearrange that in your own interfaces, or just specify the writable attributes by listing them | 17:24 |
baldtrol | hmm. like how? i'm confused. | 17:25 |
*** jinty has joined #zope3-dev | 17:25 | |
*** rocky has quit IRC | 17:27 | |
Theuni | humm? if you listed the attributes for a permission requiredment, do the same for the write-interface (except leaving out those already given away for read permissions) | 17:28 |
* Theuni wonders if he actually misses something ... | 17:28 | |
Theuni | wasn't there a difference between reading an attribute and writing it? | 17:29 |
baldtrol | hmm... yessir. i know you can set both of them, but usually i just set_schema. | 17:29 |
baldtrol | is set_schema and IWriteContainer the place where i'm seeing the conflict, do you think? | 17:29 |
*** rocky has joined #zope3-dev | 17:31 | |
Theuni | You mentioned a set of attributes on the read permission. That's maybe conflicting with the IWriteContainer? | 17:32 |
baldtrol | hmm. well, with just IReadContainer set, i can put my permissions on both the read and write of the attributes. and i can create content in the btree. but __delitem__ is forbidden. i assumed that was from the zcml permissions. but maybe it's from something else? | 17:34 |
Theuni | well, __delitem__ should belong to IWriteContainer, if I'm not mistaken | 17:35 |
Theuni | So why don't you just declare <require permission="your.writepermission" interface="zope.app.container.interfaces.IWriteContainer"/> ? | 17:35 |
*** rock1 has quit IRC | 17:37 | |
baldtrol | i did... but having permissions set on the attributes at the same time breaks things. argh to me! ;) | 17:45 |
*** SmokeyD has joined #zope3-dev | 17:48 | |
*** hdima has quit IRC | 17:56 | |
baldtrol | Theuni: turns out, i just needed to derive from IContainer. I had, for whatever reason, thought i should build my interfaces from Interface and set the zcml up as necessary. didn't realize i should/could be deriving from IContainer. my mistake. | 18:05 |
*** whit has joined #zope3-dev | 18:09 | |
*** zbir_ has joined #zope3-dev | 18:09 | |
*** ChanServ sets mode: +o srichter | 18:11 | |
*** zbir has quit IRC | 18:26 | |
*** rock1 has joined #zope3-dev | 18:27 | |
*** romanofski has quit IRC | 18:28 | |
*** rocky has quit IRC | 18:28 | |
*** rock1 is now known as rocky | 18:28 | |
*** zbir_ is now known as zbir | 18:46 | |
*** whit has quit IRC | 18:50 | |
*** whit has joined #zope3-dev | 18:51 | |
*** reco has joined #zope3-dev | 18:53 | |
*** Theuni has quit IRC | 19:06 | |
*** oferw has joined #zope3-dev | 19:07 | |
*** timte has joined #zope3-dev | 19:11 | |
*** baldtrol has left #zope3-dev | 19:11 | |
*** whit_ has joined #zope3-dev | 19:13 | |
*** whit has quit IRC | 19:14 | |
*** whit_ is now known as whit | 19:15 | |
*** MJ has quit IRC | 19:19 | |
*** alecm has joined #zope3-dev | 19:24 | |
*** oferw has quit IRC | 19:26 | |
*** Kazade has quit IRC | 19:33 | |
*** batlogg has joined #zope3-dev | 19:37 | |
timte | hmm, bin/runzope finds zope that belongs to python-zopeinterfaces that is installed as a dependency on twisted | 19:40 |
*** SmokeyD has left #zope3-dev | 19:44 | |
*** whit_ has joined #zope3-dev | 19:45 | |
*** whit has quit IRC | 19:55 | |
*** gabrielboys has quit IRC | 19:59 | |
*** jinty has quit IRC | 20:08 | |
*** RaFromBRC has joined #zope3-dev | 20:13 | |
*** ignas has quit IRC | 20:16 | |
*** flox has quit IRC | 20:19 | |
*** hazmat has joined #zope3-dev | 20:22 | |
*** ChanServ sets mode: +o hazmat | 20:22 | |
*** RaFromBRC has quit IRC | 20:23 | |
*** RaFromBRC has joined #zope3-dev | 20:23 | |
*** gintas has quit IRC | 20:32 | |
*** faassen has quit IRC | 20:42 | |
*** whit_ is now known as whit | 20:54 | |
*** dobee has quit IRC | 20:59 | |
*** pcardune has quit IRC | 21:01 | |
*** SteveA has quit IRC | 21:07 | |
*** MJ has joined #zope3-dev | 21:13 | |
*** SteveA has joined #zope3-dev | 21:18 | |
*** regebro has quit IRC | 21:21 | |
*** rock1 has joined #zope3-dev | 21:21 | |
*** b_52CEntos_ has joined #zope3-dev | 21:29 | |
*** rocky has quit IRC | 21:34 | |
*** dobee has joined #zope3-dev | 21:35 | |
*** gintas has joined #zope3-dev | 21:38 | |
*** b_52Centos has quit IRC | 21:46 | |
*** dobee has quit IRC | 21:48 | |
*** pcardune has joined #zope3-dev | 21:50 | |
whit | anyone having any issues with svn.zope.org? | 21:55 |
*** tonico has quit IRC | 21:57 | |
*** Theuni has joined #zope3-dev | 22:02 | |
*** SteveA has quit IRC | 22:05 | |
*** dobee has joined #zope3-dev | 22:08 | |
*** hazmat has quit IRC | 22:09 | |
*** rock1 has quit IRC | 22:14 | |
*** dobee has quit IRC | 22:21 | |
*** dunny has joined #zope3-dev | 22:22 | |
*** jhauser has quit IRC | 22:47 | |
*** dobee has joined #zope3-dev | 22:49 | |
*** vlado has joined #zope3-dev | 22:49 | |
*** RaFromBRC is now known as RaFromBRC|away | 23:05 | |
*** mgedmin has quit IRC | 23:05 | |
*** gintas has quit IRC | 23:12 | |
*** dobee has quit IRC | 23:17 | |
*** rocky has joined #zope3-dev | 23:21 | |
*** nathany has joined #zope3-dev | 23:22 | |
*** pcardune has quit IRC | 23:28 | |
*** SteveA has joined #zope3-dev | 23:30 | |
*** dobee has joined #zope3-dev | 23:31 | |
*** timte has quit IRC | 23:34 | |
*** Theuni has quit IRC | 23:36 | |
*** rock1 has joined #zope3-dev | 23:39 | |
*** ignas has joined #zope3-dev | 23:49 | |
*** Bernulf has joined #zope3-dev | 23:50 | |
*** rocky has quit IRC | 23:51 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!