*** aclark is now known as aclark|away | 00:01 | |
*** tarek has quit IRC | 00:04 | |
*** natea__ has quit IRC | 00:05 | |
*** tarek has joined #zope3-dev | 00:05 | |
*** theuni has quit IRC | 00:05 | |
*** flox has joined #zope3-dev | 00:08 | |
*** philiKON has quit IRC | 00:14 | |
*** rcrafton has left #zope3-dev | 00:14 | |
*** redir has quit IRC | 00:18 | |
*** sm has joined #zope3-dev | 00:24 | |
*** whit has quit IRC | 00:28 | |
*** flox has quit IRC | 00:28 | |
*** flox has joined #zope3-dev | 00:30 | |
*** jsadjohnson has left #zope3-dev | 00:32 | |
*** norro has quit IRC | 00:41 | |
*** regebro has quit IRC | 00:45 | |
*** elro has joined #zope3-dev | 00:48 | |
*** philiKON has joined #zope3-dev | 00:56 | |
*** vimes656_ has quit IRC | 00:56 | |
*** nathany has joined #zope3-dev | 01:00 | |
*** vimes656 has joined #zope3-dev | 01:01 | |
*** reco has quit IRC | 01:06 | |
*** lucielejard has quit IRC | 01:07 | |
*** reco has joined #zope3-dev | 01:10 | |
*** timte has quit IRC | 01:14 | |
*** tarek has quit IRC | 01:16 | |
*** philiKON_ has joined #zope3-dev | 01:16 | |
*** malthe is now known as malthe|Zzz | 01:19 | |
*** vimes656 has quit IRC | 01:23 | |
*** aclark|away is now known as aclark | 01:24 | |
*** salfield has joined #zope3-dev | 01:25 | |
*** gstratton has joined #zope3-dev | 01:27 | |
*** djohnson_ has joined #zope3-dev | 01:33 | |
*** philiKON has quit IRC | 01:34 | |
*** philiKON has joined #zope3-dev | 01:37 | |
*** sm has quit IRC | 01:40 | |
*** djohnson_ has quit IRC | 01:41 | |
*** J1m has quit IRC | 01:42 | |
*** jamur2 has quit IRC | 01:48 | |
*** philiKON_ has quit IRC | 01:49 | |
*** aaronv has joined #zope3-dev | 01:50 | |
*** aaronv has quit IRC | 01:52 | |
*** aaronv has joined #zope3-dev | 01:54 | |
*** flox has left #zope3-dev | 01:59 | |
*** jpcw2002 has quit IRC | 02:08 | |
*** srichter has quit IRC | 02:13 | |
*** MrTopf has quit IRC | 02:16 | |
*** rmarianski has quit IRC | 02:23 | |
*** lurkymclurkleton has quit IRC | 02:36 | |
*** whit has joined #zope3-dev | 02:41 | |
*** srichter has joined #zope3-dev | 02:47 | |
*** nathany has quit IRC | 02:48 | |
*** whit has quit IRC | 02:49 | |
*** srichter has quit IRC | 02:53 | |
*** srichter has joined #zope3-dev | 02:54 | |
*** philiKON has quit IRC | 02:55 | |
*** elro has quit IRC | 02:56 | |
*** quodt has quit IRC | 03:03 | |
*** aaronv has quit IRC | 03:11 | |
*** RaFromBRC|away is now known as RaFromBRC | 03:16 | |
*** alecm is now known as alecm|away | 03:21 | |
*** sm has joined #zope3-dev | 03:25 | |
*** sm_ has joined #zope3-dev | 03:25 | |
*** srichter has quit IRC | 03:26 | |
*** dbfrombrc has quit IRC | 03:26 | |
*** b52laptop has quit IRC | 03:31 | |
*** sm has quit IRC | 03:42 | |
*** lurkymclurkleton has joined #zope3-dev | 04:19 | |
*** RaFromBRC has quit IRC | 05:05 | |
*** redir has joined #zope3-dev | 05:07 | |
*** sm_ is now known as sm | 05:18 | |
*** benji has quit IRC | 05:23 | |
*** aclark is now known as aclark|away | 05:27 | |
*** philiKON has joined #zope3-dev | 05:33 | |
*** philiKON has quit IRC | 05:38 | |
*** philiKON has joined #zope3-dev | 05:38 | |
*** projekt01 has joined #zope3-dev | 05:43 | |
*** alecm|away has quit IRC | 05:50 | |
*** lurkymclurkleton has quit IRC | 05:52 | |
*** redir has quit IRC | 05:56 | |
*** sm has quit IRC | 06:03 | |
*** tdoggette_ has joined #zope3-dev | 06:06 | |
*** tdoggette has quit IRC | 06:07 | |
*** srichter has joined #zope3-dev | 06:13 | |
*** ChanServ sets mode: +o srichter | 06:25 | |
*** reco has quit IRC | 06:29 | |
*** fairwinds has quit IRC | 06:33 | |
*** pcardune has joined #zope3-dev | 06:48 | |
*** binseer has joined #zope3-dev | 07:00 | |
*** philiKON has quit IRC | 07:41 | |
*** philiKON has joined #zope3-dev | 07:42 | |
*** fcorrea has quit IRC | 07:49 | |
*** jukart has joined #zope3-dev | 07:50 | |
*** fcorrea has joined #zope3-dev | 07:59 | |
*** tdoggette_ has quit IRC | 08:12 | |
*** afd_ has joined #zope3-dev | 08:16 | |
*** tdoggette has joined #zope3-dev | 08:18 | |
*** jukart has quit IRC | 08:25 | |
*** projekt01 has quit IRC | 08:26 | |
*** theuni has joined #zope3-dev | 08:45 | |
*** jukart has joined #zope3-dev | 08:46 | |
*** BjornT has quit IRC | 08:54 | |
*** zagy_ has joined #zope3-dev | 08:56 | |
*** jayaraj has joined #zope3-dev | 08:58 | |
*** zagy has quit IRC | 08:58 | |
*** BjornT has joined #zope3-dev | 09:18 | |
*** timte has joined #zope3-dev | 09:19 | |
*** sm has joined #zope3-dev | 09:19 | |
*** Aiste has joined #zope3-dev | 09:25 | |
*** romanofski has joined #zope3-dev | 09:27 | |
*** sm has quit IRC | 09:43 | |
*** Aiste has quit IRC | 09:53 | |
*** dobee has joined #zope3-dev | 09:57 | |
*** jpcw2002 has joined #zope3-dev | 10:11 | |
*** flox has joined #zope3-dev | 10:12 | |
*** natea_ has quit IRC | 10:13 | |
*** flox has quit IRC | 10:14 | |
*** flox has joined #zope3-dev | 10:17 | |
*** pcardune_ has joined #zope3-dev | 10:25 | |
*** pcardune__ has joined #zope3-dev | 10:29 | |
*** tarek has joined #zope3-dev | 10:29 | |
*** malthe|Zzz is now known as malthe | 10:30 | |
*** pcardune has quit IRC | 10:30 | |
*** agroszer has joined #zope3-dev | 10:31 | |
*** pcardune_ has quit IRC | 10:33 | |
*** quodt has joined #zope3-dev | 10:38 | |
*** ccomb2 is now known as ccomb_sa | 10:40 | |
*** malthe has quit IRC | 10:47 | |
*** gstratton has quit IRC | 10:56 | |
*** pcardune__ has quit IRC | 10:58 | |
*** MJ has joined #zope3-dev | 11:27 | |
*** gstratton has joined #zope3-dev | 11:28 | |
*** maurits has joined #zope3-dev | 11:32 | |
*** malthe has joined #zope3-dev | 11:33 | |
*** maurits has quit IRC | 11:36 | |
*** dunny has quit IRC | 11:39 | |
*** maurits has joined #zope3-dev | 11:39 | |
*** MJ has quit IRC | 11:44 | |
*** pcardune has joined #zope3-dev | 11:46 | |
*** charith_para has joined #zope3-dev | 11:49 | |
*** vimes656 has joined #zope3-dev | 11:52 | |
*** dunny has joined #zope3-dev | 12:10 | |
*** jsadjohnson has joined #zope3-dev | 12:12 | |
*** regebro has joined #zope3-dev | 12:15 | |
*** mkerrin has joined #zope3-dev | 12:17 | |
*** MJ has joined #zope3-dev | 12:23 | |
*** elro has joined #zope3-dev | 12:32 | |
ccomb_sa | hi, where is the "pagelet" content provider registered ? Should I register it myself ? | 12:41 |
---|---|---|
*** markusleist has joined #zope3-dev | 12:42 | |
*** b52laptop has joined #zope3-dev | 12:44 | |
*** projekt01 has joined #zope3-dev | 12:51 | |
*** ignas has joined #zope3-dev | 12:59 | |
*** vimes656 has quit IRC | 13:14 | |
*** vimes656 has joined #zope3-dev | 13:14 | |
*** pyqwer has joined #zope3-dev | 13:23 | |
*** ktwilight_ has joined #zope3-dev | 13:30 | |
*** ktwilight has quit IRC | 13:43 | |
*** MJ has quit IRC | 13:49 | |
*** pcardune has quit IRC | 13:55 | |
*** dunny has quit IRC | 13:56 | |
*** fairwinds has joined #zope3-dev | 13:57 | |
*** b52laptop has quit IRC | 13:57 | |
*** rocky has joined #zope3-dev | 13:58 | |
*** kursor has joined #zope3-dev | 14:19 | |
*** kursor has quit IRC | 14:19 | |
*** kursor has joined #zope3-dev | 14:20 | |
*** charith_para has quit IRC | 14:20 | |
*** flox has quit IRC | 14:39 | |
*** benji has joined #zope3-dev | 14:39 | |
*** elro has quit IRC | 14:44 | |
*** mgedmin has joined #zope3-dev | 14:50 | |
*** menesis has joined #zope3-dev | 14:54 | |
*** sunew has joined #zope3-dev | 14:58 | |
*** andres has quit IRC | 14:58 | |
*** charith_para has joined #zope3-dev | 15:06 | |
*** flox has joined #zope3-dev | 15:20 | |
*** harobed has joined #zope3-dev | 15:21 | |
*** philiKON has quit IRC | 15:36 | |
*** salfield has quit IRC | 15:44 | |
*** sp0cksbeard has joined #zope3-dev | 15:50 | |
*** philiKON has joined #zope3-dev | 15:58 | |
*** jamur2 has joined #zope3-dev | 15:59 | |
*** fcorrea has quit IRC | 16:01 | |
*** lurkymclurkleton has joined #zope3-dev | 16:04 | |
*** aaronv has joined #zope3-dev | 16:06 | |
*** lucielejard has joined #zope3-dev | 16:11 | |
*** rocky has quit IRC | 16:12 | |
*** rocky has joined #zope3-dev | 16:13 | |
*** rcrafton has joined #zope3-dev | 16:15 | |
*** philiKON has quit IRC | 16:17 | |
*** charith_para has quit IRC | 16:30 | |
*** goschtl has joined #zope3-dev | 16:31 | |
*** andres has joined #zope3-dev | 16:38 | |
*** srichter has quit IRC | 16:38 | |
*** gimni has joined #zope3-dev | 16:46 | |
*** gstratton has quit IRC | 16:46 | |
*** aclark|away is now known as aclark | 16:50 | |
*** ccomb has quit IRC | 16:51 | |
*** fcorrea has joined #zope3-dev | 16:52 | |
*** ccomb has joined #zope3-dev | 16:52 | |
*** sm has joined #zope3-dev | 17:00 | |
*** srichter has joined #zope3-dev | 17:00 | |
*** elro has joined #zope3-dev | 17:08 | |
*** hazmat has quit IRC | 17:15 | |
*** b52laptop has joined #zope3-dev | 17:19 | |
*** jayaraj has quit IRC | 17:25 | |
*** binseer has quit IRC | 17:25 | |
*** romanofski has quit IRC | 17:27 | |
*** theuni1 has joined #zope3-dev | 17:28 | |
*** theuni has quit IRC | 17:28 | |
*** theuni1 is now known as theuni | 17:29 | |
*** alecm has joined #zope3-dev | 17:29 | |
*** markusleist has quit IRC | 17:29 | |
*** goschtl has quit IRC | 17:32 | |
*** srichter has quit IRC | 17:34 | |
*** srichter has joined #zope3-dev | 17:34 | |
*** charith_para has joined #zope3-dev | 17:39 | |
*** dobee has quit IRC | 17:44 | |
*** salfield has joined #zope3-dev | 17:49 | |
*** kursor has quit IRC | 17:50 | |
*** markusleist has joined #zope3-dev | 17:54 | |
*** srichter has quit IRC | 17:56 | |
*** srichter has joined #zope3-dev | 17:57 | |
*** fcorrea has quit IRC | 18:01 | |
*** fcorrea has joined #zope3-dev | 18:03 | |
*** menesis has quit IRC | 18:04 | |
*** MacYET has joined #zope3-dev | 18:11 | |
*** J1m has joined #zope3-dev | 18:13 | |
*** whit has joined #zope3-dev | 18:15 | |
*** projekt01 has quit IRC | 18:17 | |
*** natea_ has joined #zope3-dev | 18:17 | |
*** goschtl has joined #zope3-dev | 18:25 | |
*** alecm_ has joined #zope3-dev | 18:31 | |
*** alecm has quit IRC | 18:31 | |
*** nathany has joined #zope3-dev | 18:31 | |
*** goschtl has quit IRC | 18:36 | |
*** goschtl has joined #zope3-dev | 18:37 | |
*** goschtl has quit IRC | 18:38 | |
*** goschtl has joined #zope3-dev | 18:40 | |
*** goschtl has quit IRC | 18:43 | |
*** dobee has joined #zope3-dev | 18:44 | |
*** dobee has joined #zope3-dev | 18:45 | |
*** alecm_ has quit IRC | 18:46 | |
*** charith_para has quit IRC | 18:59 | |
*** __gotcha has joined #zope3-dev | 19:03 | |
*** gimni has quit IRC | 19:17 | |
*** elro has quit IRC | 19:23 | |
*** mkerrin has quit IRC | 19:24 | |
*** norro has joined #zope3-dev | 19:36 | |
*** quodt has quit IRC | 19:45 | |
*** rocky has quit IRC | 19:48 | |
*** pcardune has joined #zope3-dev | 19:54 | |
*** malthe has quit IRC | 20:01 | |
arika | anyone around here? | 20:02 |
afd_ | arika: question? | 20:02 |
arika | yeah... little one... | 20:02 |
arika | I'm coding a little cms and well I've got a CMS object that now is a cool container... | 20:03 |
*** jukart has quit IRC | 20:03 | |
arika | if I template it I can make the template be only the 'body' layer, isn't it? | 20:03 |
arika | I've read a little bit in philip's book about it | 20:03 |
arika | but can I make templates only to present the region every object is in? | 20:03 |
afd_ | arika: you can either use the standard METAL macros mechanism (which is integrated in the templating engine), or use z3c.pagelet, which is an extension product and a bit more advanced | 20:04 |
arika | hm... | 20:04 |
afd_ | basically, with macros, you create the general page layout | 20:04 |
arika | METAL? you mean to the TAL inside a ZPT, isn't it? | 20:04 |
afd_ | yes | 20:04 |
arika | yeah, that's what I want :) | 20:05 |
arika | for people to do skings | 20:05 |
arika | just do a layout skin | 20:05 |
arika | and then if so modify every layer with a new template... | 20:05 |
*** reco has joined #zope3-dev | 20:05 | |
arika | or whatever... | 20:05 |
arika | lol | 20:05 |
arika | for example... | 20:05 |
afd_ | and in the template you say that you use the "page" macro from that general template, and fill the "body" slot | 20:05 |
arika | the front page of the CMS (the CMS object really) random things and so.. | 20:06 |
arika | or a page that you specify as default... | 20:06 |
afd_ | to override templates per layer, you can use z3c.template | 20:06 |
afd_ | also, you should look at viewlets | 20:06 |
arika | ahh | 20:06 |
arika | so configuring browser pages I can say 'it goes to layer body' | 20:06 |
arika | isn't it? | 20:06 |
arika | afd_: I'm trying to make a website without too much time, but I'll look all this features... :) | 20:07 |
*** harobed has quit IRC | 20:07 | |
arika | I'm getting to understand it, but I'm just a novice, lol | 20:07 |
afd_ | zope layers have nothing to do with page layout | 20:07 |
afd_ | arika: then you should follow the recipes in philip's book | 20:08 |
*** pcardune has quit IRC | 20:08 | |
arika | yeah yeah, I'm jumping from a chapter to another to make it work lol | 20:08 |
arika | For example, for the CMS container I jumped a moment to the containers chapter | 20:08 |
arika | then I said "it has to be zope.app.container.btree.BTreeContainer" | 20:08 |
arika | and so :) | 20:08 |
afd_ | Might be relevant to you, perhaps a bit too advanced: http://play.pixelblaster.ro/blog/archive/2007/12/17/template-layout-options-when-developing-with-zope-3?searchterm=template | 20:09 |
arika | that book it's really interesting, gonna buy it, lol | 20:09 |
arika | but afd_ | 20:09 |
arika | as I've seen: | 20:09 |
arika | browser:page has a layer option | 20:09 |
arika | and just putting there, i.e.: body | 20:09 |
arika | can make the template I give fit into that layer | 20:09 |
arika | so I won't punt <!doctype... | 20:10 |
arika | (and so) | 20:10 |
afd_ | arika: zope layers don't work like that | 20:10 |
*** dbfrombrc has joined #zope3-dev | 20:11 | |
arika | afd_: surprise me :) | 20:11 |
*** RaFromBRC has joined #zope3-dev | 20:11 | |
afd_ | a short description: layers are interfaces. Skins are composed from layers (through class inheritance from layers). You can change skins on the fly, in the browser. Skins provide you with interaction in the browser: pages, forms, views, etc, they're all skins | 20:12 |
afd_ | By registering a page on a layer, you make it available only in that layer | 20:12 |
*** MrTopf has joined #zope3-dev | 20:12 | |
afd_ | You can also register, per layer: content providers, viewlets, views, browser resources | 20:12 |
arika | aha | 20:13 |
arika | ahhh | 20:13 |
arika | that's the hieararchy of things taht fit on a layer... | 20:13 |
afd_ | yes | 20:13 |
afd_ | fit is a bad word | 20:13 |
arika | but the main template of the site is a layout full of all layers that have to be filled with things... | 20:13 |
afd_ | no | 20:13 |
arika | hm... | 20:13 |
afd_ | the main template is usually a template that defines a macro | 20:14 |
afd_ | "page" | 20:14 |
afd_ | this macro has a bunch of slots | 20:14 |
*** timte has quit IRC | 20:14 | |
arika | that's the macro name for the layout? | 20:14 |
afd_ | "head", "body", "footer" | 20:14 |
arika | ahhh yeah | 20:14 |
afd_ | this is a convention | 20:14 |
afd_ | macros and slots can be named in any way | 20:14 |
arika | Philip gives a list of slots and so | 20:14 |
arika | aha | 20:14 |
arika | the slots that ZMI uses and so.. | 20:14 |
arika | (I mean) | 20:15 |
*** fairwinds has quit IRC | 20:15 | |
afd_ | easiest is to create a new skin | 20:15 |
afd_ | that is based on the basicskin | 20:15 |
afd_ | this way you don't have to mess with the rotterdam skin | 20:15 |
arika | aha | 20:15 |
*** hexsprite has joined #zope3-dev | 20:15 | |
afd_ | and you can define your page structure exactly how you want it | 20:15 |
arika | the rotterdam sking is the one in Zope :) | 20:15 |
arika | yeah | 20:16 |
arika | so I simply create all the layout | 20:16 |
afd_ | ZMI = rotterdam skin | 20:16 |
afd_ | yes | 20:16 |
arika | and using TAL I can put ZMI content if so where I want, isn't it? | 20:16 |
afd_ | you create the layout you want, and you fill it in any way you see fit | 20:16 |
arika | cool! | 20:16 |
arika | trust me, yesterday I told to a friend "PHP stinks" lol | 20:16 |
arika | hahahahahaha | 20:16 |
arika | this Zope is really powerful :) | 20:16 |
arika | It's surprising me every day I try a thing work lol | 20:17 |
arika | hahahahah :) | 20:17 |
arika | (and of course I fail because being a completely novice person on it lol) | 20:17 |
afd_ | hopefully you'll be just as optimistic in a week :) the Zope usually has a long learning curve | 20:17 |
arika | yeah I heard | 20:17 |
arika | but I'm using philip book and the APIDOC | 20:17 |
afd_ | especially if you don't have someone to help you | 20:17 |
arika | so I understad what really the ZCML does | 20:17 |
arika | afd_: don't worry, I usually learn on my own lol | 20:18 |
afd_ | ok | 20:18 |
arika | sometimes I ask, but I usually do it lol | 20:18 |
arika | but I can ask another thing... | 20:18 |
arika | if I create Skins in my project directory... | 20:18 |
arika | will every content share the same skin? | 20:18 |
arika | or I have to set up the skin on every content piece? | 20:18 |
afd_ | content doesn't have a skin | 20:18 |
arika | well | 20:18 |
arika | what I mean... | 20:19 |
afd_ | pages that show you the content are registered for a skin | 20:19 |
arika | ahhh | 20:19 |
afd_ | or more precisely, for a layer | 20:19 |
arika | can I let also ppl selet an skin ^^? | 20:19 |
arika | ahhh | 20:19 |
afd_ | yes | 20:19 |
arika | yeah | 20:19 |
afd_ | you can change it through code | 20:19 |
arika | so... | 20:19 |
arika | yeah | 20:19 |
arika | having a return skin_path or whatever | 20:19 |
afd_ | or just insert ++skin++rotterdam in the url, at the beginning | 20:19 |
arika | and using ZCML to get it? | 20:19 |
arika | yeah | 20:19 |
afd_ | arika: don't skip on the book | 20:20 |
arika | yeah yeah | 20:20 |
arika | sure.... | 20:20 |
afd_ | creating a new skin is an advanced topic | 20:20 |
arika | well | 20:20 |
arika | I created an skin already | 20:20 |
afd_ | make sure you get pages, forms and content first | 20:20 |
arika | it's about changing everything to TAL, no? | 20:20 |
arika | yeah yeah | 20:20 |
afd_ | more or less | 20:20 |
arika | so the skin is the lastest part, isn't it? | 20:20 |
arika | :) | 20:20 |
afd_ | usually, yes | 20:21 |
afd_ | although for a regular site, probably the biggest part as well | 20:21 |
arika | I've seen clues around there... | 20:21 |
arika | if I make via ZCML a view page on it | 20:21 |
arika | and I make it default view | 20:21 |
arika | then users will se something instead a directory listing lol | 20:21 |
*** sunew has quit IRC | 20:21 | |
afd_ | there are no directory listings in zope | 20:22 |
afd_ | zmi has the @@contents.html page | 20:22 |
afd_ | also, index.html is already registered as default page | 20:22 |
afd_ | for all the content | 20:22 |
arika | aha | 20:22 |
afd_ | so you just need to create pages named index.html | 20:22 |
arika | yeah, true :) | 20:22 |
arika | and if I want to make it be /@@view is when I use the defaultView directive | 20:23 |
arika | true... | 20:23 |
afd_ | yes | 20:23 |
arika | cool... | 20:23 |
arika | I've to see how directories contain things | 20:24 |
arika | and how to access to those things... and so... | 20:24 |
arika | but from now I'll create a content thing... | 20:24 |
arika | something like a class Document :) | 20:24 |
afd_ | yes, that's good | 20:24 |
afd_ | then you can create a view page for it | 20:25 |
arika | You say things go more better when you've been 1 week failing, isn't it? | 20:25 |
arika | lol | 20:25 |
afd_ | with a very basic template | 20:25 |
arika | yeah | 20:25 |
afd_ | and then you can make it use the page macro or whatever its name is, from standard_macros | 20:25 |
arika | but can I put content that I configure to be 'default page'? | 20:25 |
arika | :) | 20:25 |
arika | (giving an url to the variable, of course or something like that) | 20:25 |
afd_ | I can't understand what you mean | 20:26 |
arika | that's done coding, isn'4~t it? | 20:26 |
arika | yeah | 20:26 |
arika | in my CMS configuration | 20:26 |
arika | (like an edit page) | 20:26 |
arika | if I put an url that is in the hierarchy of that object | 20:26 |
arika | can I make coding to show the content of what I say ? | 20:26 |
arika | like a 'Default page to show" textbox | 20:27 |
arika | :) | 20:27 |
arika | that's done coding, isn't it? | 20:27 |
afd_ | you can insert other pages into your page | 20:27 |
arika | huh... cool | 20:27 |
arika | lol | 20:27 |
arika | someone thought that before hahahahahahaha :) | 20:27 |
afd_ | <div tal:content="structure myobj/@@my_other_view" /> | 20:27 |
arika | ahhh | 20:28 |
afd_ | this means that my_other_view is a view (page) that is registered for the object myobj | 20:28 |
arika | and myobject is a object in the fs beginning on the hierarchy of the current object.... | 20:28 |
arika | yeah yeah | 20:28 |
arika | cool | 20:28 |
arika | lol | 20:28 |
afd_ | it is registered usually for the class of myobj, or for one of the interfaces that myobj implements | 20:28 |
arika | afd_: I'm happy because I'm understanding how it works... :) | 20:29 |
afd_ | you usually register it on interfaces | 20:29 |
arika | yeah | 20:29 |
arika | as I've seen render of pages are done using Python... | 20:29 |
arika | like the first example Philip gives | 20:29 |
afd_ | yes | 20:30 |
arika | and also | 20:30 |
arika | you can specify a template | 20:30 |
afd_ | it is important to know that you can have pages do something | 20:30 |
arika | that would be rendered | 20:30 |
arika | yeah | 20:30 |
afd_ | like return a string that will be shown | 20:30 |
arika | yeah yeah | 20:30 |
afd_ | or do something in with the GET or POST parameters | 20:30 |
arika | aha | 20:30 |
arika | down to the level you want, really | 20:30 |
arika | interesting... | 20:30 |
arika | also as I've seen there's a form library to interact with the user and so | 20:31 |
arika | amazing... | 20:31 |
afd_ | there are 3 form libraries | 20:31 |
afd_ | zope.app.form, zope.formlib, z3c.form | 20:31 |
arika | aha | 20:31 |
afd_ | typically zope.formlib + zope.app.form is used | 20:32 |
arika | as I've seen things are changing... deprecating things and so... | 20:32 |
afd_ | at first you learn zope.app.form, then learn how to use formlib | 20:32 |
afd_ | arika: you shouldn't be concerned about that | 20:32 |
arika | aha | 20:32 |
arika | but what if they deprecate something and my app stops working when I upgrade zope? lol | 20:33 |
arika | hahaha | 20:33 |
arika | :) | 20:33 |
afd_ | nope | 20:33 |
arika | do they maintain backwards compatibility with everything? | 20:33 |
afd_ | judging from history, you'll have about 3 years or more time to change your code | 20:33 |
afd_ | once something is deprecated | 20:33 |
arika | lol | 20:34 |
arika | slowly development, isn't it? hahahahaha :) | 20:34 |
afd_ | zope is component based, most things are replaceble, you can see a lot of extension components on svn.zope.org | 20:34 |
arika | yeah | 20:35 |
afd_ | for example z3c.authentication replaces the authentication from zope | 20:35 |
afd_ | z3c.form replaces the forms framework | 20:35 |
arika | I know there are lots of things done | 20:35 |
afd_ | and so on | 20:35 |
arika | btu I would like to do it on my own of a beter comprehension of the system :) | 20:35 |
arika | *but | 20:35 |
arika | sounds stupid and contrary of what zope means, but I've explained why :) | 20:35 |
afd_ | to improve the wheel you first need to understand the wheel | 20:36 |
arika | that's the thing :) | 20:36 |
arika | when I do some things more and completely understand Philip's book | 20:37 |
arika | I'll taje a look on the SVN code | 20:37 |
arika | :) | 20:37 |
*** whit is now known as whit|lunch | 20:37 | |
arika | afd_: I was one day trying CMSs based on PHP | 20:38 |
arika | but no one had what I needed, only little parts of it | 20:39 |
*** dbfrombrc has quit IRC | 20:39 | |
arika | and well I saw Plone and I loved it lol and I read about Zope and I began to investigate hahahaha | 20:39 |
arika | It's a really interesting thing, this Zope3... | 20:39 |
arika | but as you say the learning curve is sooooo long.... | 20:40 |
arika | :) | 20:40 |
afd_ | I won't say very very long | 20:40 |
arika | well... it depends how much you effort... | 20:40 |
afd_ | but for sure a month to be able to understand and it discover how things work on your own | 20:40 |
arika | I've been a week having Python tracebacks lol | 20:41 |
arika | and finally something worked so I'm happy hahahahah :) | 20:41 |
afd_ | next step, understand the tracebacks | 20:41 |
afd_ | :) | 20:41 |
arika | yeah... not costumed to them ^^ | 20:41 |
arika | I'm not a Python programmer... I learnt it in order to do it around a week ago lol | 20:42 |
arika | my problem is about forgetting the ':' after classes and functions... (costumed by C++ to finish every bracket like this ')' lol) | 20:42 |
afd_ | #python can also help you with that, especially if you provide tracebacks on pastebins | 20:43 |
arika | nah, don't worry :) | 20:43 |
arika | I've understood then completely :) I told you that my problem was not that | 20:44 |
afd_ | ok | 20:44 |
*** MiUlEr_ has joined #zope3-dev | 20:44 | |
*** MacYET has left #zope3-dev | 20:44 | |
*** Locklainn has joined #zope3-dev | 20:45 | |
Locklainn | hi all, I'm wondering if anybody knows if there is a way to run only certain tests for zc.recipe.testrunner | 20:45 |
arika | if I create a dummy content object and all my CMS contents inherit from this dummy object | 20:45 |
arika | and I constraint every CMS container to that dummy container | 20:46 |
afd_ | arika: if you need a CMS for a real project, Plone can probably help you finish a lot faster | 20:46 |
arika | adding things from outside won't be allowed, isn't it? | 20:46 |
arika | afd_: not really :) | 20:46 |
arika | got a bet with my friend hahahahhahahaha :) | 20:46 |
afd_ | arika: it's complicated, depends on how deep you want to go | 20:47 |
afd_ | usually you create a new type of site | 20:47 |
arika | hm... plone would serve, of course :) | 20:48 |
afd_ | a folderish object | 20:48 |
afd_ | MySite, let's say | 20:48 |
arika | aha | 20:48 |
arika | yeah | 20:48 |
arika | that's what I've done :) | 20:48 |
afd_ | you'll add one of this in zope and this is the object you'll publish on the web | 20:48 |
arika | yeah | 20:48 |
afd_ | and then you can restrict what types of objects you can add in this folder | 20:48 |
arika | sure | 20:49 |
arika | that's what I've thought | 20:49 |
arika | but instead of naming every object to the restriction | 20:49 |
arika | I can create an IContent | 20:49 |
*** MiUlEr_ has quit IRC | 20:49 | |
arika | and then every content inherits from IContent | 20:49 |
afd_ | yes | 20:49 |
arika | so they will be allowed but no other | 20:49 |
*** reco has quit IRC | 20:49 | |
arika | so everyone that want's to make a content thing | 20:49 |
afd_ | correct | 20:49 |
arika | creates a new inherited IContent | 20:49 |
arika | and so | 20:49 |
arika | I was speculating with POO theory | 20:50 |
arika | OOP I mean | 20:50 |
*** reco has joined #zope3-dev | 20:50 | |
arika | and well having a MySiteFolder that has the same constraints would work | 20:50 |
afd_ | yes | 20:50 |
arika | cool | 20:50 |
arika | :) | 20:50 |
arika | afd_: if I finish a site I'll tell you the URL hahahaha :) | 20:51 |
afd_ | you'll have to share the beer when you win that contest :) | 20:51 |
arika | where do you live? hahahaha | 20:52 |
arika | far away probably :) | 20:52 |
afd_ | you got it | 20:52 |
arika | my friend ruined doing this Zope thing so he proposed a bet with me lol | 20:52 |
arika | because I was thinking of making a website and you know | 20:52 |
afd_ | "ruined" = ? | 20:52 |
arika | yeah | 20:52 |
arika | couldn't do it | 20:52 |
arika | lol | 20:52 |
afd_ | I see | 20:52 |
arika | I mean he simply abandoned it | 20:53 |
arika | :) | 20:53 |
arika | you know people... if they don't get results fast they abandon things | 20:53 |
*** jukart has joined #zope3-dev | 20:53 | |
afd_ | how long did he try? | 20:53 |
arika | so I said 'won't be so difficult, I think...' | 20:53 |
arika | afd_: a month I think | 20:53 |
afd_ | :) | 20:54 |
arika | if you're not constant in what you do you won't get a thing I told him | 20:54 |
arika | but now I understand more better how it works it's more easy lol | 20:54 |
afd_ | my advice would be this: | 20:54 |
arika | that Philip's book it's really good... | 20:55 |
*** Locklainn has left #zope3-dev | 20:55 | |
arika | I'll buy it next month muahahahahaha | 20:55 |
arika | :) | 20:55 |
afd_ | learn how to create persistent content, learn how to create pages, then go the "php" way | 20:55 |
arika | php way? | 20:55 |
afd_ | if you don't have this as a solid base, you'll give up by the time you get to macros, form libraries, widgets, catalog and all the rest | 20:56 |
arika | well... the first task is easy... inheriting the IContained from IContained and the object from Persistent, that's what I saw reading between lines... | 20:56 |
arika | interface from IContained, I mean | 20:57 |
afd_ | the php way, I mean, just use the python language and the basic pages + template support to create your pages | 20:57 |
arika | yeah | 20:57 |
arika | :) | 20:57 |
afd_ | don't try to integrate with ZMI, browser menus, formlibs, and so on | 20:57 |
arika | yeah | 20:57 |
arika | whatever down to mysitefolder will fit the skin I do... | 20:57 |
arika | hahahahaha :) | 20:57 |
afd_ | btw, you should also look at Grok | 20:58 |
arika | then closing access to the ZMI and rewriting the url on Apache will work, isn't it? | 20:58 |
arika | yeah yeah | 20:58 |
afd_ | yes, it will work | 20:58 |
arika | that's a CMS for Zope3 | 20:58 |
afd_ | Grok is a framework on top of zope designed to ease development | 20:58 |
arika | yeah | 20:58 |
afd_ | it is not a CMS | 20:58 |
arika | but that's not the bet lol | 20:58 |
arika | he advised lol :) | 20:58 |
afd_ | just another web framework, like Django, or Pylons, or Turbogears | 20:58 |
arika | yeah | 20:58 |
arika | is django working on top of Zope? | 20:59 |
afd_ | no | 20:59 |
arika | ahh | 20:59 |
afd_ | you can use the Zope libraries in Django | 20:59 |
afd_ | but no | 20:59 |
arika | people told me that if I see Django I'll change hahaha :) | 20:59 |
afd_ | django is easier, I think | 20:59 |
arika | aha | 20:59 |
afd_ | to learn, at least | 20:59 |
arika | but my point of interest is Zope... | 20:59 |
arika | lol | 20:59 |
afd_ | each framework probably has its good/bad points | 21:00 |
arika | zope has what I need | 21:00 |
arika | a framework on object hierarchy :) | 21:00 |
arika | a filesystem or call it what you want :) | 21:00 |
afd_ | correct | 21:00 |
arika | that's what I need for my website ^^ | 21:01 |
arika | to be more precise... as I continue my reading Zope provides more things that the ones I would need :) | 21:02 |
*** pcardune has joined #zope3-dev | 21:02 | |
arika | It's simply difficult to get on it... | 21:02 |
afd_ | it's not difficult once you get past the initial stage | 21:02 |
*** fairwinds has joined #zope3-dev | 21:02 | |
arika | yeah, creating content that gets stored hahaha :) | 21:03 |
arika | one more question... | 21:03 |
afd_ | on the contrary, it's very easy to grasp and understand even its deeper guts | 21:03 |
arika | I'll read about it but wanted to know... | 21:03 |
arika | if for a view page on every content | 21:03 |
arika | I make, ie, a document.pt | 21:03 |
arika | when I change the skin to other then the document.pt will be taken by the skin's folder? | 21:04 |
afd_ | I'm not sure I understand | 21:04 |
*** andres has quit IRC | 21:04 | |
afd_ | you can think of skins as "constraints" you apply to pages | 21:05 |
afd_ | "this page is only available on this skin (layer)" | 21:05 |
afd_ | of course, skins and layers can inherit each other | 21:05 |
afd_ | you register pages for "context" interfaces | 21:05 |
afd_ | if you have a myfolder/@@index.html | 21:06 |
afd_ | the context for the index.html page is myfolder | 21:06 |
afd_ | and you register the page as <browser:page name="index.html" for=".interfaces.IMyFolder" ... | 21:06 |
afd_ | so this page will only be available for IMyFolder type of objects | 21:07 |
arika | hmm... | 21:07 |
afd_ | you can register, of course, pages with the same name for different type of objects | 21:07 |
arika | yeah | 21:07 |
arika | but I mean | 21:07 |
arika | in the browser directive | 21:07 |
arika | I put template="document.pt", for example | 21:07 |
arika | and I say it's viewed on layer body | 21:07 |
*** jukart has quit IRC | 21:07 | |
arika | ok | 21:08 |
arika | then... can every skin define a document.pt | 21:08 |
arika | just for its own ? | 21:08 |
afd_ | document.pt would be a template | 21:08 |
arika | hm... | 21:08 |
arika | yeah a template to present the view :) | 21:08 |
afd_ | maybe a view_document.html page | 21:08 |
afd_ | that uses the document.pt template | 21:08 |
afd_ | but yes, you can define this for skin | 21:08 |
arika | yeah | 21:08 |
arika | aha | 21:09 |
arika | so then when I change to that skin | 21:09 |
afd_ | but you don't really need to get into skins | 21:09 |
arika | for presentation pruposes it will use it's own document.pt? | 21:09 |
arika | aha | 21:09 |
afd_ | you can do things fine in the default skin | 21:09 |
arika | yeah | 21:09 |
arika | aha | 21:09 |
arika | cool | 21:09 |
afd_ | also, there's no "layer body" | 21:09 |
afd_ | I'm not sure how you got that | 21:10 |
arika | slot I would mean... | 21:10 |
arika | didn't read about it :) when I'll do that I'll be more precise hahahaha :) | 21:10 |
CSWookie | Heh. I've been trying to talk to you guys for like the past 5 minutes, and only just realized that I was in the #python channel and you were over here... | 21:10 |
*** lisppaste6 has quit IRC | 21:10 | |
*** lisppaste6 has joined #zope3-dev | 21:11 | |
arika | CSWookie: lol :) | 21:12 |
*** pyqwer has quit IRC | 21:15 | |
*** timte has joined #zope3-dev | 21:19 | |
*** timte has joined #zope3-dev | 21:20 | |
*** quodt has joined #zope3-dev | 21:20 | |
*** redir has joined #zope3-dev | 21:21 | |
*** maurits has quit IRC | 21:26 | |
*** norro has quit IRC | 21:26 | |
*** mgedmin has quit IRC | 21:27 | |
*** redir has quit IRC | 21:29 | |
*** faassen has joined #zope3-dev | 21:30 | |
*** pcardune has quit IRC | 21:31 | |
*** flox has quit IRC | 21:40 | |
*** sunew has joined #zope3-dev | 21:42 | |
*** ignas has quit IRC | 21:43 | |
arika | afd_: I've configured a ZCML without looking at the docs... cool hahaha :) | 21:46 |
arika | ZCML is important | 21:46 |
arika | lol | 21:46 |
*** sunew has quit IRC | 21:47 | |
afd_ | just consider it a necessary implementation detail | 21:47 |
afd_ | a way to be explicit about behaviour and configuration, but not flood the code with unnecessary details | 21:48 |
arika | yeah | 21:48 |
arika | now gonna see the views of my document ^^ | 21:48 |
arika | gonna follow that @@view @@edit scheme... like that @ symbol hahahaha :) | 21:49 |
*** theuni has quit IRC | 21:51 | |
*** elro has joined #zope3-dev | 21:51 | |
*** menesis has joined #zope3-dev | 21:53 | |
*** povbot has joined #zope3-dev | 21:57 | |
afd_ | the @@ is added automatically, or better, you can use the @@ to construct views | 22:03 |
*** malthe has joined #zope3-dev | 22:03 | |
afd_ | it's a way to make the url traversal have better performance | 22:03 |
afd_ | normall zope looks first for an object named edit.html in the folder, if it doesn't find it, it looks for a page named edit.html | 22:03 |
afd_ | if you put the eyes (@@) in front, then it's a view | 22:03 |
arika | ah cool | 22:06 |
arika | :) | 22:06 |
arika | so I'll use that @@ for every view lol | 22:07 |
arika | :) | 22:07 |
*** dunny has joined #zope3-dev | 22:07 | |
arika | I'm reading now about containers... | 22:07 |
arika | I've seen that doing __parent__ = None makes objects dissapear lol | 22:07 |
arika | hahahaha | 22:07 |
afd_ | gtg | 22:09 |
*** whit|lunch is now known as whit | 22:11 | |
arika | thanks afd_ | 22:14 |
arika | if I call to ViewTemplateFile | 22:14 |
arika | with no argumetns | 22:14 |
arika | would it generate | 22:16 |
arika | the one in the zcml? | 22:16 |
arika | lol | 22:16 |
*** agroszer has quit IRC | 22:28 | |
*** afd_ has quit IRC | 22:28 | |
*** hexsprite has quit IRC | 22:34 | |
*** timte has quit IRC | 22:41 | |
*** timte has joined #zope3-dev | 22:41 | |
*** hazmat has joined #zope3-dev | 22:47 | |
*** ChanServ sets mode: +o hazmat | 22:47 | |
*** sunew has joined #zope3-dev | 22:56 | |
*** hexsprite has joined #zope3-dev | 23:01 | |
*** regebro has quit IRC | 23:02 | |
*** MrTopf has quit IRC | 23:08 | |
*** RaFromBRC is now known as RaFromBRC|lunch | 23:15 | |
*** sunew has quit IRC | 23:18 | |
*** __gotcha has quit IRC | 23:20 | |
*** aaronv has quit IRC | 23:42 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!