IRC log of #zope3-dev for Thursday, 2008-07-17

*** aclark is now known as aclark|away00:01
*** tarek has quit IRC00:04
*** natea__ has quit IRC00:05
*** tarek has joined #zope3-dev00:05
*** theuni has quit IRC00:05
*** flox has joined #zope3-dev00:08
*** philiKON has quit IRC00:14
*** rcrafton has left #zope3-dev00:14
*** redir has quit IRC00:18
*** sm has joined #zope3-dev00:24
*** whit has quit IRC00:28
*** flox has quit IRC00:28
*** flox has joined #zope3-dev00:30
*** jsadjohnson has left #zope3-dev00:32
*** norro has quit IRC00:41
*** regebro has quit IRC00:45
*** elro has joined #zope3-dev00:48
*** philiKON has joined #zope3-dev00:56
*** vimes656_ has quit IRC00:56
*** nathany has joined #zope3-dev01:00
*** vimes656 has joined #zope3-dev01:01
*** reco has quit IRC01:06
*** lucielejard has quit IRC01:07
*** reco has joined #zope3-dev01:10
*** timte has quit IRC01:14
*** tarek has quit IRC01:16
*** philiKON_ has joined #zope3-dev01:16
*** malthe is now known as malthe|Zzz01:19
*** vimes656 has quit IRC01:23
*** aclark|away is now known as aclark01:24
*** salfield has joined #zope3-dev01:25
*** gstratton has joined #zope3-dev01:27
*** djohnson_ has joined #zope3-dev01:33
*** philiKON has quit IRC01:34
*** philiKON has joined #zope3-dev01:37
*** sm has quit IRC01:40
*** djohnson_ has quit IRC01:41
*** J1m has quit IRC01:42
*** jamur2 has quit IRC01:48
*** philiKON_ has quit IRC01:49
*** aaronv has joined #zope3-dev01:50
*** aaronv has quit IRC01:52
*** aaronv has joined #zope3-dev01:54
*** flox has left #zope3-dev01:59
*** jpcw2002 has quit IRC02:08
*** srichter has quit IRC02:13
*** MrTopf has quit IRC02:16
*** rmarianski has quit IRC02:23
*** lurkymclurkleton has quit IRC02:36
*** whit has joined #zope3-dev02:41
*** srichter has joined #zope3-dev02:47
*** nathany has quit IRC02:48
*** whit has quit IRC02:49
*** srichter has quit IRC02:53
*** srichter has joined #zope3-dev02:54
*** philiKON has quit IRC02:55
*** elro has quit IRC02:56
*** quodt has quit IRC03:03
*** aaronv has quit IRC03:11
*** RaFromBRC|away is now known as RaFromBRC03:16
*** alecm is now known as alecm|away03:21
*** sm has joined #zope3-dev03:25
*** sm_ has joined #zope3-dev03:25
*** srichter has quit IRC03:26
*** dbfrombrc has quit IRC03:26
*** b52laptop has quit IRC03:31
*** sm has quit IRC03:42
*** lurkymclurkleton has joined #zope3-dev04:19
*** RaFromBRC has quit IRC05:05
*** redir has joined #zope3-dev05:07
*** sm_ is now known as sm05:18
*** benji has quit IRC05:23
*** aclark is now known as aclark|away05:27
*** philiKON has joined #zope3-dev05:33
*** philiKON has quit IRC05:38
*** philiKON has joined #zope3-dev05:38
*** projekt01 has joined #zope3-dev05:43
*** alecm|away has quit IRC05:50
*** lurkymclurkleton has quit IRC05:52
*** redir has quit IRC05:56
*** sm has quit IRC06:03
*** tdoggette_ has joined #zope3-dev06:06
*** tdoggette has quit IRC06:07
*** srichter has joined #zope3-dev06:13
*** ChanServ sets mode: +o srichter06:25
*** reco has quit IRC06:29
*** fairwinds has quit IRC06:33
*** pcardune has joined #zope3-dev06:48
*** binseer has joined #zope3-dev07:00
*** philiKON has quit IRC07:41
*** philiKON has joined #zope3-dev07:42
*** fcorrea has quit IRC07:49
*** jukart has joined #zope3-dev07:50
*** fcorrea has joined #zope3-dev07:59
*** tdoggette_ has quit IRC08:12
*** afd_ has joined #zope3-dev08:16
*** tdoggette has joined #zope3-dev08:18
*** jukart has quit IRC08:25
*** projekt01 has quit IRC08:26
*** theuni has joined #zope3-dev08:45
*** jukart has joined #zope3-dev08:46
*** BjornT has quit IRC08:54
*** zagy_ has joined #zope3-dev08:56
*** jayaraj has joined #zope3-dev08:58
*** zagy has quit IRC08:58
*** BjornT has joined #zope3-dev09:18
*** timte has joined #zope3-dev09:19
*** sm has joined #zope3-dev09:19
*** Aiste has joined #zope3-dev09:25
*** romanofski has joined #zope3-dev09:27
*** sm has quit IRC09:43
*** Aiste has quit IRC09:53
*** dobee has joined #zope3-dev09:57
*** jpcw2002 has joined #zope3-dev10:11
*** flox has joined #zope3-dev10:12
*** natea_ has quit IRC10:13
*** flox has quit IRC10:14
*** flox has joined #zope3-dev10:17
*** pcardune_ has joined #zope3-dev10:25
*** pcardune__ has joined #zope3-dev10:29
*** tarek has joined #zope3-dev10:29
*** malthe|Zzz is now known as malthe10:30
*** pcardune has quit IRC10:30
*** agroszer has joined #zope3-dev10:31
*** pcardune_ has quit IRC10:33
*** quodt has joined #zope3-dev10:38
*** ccomb2 is now known as ccomb_sa10:40
*** malthe has quit IRC10:47
*** gstratton has quit IRC10:56
*** pcardune__ has quit IRC10:58
*** MJ has joined #zope3-dev11:27
*** gstratton has joined #zope3-dev11:28
*** maurits has joined #zope3-dev11:32
*** malthe has joined #zope3-dev11:33
*** maurits has quit IRC11:36
*** dunny has quit IRC11:39
*** maurits has joined #zope3-dev11:39
*** MJ has quit IRC11:44
*** pcardune has joined #zope3-dev11:46
*** charith_para has joined #zope3-dev11:49
*** vimes656 has joined #zope3-dev11:52
*** dunny has joined #zope3-dev12:10
*** jsadjohnson has joined #zope3-dev12:12
*** regebro has joined #zope3-dev12:15
*** mkerrin has joined #zope3-dev12:17
*** MJ has joined #zope3-dev12:23
*** elro has joined #zope3-dev12:32
ccomb_sahi, where is the "pagelet" content provider registered ? Should I register it myself ?12:41
*** markusleist has joined #zope3-dev12:42
*** b52laptop has joined #zope3-dev12:44
*** projekt01 has joined #zope3-dev12:51
*** ignas has joined #zope3-dev12:59
*** vimes656 has quit IRC13:14
*** vimes656 has joined #zope3-dev13:14
*** pyqwer has joined #zope3-dev13:23
*** ktwilight_ has joined #zope3-dev13:30
*** ktwilight has quit IRC13:43
*** MJ has quit IRC13:49
*** pcardune has quit IRC13:55
*** dunny has quit IRC13:56
*** fairwinds has joined #zope3-dev13:57
*** b52laptop has quit IRC13:57
*** rocky has joined #zope3-dev13:58
*** kursor has joined #zope3-dev14:19
*** kursor has quit IRC14:19
*** kursor has joined #zope3-dev14:20
*** charith_para has quit IRC14:20
*** flox has quit IRC14:39
*** benji has joined #zope3-dev14:39
*** elro has quit IRC14:44
*** mgedmin has joined #zope3-dev14:50
*** menesis has joined #zope3-dev14:54
*** sunew has joined #zope3-dev14:58
*** andres has quit IRC14:58
*** charith_para has joined #zope3-dev15:06
*** flox has joined #zope3-dev15:20
*** harobed has joined #zope3-dev15:21
*** philiKON has quit IRC15:36
*** salfield has quit IRC15:44
*** sp0cksbeard has joined #zope3-dev15:50
*** philiKON has joined #zope3-dev15:58
*** jamur2 has joined #zope3-dev15:59
*** fcorrea has quit IRC16:01
*** lurkymclurkleton has joined #zope3-dev16:04
*** aaronv has joined #zope3-dev16:06
*** lucielejard has joined #zope3-dev16:11
*** rocky has quit IRC16:12
*** rocky has joined #zope3-dev16:13
*** rcrafton has joined #zope3-dev16:15
*** philiKON has quit IRC16:17
*** charith_para has quit IRC16:30
*** goschtl has joined #zope3-dev16:31
*** andres has joined #zope3-dev16:38
*** srichter has quit IRC16:38
*** gimni has joined #zope3-dev16:46
*** gstratton has quit IRC16:46
*** aclark|away is now known as aclark16:50
*** ccomb has quit IRC16:51
*** fcorrea has joined #zope3-dev16:52
*** ccomb has joined #zope3-dev16:52
*** sm has joined #zope3-dev17:00
*** srichter has joined #zope3-dev17:00
*** elro has joined #zope3-dev17:08
*** hazmat has quit IRC17:15
*** b52laptop has joined #zope3-dev17:19
*** jayaraj has quit IRC17:25
*** binseer has quit IRC17:25
*** romanofski has quit IRC17:27
*** theuni1 has joined #zope3-dev17:28
*** theuni has quit IRC17:28
*** theuni1 is now known as theuni17:29
*** alecm has joined #zope3-dev17:29
*** markusleist has quit IRC17:29
*** goschtl has quit IRC17:32
*** srichter has quit IRC17:34
*** srichter has joined #zope3-dev17:34
*** charith_para has joined #zope3-dev17:39
*** dobee has quit IRC17:44
*** salfield has joined #zope3-dev17:49
*** kursor has quit IRC17:50
*** markusleist has joined #zope3-dev17:54
*** srichter has quit IRC17:56
*** srichter has joined #zope3-dev17:57
*** fcorrea has quit IRC18:01
*** fcorrea has joined #zope3-dev18:03
*** menesis has quit IRC18:04
*** MacYET has joined #zope3-dev18:11
*** J1m has joined #zope3-dev18:13
*** whit has joined #zope3-dev18:15
*** projekt01 has quit IRC18:17
*** natea_ has joined #zope3-dev18:17
*** goschtl has joined #zope3-dev18:25
*** alecm_ has joined #zope3-dev18:31
*** alecm has quit IRC18:31
*** nathany has joined #zope3-dev18:31
*** goschtl has quit IRC18:36
*** goschtl has joined #zope3-dev18:37
*** goschtl has quit IRC18:38
*** goschtl has joined #zope3-dev18:40
*** goschtl has quit IRC18:43
*** dobee has joined #zope3-dev18:44
*** dobee has joined #zope3-dev18:45
*** alecm_ has quit IRC18:46
*** charith_para has quit IRC18:59
*** __gotcha has joined #zope3-dev19:03
*** gimni has quit IRC19:17
*** elro has quit IRC19:23
*** mkerrin has quit IRC19:24
*** norro has joined #zope3-dev19:36
*** quodt has quit IRC19:45
*** rocky has quit IRC19:48
*** pcardune has joined #zope3-dev19:54
*** malthe has quit IRC20:01
arikaanyone around here?20:02
afd_arika: question?20:02
arikayeah... little one...20:02
arikaI'm coding a little cms and well I've got a CMS object that now is a cool container...20:03
*** jukart has quit IRC20:03
arikaif I template it I can make the template be only the 'body' layer, isn't it?20:03
arikaI've read a little bit in philip's book about it20:03
arikabut 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 advanced20:04
arikahm...20:04
afd_basically, with macros, you create the general page layout20:04
arikaMETAL? you mean to the TAL inside a ZPT, isn't it?20:04
afd_yes20:04
arikayeah, that's what I want :)20:05
arikafor people to do skings20:05
arikajust do a layout skin20:05
arikaand then if so modify every layer with a new template...20:05
*** reco has joined #zope3-dev20:05
arikaor whatever...20:05
arikalol20:05
arikafor  example...20:05
afd_and in the template you say that you use the "page" macro from that general template, and fill the "body" slot20:05
arikathe front page of the CMS (the CMS object really) random things and so..20:06
arikaor a page that you specify as default...20:06
afd_to override templates per layer, you can use z3c.template20:06
afd_also, you should look at viewlets20:06
arikaahh20:06
arikaso configuring browser pages I can say 'it goes to layer body'20:06
arikaisn't it?20:06
arikaafd_: I'm trying to make a website without too much time, but I'll look all this features... :)20:07
*** harobed has quit IRC20:07
arikaI'm getting to understand it, but I'm just a novice, lol20:07
afd_zope layers have nothing to do with page layout20:07
afd_arika: then you should follow the recipes in philip's book20:08
*** pcardune has quit IRC20:08
arikayeah yeah, I'm jumping from a chapter to another to make it work lol20:08
arikaFor example, for the CMS container I jumped a moment to the containers chapter20:08
arikathen I said "it has to be zope.app.container.btree.BTreeContainer"20:08
arikaand 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=template20:09
arikathat book it's really interesting, gonna buy it, lol20:09
arikabut afd_20:09
arikaas I've seen:20:09
arikabrowser:page has a layer option20:09
arikaand just putting there, i.e.: body20:09
arikacan make the template I give fit into that layer20:09
arikaso I won't punt <!doctype...20:10
arika(and so)20:10
afd_arika: zope layers don't work like that20:10
*** dbfrombrc has joined #zope3-dev20:11
arikaafd_: surprise me :)20:11
*** RaFromBRC has joined #zope3-dev20: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 skins20:12
afd_By registering a page on a layer, you make it available only in that layer20:12
*** MrTopf has joined #zope3-dev20:12
afd_You can also register, per layer: content providers, viewlets, views, browser resources20:12
arikaaha20:13
arikaahhh20:13
arikathat's the hieararchy of things taht fit on a layer...20:13
afd_yes20:13
afd_fit is a bad word20:13
arikabut the main template of the site is a layout full of all layers that have to be filled with things...20:13
afd_no20:13
arikahm...20:13
afd_the main template is usually  a template that defines a macro20:14
afd_"page"20:14
afd_this macro has a bunch of slots20:14
*** timte has quit IRC20:14
arikathat's the macro name for the layout?20:14
afd_"head", "body", "footer"20:14
arikaahhh yeah20:14
afd_this is a convention20:14
afd_macros and slots can be named in any way20:14
arikaPhilip gives a list of slots and so20:14
arikaaha20:14
arikathe slots that ZMI uses and so..20:14
arika(I mean)20:15
*** fairwinds has quit IRC20:15
afd_easiest is to create a new skin20:15
afd_that is based on the basicskin20:15
afd_this way you don't have to mess with the rotterdam skin20:15
arikaaha20:15
*** hexsprite has joined #zope3-dev20:15
afd_and you can define your page structure exactly how you want it20:15
arikathe rotterdam sking is the one in Zope :)20:15
arikayeah20:16
arikaso I simply create all the layout20:16
afd_ZMI = rotterdam skin20:16
afd_yes20:16
arikaand 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 fit20:16
arikacool!20:16
arikatrust me, yesterday I told to a friend "PHP stinks" lol20:16
arikahahahahahaha20:16
arikathis Zope is really powerful :)20:16
arikaIt's surprising me every day I try a thing work lol20:17
arikahahahahah :)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 curve20:17
arikayeah I heard20:17
arikabut I'm using philip book and the APIDOC20:17
afd_especially if you don't have someone to help you20:17
arikaso I understad what really the ZCML does20:17
arikaafd_: don't worry, I usually learn on my own lol20:18
afd_ok20:18
arikasometimes I ask, but I usually do it lol20:18
arikabut I can ask another thing...20:18
arikaif I create Skins in my project directory...20:18
arikawill every content share the same skin?20:18
arikaor I have to set up the skin on every content piece?20:18
afd_content doesn't have a skin20:18
arikawell20:18
arikawhat I mean...20:19
afd_pages that show you the content are registered for a skin20:19
arikaahhh20:19
afd_or more precisely, for a layer20:19
arikacan I let also ppl selet an skin ^^?20:19
arikaahhh20:19
afd_yes20:19
arikayeah20:19
afd_you can change it through code20:19
arikaso...20:19
arikayeah20:19
arikahaving a return skin_path or whatever20:19
afd_or just insert ++skin++rotterdam in the url, at the beginning20:19
arikaand using ZCML to get it?20:19
arikayeah20:19
afd_arika: don't skip on the book20:20
arikayeah yeah20:20
arikasure....20:20
afd_creating a new skin is an advanced topic20:20
arikawell20:20
arikaI created an skin already20:20
afd_make sure you get pages, forms and content first20:20
arikait's about changing everything to TAL, no?20:20
arikayeah yeah20:20
afd_more or less20:20
arikaso the skin is the lastest part, isn't it?20:20
arika:)20:20
afd_usually, yes20:21
afd_although for a regular site, probably the biggest part as well20:21
arikaI've seen clues around there...20:21
arikaif I make via ZCML a view page on it20:21
arikaand I make it default view20:21
arikathen users will se something instead a directory listing lol20:21
*** sunew has quit IRC20:21
afd_there are no directory listings in zope20:22
afd_zmi has the @@contents.html page20:22
afd_also, index.html is already registered as default page20:22
afd_for all the content20:22
arikaaha20:22
afd_so you just need to create pages named index.html20:22
arikayeah, true :)20:22
arikaand if I want to make it be /@@view is when I use the defaultView directive20:23
arikatrue...20:23
afd_yes20:23
arikacool...20:23
arikaI've to see how directories contain things20:24
arikaand how to access to those things... and so...20:24
arikabut from now I'll create a content thing...20:24
arikasomething like a class Document :)20:24
afd_yes, that's good20:24
afd_then you can create a view page for it20:25
arikaYou say things go more better when you've been 1 week failing, isn't it?20:25
arikalol20:25
afd_with a very basic template20:25
arikayeah20:25
afd_and then you can make it use the page macro or whatever its name is, from standard_macros20:25
arikabut 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 mean20:26
arikathat's done coding, isn'4~t it?20:26
arikayeah20:26
arikain my CMS configuration20:26
arika(like an edit page)20:26
arikaif I put an url that is in the hierarchy of that object20:26
arikacan I make coding to show the content of what I say ?20:26
arikalike a 'Default page to show" textbox20:27
arika:)20:27
arikathat's done coding, isn't it?20:27
afd_you can insert other pages into your page20:27
arikahuh... cool20:27
arikalol20:27
arikasomeone thought that before hahahahahahaha :)20:27
afd_<div tal:content="structure myobj/@@my_other_view" />20:27
arikaahhh20:28
afd_this means that my_other_view is a view (page) that is registered for the object myobj20:28
arikaand myobject is a object in the fs beginning on the hierarchy of the current object....20:28
arikayeah yeah20:28
arikacool20:28
arikalol20:28
afd_it is registered usually for the class of myobj, or for one of the interfaces that myobj implements20:28
arikaafd_: I'm happy because I'm understanding how it works... :)20:29
afd_you usually register it on interfaces20:29
arikayeah20:29
arikaas I've seen render of pages are done using Python...20:29
arikalike the first example Philip gives20:29
afd_yes20:30
arikaand also20:30
arikayou can specify a template20:30
afd_it is important to know that you can have pages do something20:30
arikathat would be rendered20:30
arikayeah20:30
afd_like return a string that will be shown20:30
arikayeah yeah20:30
afd_or do something in with the GET or POST parameters20:30
arikaaha20:30
arikadown to the level you want, really20:30
arikainteresting...20:30
arikaalso as I've seen there's a form library to interact with the user and so20:31
arikaamazing...20:31
afd_there are 3 form libraries20:31
afd_zope.app.form, zope.formlib, z3c.form20:31
arikaaha20:31
afd_typically zope.formlib + zope.app.form is used20:32
arikaas 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 formlib20:32
afd_arika: you shouldn't be concerned about that20:32
arikaaha20:32
arikabut what if they deprecate something and my app stops working when I upgrade zope? lol20:33
arikahahaha20:33
arika:)20:33
afd_nope20:33
arikado they maintain backwards compatibility with everything?20:33
afd_judging from history, you'll have about 3 years or more time to change your code20:33
afd_once something is deprecated20:33
arikalol20:34
arikaslowly 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.org20:34
arikayeah20:35
afd_for example z3c.authentication replaces the authentication from zope20:35
afd_z3c.form replaces the forms framework20:35
arikaI know there are lots of things done20:35
afd_and so on20:35
arikabtu I would like to do it on my own of a beter comprehension of the system :)20:35
arika*but20:35
arikasounds 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 wheel20:36
arikathat's the thing :)20:36
arikawhen I do some things more and completely understand Philip's book20:37
arikaI'll taje a look on the SVN code20:37
arika:)20:37
*** whit is now known as whit|lunch20:37
arikaafd_: I was one day trying CMSs based on PHP20:38
arikabut no one had what I needed, only little parts of it20:39
*** dbfrombrc has quit IRC20:39
arikaand well I saw Plone and I loved it lol and I read about Zope and I began to investigate hahahaha20:39
arikaIt's a really interesting thing, this Zope3...20:39
arikabut as you say the learning curve is sooooo long....20:40
arika:)20:40
afd_I won't say very very long20:40
arikawell... 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 own20:40
arikaI've been a week having Python tracebacks lol20:41
arikaand finally something worked so I'm happy hahahahah :)20:41
afd_next step, understand the tracebacks20:41
afd_:)20:41
arikayeah... not costumed to them ^^20:41
arikaI'm not a Python programmer... I learnt it in order to do it around a week ago lol20:42
arikamy 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 pastebins20:43
arikanah, don't worry :)20:43
arikaI've understood then completely :) I told you that my problem was not that20:44
afd_ok20:44
*** MiUlEr_ has joined #zope3-dev20:44
*** MacYET has left #zope3-dev20:44
*** Locklainn has joined #zope3-dev20:45
Locklainnhi all, I'm wondering if anybody knows if there is a way to run only certain tests for zc.recipe.testrunner20:45
arikaif I create a dummy content object and all my CMS contents inherit from this dummy object20:45
arikaand I constraint every CMS container to that dummy container20:46
afd_arika: if you need a CMS for a real project, Plone can probably help you finish a lot faster20:46
arikaadding things from outside won't be allowed, isn't it?20:46
arikaafd_: not really :)20:46
arikagot a bet with my friend hahahahhahahaha :)20:46
afd_arika: it's complicated, depends on how deep you want to go20:47
afd_usually you create a new type of site20:47
arikahm... plone would serve, of course :)20:48
afd_a folderish object20:48
afd_MySite, let's say20:48
arikaaha20:48
arikayeah20:48
arikathat'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 web20:48
arikayeah20:48
afd_and then you can restrict what types of objects you can add in this folder20:48
arikasure20:49
arikathat's what I've thought20:49
arikabut instead of naming every object to the restriction20:49
arikaI can create an IContent20:49
*** MiUlEr_ has quit IRC20:49
arikaand then every content inherits from IContent20:49
afd_yes20:49
arikaso they will be allowed but no other20:49
*** reco has quit IRC20:49
arikaso everyone that want's to make a content thing20:49
afd_correct20:49
arikacreates a new inherited IContent20:49
arikaand so20:49
arikaI was speculating with POO theory20:50
arikaOOP I mean20:50
*** reco has joined #zope3-dev20:50
arikaand well having a MySiteFolder that has the same constraints would work20:50
afd_yes20:50
arikacool20:50
arika:)20:50
arikaafd_: 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
arikawhere do you live? hahahaha20:52
arikafar away probably :)20:52
afd_you got it20:52
arikamy friend ruined doing this Zope thing so he proposed a bet with me lol20:52
arikabecause I was thinking of making a website and you know20:52
afd_"ruined" = ?20:52
arikayeah20:52
arikacouldn't do it20:52
arikalol20:52
afd_I see20:52
arikaI mean he simply abandoned it20:53
arika:)20:53
arikayou know people... if they don't get results fast they abandon things20:53
*** jukart has joined #zope3-dev20:53
afd_how long did he try?20:53
arikaso I said 'won't be so difficult, I think...'20:53
arikaafd_: a month I think20:53
afd_:)20:54
arikaif you're not constant in what you do you won't get a thing I told him20:54
arikabut now I understand more better how it works it's more easy lol20:54
afd_my advice would be this:20:54
arikathat Philip's book it's really good...20:55
*** Locklainn has left #zope3-dev20:55
arikaI'll buy it next month muahahahahaha20:55
arika:)20:55
afd_learn how to create persistent content, learn how to create pages, then go the "php" way20:55
arikaphp 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 rest20:56
arikawell... 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
arikainterface from IContained, I mean20:57
afd_the php way, I mean, just use the python language and the basic pages + template support to create your pages20:57
arikayeah20:57
arika:)20:57
afd_don't try to integrate with ZMI, browser menus, formlibs, and so on20:57
arikayeah20:57
arikawhatever down to mysitefolder will fit the skin I do...20:57
arikahahahahaha :)20:57
afd_btw, you should also look at Grok20:58
arikathen closing access to the ZMI and rewriting the url on Apache will work, isn't it?20:58
arikayeah yeah20:58
afd_yes, it will work20:58
arikathat's a CMS for Zope320:58
afd_Grok is a framework on top of zope designed to ease development20:58
arikayeah20:58
afd_it is not a CMS20:58
arikabut that's not the bet lol20:58
arikahe advised lol :)20:58
afd_just another web framework, like Django, or Pylons, or Turbogears20:58
arikayeah20:58
arikais django working on top of Zope?20:59
afd_no20:59
arikaahh20:59
afd_you can use the Zope libraries in Django20:59
afd_but no20:59
arikapeople told me that if I see Django I'll change hahaha :)20:59
afd_django is easier, I think20:59
arikaaha20:59
afd_to learn, at least20:59
arikabut my point of interest is Zope...20:59
arikalol20:59
afd_each framework probably has its good/bad points21:00
arikazope has what I need21:00
arikaa framework on object hierarchy :)21:00
arikaa filesystem or call it what you want :)21:00
afd_correct21:00
arikathat's what I need for my website ^^21:01
arikato be more precise... as I continue my reading Zope provides more things that the ones I would need :)21:02
*** pcardune has joined #zope3-dev21:02
arikaIt's simply difficult to get on it...21:02
afd_it's not difficult once you get past the initial stage21:02
*** fairwinds has joined #zope3-dev21:02
arikayeah, creating content that gets stored hahaha :)21:03
arikaone more question...21:03
afd_on the contrary, it's very easy to grasp and understand even its deeper guts21:03
arikaI'll read about it but wanted to know...21:03
arikaif for a view page on every content21:03
arikaI make, ie, a document.pt21:03
arikawhen 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 understand21:04
*** andres has quit IRC21:04
afd_you can think of skins as "constraints" you apply to pages21:05
afd_"this page is only available on this skin (layer)"21:05
afd_of course, skins and layers can inherit each other21:05
afd_you register pages for "context" interfaces21:05
afd_if you have a myfolder/@@index.html21:06
afd_the context for the index.html page is myfolder21: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 objects21:07
arikahmm...21:07
afd_you can register, of course, pages with the same name for different type of objects21:07
arikayeah21:07
arikabut I mean21:07
arikain the browser directive21:07
arikaI put template="document.pt", for example21:07
arikaand I say it's viewed on layer body21:07
*** jukart has quit IRC21:07
arikaok21:08
arikathen... can every skin define a document.pt21:08
arikajust for its own ?21:08
afd_document.pt would be a template21:08
arikahm...21:08
arikayeah a template to present the view :)21:08
afd_maybe a view_document.html page21:08
afd_that uses the document.pt template21:08
afd_but yes, you can define this for skin21:08
arikayeah21:08
arikaaha21:09
arikaso then when I change to that skin21:09
afd_but you don't really need to get into skins21:09
arikafor presentation pruposes it will use it's own document.pt?21:09
arikaaha21:09
afd_you can do things fine in the default skin21:09
arikayeah21:09
arikaaha21:09
arikacool21:09
afd_also, there's no "layer body"21:09
afd_I'm not sure how you got that21:10
arikaslot I would mean...21:10
arikadidn't read about it :) when I'll do that I'll be more precise hahahaha :)21:10
CSWookieHeh.  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 IRC21:10
*** lisppaste6 has joined #zope3-dev21:11
arikaCSWookie: lol :)21:12
*** pyqwer has quit IRC21:15
*** timte has joined #zope3-dev21:19
*** timte has joined #zope3-dev21:20
*** quodt has joined #zope3-dev21:20
*** redir has joined #zope3-dev21:21
*** maurits has quit IRC21:26
*** norro has quit IRC21:26
*** mgedmin has quit IRC21:27
*** redir has quit IRC21:29
*** faassen has joined #zope3-dev21:30
*** pcardune has quit IRC21:31
*** flox has quit IRC21:40
*** sunew has joined #zope3-dev21:42
*** ignas has quit IRC21:43
arikaafd_: I've configured a ZCML without looking at the docs... cool hahaha :)21:46
arikaZCML is important21:46
arikalol21:46
*** sunew has quit IRC21:47
afd_just consider it a necessary implementation detail21:47
afd_a way to be explicit about behaviour and configuration, but not flood the code with unnecessary details21:48
arikayeah21:48
arikanow gonna see the views of my document ^^21:48
arikagonna follow that @@view @@edit scheme... like that @ symbol hahahaha :)21:49
*** theuni has quit IRC21:51
*** elro has joined #zope3-dev21:51
*** menesis has joined #zope3-dev21:53
*** povbot has joined #zope3-dev21:57
afd_the @@ is added automatically, or better, you can use the @@ to construct views22:03
*** malthe has joined #zope3-dev22:03
afd_it's a way to make the url traversal have better performance22: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.html22:03
afd_if you put the eyes (@@) in front, then it's a view22:03
arikaah cool22:06
arika:)22:06
arikaso I'll use that @@ for every view lol22:07
arika:)22:07
*** dunny has joined #zope3-dev22:07
arikaI'm reading now about containers...22:07
arikaI've seen that doing __parent__ = None makes objects dissapear lol22:07
arikahahahaha22:07
afd_gtg22:09
*** whit|lunch is now known as whit22:11
arikathanks afd_22:14
arikaif I call to ViewTemplateFile22:14
arikawith no argumetns22:14
arikawould it generate22:16
arikathe one in the zcml?22:16
arikalol22:16
*** agroszer has quit IRC22:28
*** afd_ has quit IRC22:28
*** hexsprite has quit IRC22:34
*** timte has quit IRC22:41
*** timte has joined #zope3-dev22:41
*** hazmat has joined #zope3-dev22:47
*** ChanServ sets mode: +o hazmat22:47
*** sunew has joined #zope3-dev22:56
*** hexsprite has joined #zope3-dev23:01
*** regebro has quit IRC23:02
*** MrTopf has quit IRC23:08
*** RaFromBRC is now known as RaFromBRC|lunch23:15
*** sunew has quit IRC23:18
*** __gotcha has quit IRC23:20
*** aaronv has quit IRC23:42

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