*** afd___ has quit IRC | 00:00 | |
*** hexsprite has joined #zope3-dev | 00:17 | |
*** timte has quit IRC | 00:20 | |
*** tarek has joined #zope3-dev | 00:29 | |
*** yota has quit IRC | 00:35 | |
*** pelle__ has quit IRC | 00:40 | |
*** rocky has quit IRC | 00:43 | |
*** philiKON has joined #zope3-dev | 00:50 | |
*** rocky has joined #zope3-dev | 00:53 | |
*** pyqwer has quit IRC | 00:56 | |
*** kaeru has joined #zope3-dev | 00:57 | |
*** junkafarian has joined #zope3-dev | 00:58 | |
*** jpcw has quit IRC | 01:36 | |
*** JaRoel|4D has joined #zope3-dev | 01:42 | |
*** junkafarian has quit IRC | 01:47 | |
*** tarek has quit IRC | 01:50 | |
*** JaRoel|4D has quit IRC | 01:50 | |
*** JaRoel|4_ has quit IRC | 01:58 | |
*** malthe is now known as malthe|Zzz | 02:01 | |
*** regebro has quit IRC | 02:08 | |
*** philiKON has quit IRC | 02:28 | |
*** kaeru has quit IRC | 02:35 | |
*** flox has left #zope3-dev | 02:41 | |
*** davisagli has joined #zope3-dev | 02:44 | |
*** norro has quit IRC | 03:02 | |
*** davisagli has quit IRC | 03:02 | |
*** fmail has joined #zope3-dev | 03:05 | |
*** fmail has left #zope3-dev | 03:06 | |
*** kaeru has joined #zope3-dev | 03:07 | |
*** hexsprite has quit IRC | 03:14 | |
*** hexsprite has joined #zope3-dev | 03:16 | |
*** rocky has quit IRC | 03:18 | |
*** flox has joined #zope3-dev | 03:21 | |
*** mcdonc has joined #zope3-dev | 03:22 | |
*** flox has left #zope3-dev | 03:22 | |
*** greenman has quit IRC | 03:26 | |
*** rocky has joined #zope3-dev | 03:37 | |
*** greenman has joined #zope3-dev | 03:47 | |
*** quodt has quit IRC | 03:52 | |
*** alga has quit IRC | 03:52 | |
*** natea_ has quit IRC | 03:58 | |
*** hexsprite_ has joined #zope3-dev | 04:21 | |
*** davisagli has joined #zope3-dev | 04:32 | |
*** hexsprite has quit IRC | 04:39 | |
*** baijum has joined #zope3-dev | 05:20 | |
*** greenman has quit IRC | 05:37 | |
*** fmail has joined #zope3-dev | 05:38 | |
*** fmail has left #zope3-dev | 05:38 | |
*** projekt01 has quit IRC | 06:02 | |
*** binseer has joined #zope3-dev | 06:11 | |
*** MiUlEr has joined #zope3-dev | 06:12 | |
*** baijum has quit IRC | 06:27 | |
*** davisagli has left #zope3-dev | 06:31 | |
*** davisagli has joined #zope3-dev | 06:39 | |
*** greenman has joined #zope3-dev | 06:49 | |
*** baijum has joined #zope3-dev | 06:57 | |
*** MiUlEr has quit IRC | 07:11 | |
*** fairwinds has quit IRC | 07:30 | |
*** baijum has quit IRC | 07:31 | |
*** jayaraj has joined #zope3-dev | 07:46 | |
*** davisagli has quit IRC | 07:48 | |
*** jukart has joined #zope3-dev | 08:01 | |
*** baijum has joined #zope3-dev | 08:03 | |
*** jukart has quit IRC | 08:06 | |
*** agroszer_ has joined #zope3-dev | 08:11 | |
*** basti__ has joined #zope3-dev | 08:22 | |
*** greenman has quit IRC | 08:30 | |
*** jukart has joined #zope3-dev | 08:33 | |
*** agroszer_ is now known as agroszer | 08:42 | |
*** philiKON has joined #zope3-dev | 08:54 | |
*** philiKON has quit IRC | 08:56 | |
*** philiKON has joined #zope3-dev | 08:57 | |
*** __mac__ has joined #zope3-dev | 09:01 | |
*** zagy has joined #zope3-dev | 09:10 | |
*** tarek has joined #zope3-dev | 09:20 | |
*** JaRoel|4D has joined #zope3-dev | 09:29 | |
*** tarek has quit IRC | 09:32 | |
*** junkafarian has joined #zope3-dev | 10:06 | |
*** junkafarian has quit IRC | 10:07 | |
*** afd_ has joined #zope3-dev | 10:07 | |
*** reco has quit IRC | 10:09 | |
*** JaRoel|4D has quit IRC | 10:15 | |
*** quodt has joined #zope3-dev | 10:16 | |
*** tarek has joined #zope3-dev | 10:20 | |
*** regebro has joined #zope3-dev | 10:33 | |
*** MJ has joined #zope3-dev | 10:39 | |
*** reco has joined #zope3-dev | 10:42 | |
*** JaRoel|4D has joined #zope3-dev | 10:43 | |
*** agroszer has quit IRC | 10:45 | |
*** JaRoel|4_ has joined #zope3-dev | 10:48 | |
*** malthe|Zzz has quit IRC | 11:06 | |
*** toutpt has joined #zope3-dev | 11:07 | |
*** JaRoel|4D has quit IRC | 11:10 | |
*** junkafarian has joined #zope3-dev | 11:11 | |
*** mkerrin has joined #zope3-dev | 11:14 | |
*** malthe has joined #zope3-dev | 11:15 | |
*** markusleist has joined #zope3-dev | 11:17 | |
*** jpcw has joined #zope3-dev | 11:18 | |
*** tyfj has quit IRC | 11:18 | |
*** jfkw has joined #zope3-dev | 11:23 | |
*** ktwilight has quit IRC | 11:29 | |
*** tarek has quit IRC | 11:38 | |
*** tarek has joined #zope3-dev | 11:38 | |
*** markusleist has quit IRC | 11:39 | |
*** junkafarian_ has joined #zope3-dev | 11:40 | |
*** iham|away is now known as iham | 11:40 | |
*** markusleist has joined #zope3-dev | 11:51 | |
*** junkafarian has quit IRC | 11:52 | |
*** malthe has quit IRC | 11:55 | |
*** ktwilight has joined #zope3-dev | 12:02 | |
*** bigkevmcd has quit IRC | 12:04 | |
*** reco has quit IRC | 12:06 | |
*** reco has joined #zope3-dev | 12:07 | |
*** bigkevmcd has joined #zope3-dev | 12:07 | |
*** markusleist has quit IRC | 12:09 | |
*** malthe has joined #zope3-dev | 12:10 | |
*** markusleist has joined #zope3-dev | 12:18 | |
*** thruflo has joined #zope3-dev | 12:23 | |
*** junkafarian_ is now known as junkafarian | 12:24 | |
*** malthe has quit IRC | 12:25 | |
*** afd__ has joined #zope3-dev | 12:26 | |
*** malthe has joined #zope3-dev | 12:26 | |
*** thetet has joined #zope3-dev | 12:28 | |
*** malthe_ has joined #zope3-dev | 12:29 | |
*** afd_ has quit IRC | 12:42 | |
*** mintsauce has joined #zope3-dev | 12:43 | |
*** regebro1 has joined #zope3-dev | 12:44 | |
*** regebro has quit IRC | 12:45 | |
*** nyo has joined #zope3-dev | 12:50 | |
*** malthe has quit IRC | 12:52 | |
*** malthe_ is now known as malthe | 12:52 | |
*** regebro1 is now known as regebro | 13:08 | |
*** mintsauce has quit IRC | 13:14 | |
*** Count-Duckula has joined #zope3-dev | 13:20 | |
*** sawdog has joined #zope3-dev | 13:23 | |
*** ccomb has joined #zope3-dev | 13:25 | |
*** rocky has quit IRC | 13:46 | |
*** MJ is now known as MJ|lunch | 13:55 | |
*** harobed has joined #zope3-dev | 14:02 | |
Count-Duckula | I've got a interface/model class, how do I create an instance which has the attributes of the interface without putting them in the model? | 14:05 |
---|---|---|
*** Aiste has joined #zope3-dev | 14:07 | |
*** markusleist has quit IRC | 14:18 | |
*** markusleist has joined #zope3-dev | 14:18 | |
*** ktwilight has quit IRC | 14:22 | |
*** ktwilight has joined #zope3-dev | 14:23 | |
*** ktwilight has quit IRC | 14:25 | |
*** ktwilight has joined #zope3-dev | 14:26 | |
afd__ | Count-Duckula: you could a loop after the class declaration that iterates over the interface field declarations and setattr on the class, with FieldProperty instances | 14:27 |
*** ktwilight has quit IRC | 14:27 | |
afd__ | but most of the times is not that practic... in some cases you FieldProperty might not be the property type that you want | 14:27 |
afd__ | z3c.language.switch, z3c.extfile and some others define new property types (I think they're called data managers?) | 14:28 |
*** ktwilight has joined #zope3-dev | 14:29 | |
Count-Duckula | I might be missing something, It's for a database, collective.mercury has set up all the models/interfaces and I'm setting up formlibs to view them. But If I want to create a new row, I need an instance of the table class that a user can set stuff into and just ... tableclass() doesn't do it. | 14:29 |
Count-Duckula | it complains that the tableclass doesn't have the attributes of the interface. | 14:30 |
afd__ | I'll look at collective.mercury, it would help if you pasted some code :) | 14:31 |
*** rocky has joined #zope3-dev | 14:32 | |
*** mintsauce has joined #zope3-dev | 14:33 | |
mintsauce | how would i go about using define-slots in tal for meta tags? i.e: <meta name="description" content="blah" /> | 14:33 |
mintsauce | i want to fill the content="" with dynamic data .. | 14:34 |
afd__ | mintsauce: look at z3c.macro | 14:34 |
*** regebro has joined #zope3-dev | 14:35 | |
mintsauce | afd__: looking at it now ... | 14:35 |
lisppaste6 | Count-Duckula pasted "model/interface" at http://paste.lisp.org/display/71158 | 14:38 |
*** fairwinds has joined #zope3-dev | 14:41 | |
mintsauce | afd__: sorry - still a bit lost ... | 14:41 |
*** MJ|lunch is now known as MJ | 14:41 | |
afd__ | Count-Duckula: http://dev.plone.org/collective/browser/collective.mercury/examples/Timesheets/model.py | 14:42 |
afd__ | the example references collective.tin | 14:42 |
*** ignas has joined #zope3-dev | 14:47 | |
mintsauce | afd__: got it :) | 14:47 |
afd__ | mintsauce: cool :) | 14:47 |
Count-Duckula | I presume by looking at that, that ItemFactory just does the looping to create the attributes on the class | 14:48 |
afd__ | mintsauce: http://play.pixelblaster.ro/blog/archive/2007/12/17/template-layout-options-when-developing-with-zope-3 | 14:49 |
mintsauce | afd__: great thanks :) | 14:50 |
*** alga has joined #zope3-dev | 14:54 | |
afd__ | Count-Duckula: the code in collective.tin.factory is a bit weird... I see no reason for it to use formlib | 14:57 |
afd__ | or maybe applyData doesn't belong in formlib | 14:57 |
Count-Duckula | afd__: I've been looking at that and agree, very odd code. I can't work out where it's giving the class the attributes of the schema either. | 14:58 |
afd__ | line 51 | 14:58 |
afd__ | http://dev.plone.org/collective/browser/collective.tin/trunk/collective/tin/factory.py | 14:58 |
afd__ | or 43 | 14:59 |
afd__ | or not :) | 14:59 |
Count-Duckula | afd__: The setattr? | 15:01 |
afd__ | I don't think the table objects from the Timetable example are comparable to content models from z3 | 15:02 |
afd__ | the factory from collective.tin doesn't appear to concern itself with decorating the class with the interface information | 15:03 |
afd__ | and the requirement to use the factory to create an instance is another clue to this | 15:03 |
*** andycat has joined #zope3-dev | 15:03 | |
afd__ | but you probably should not care about that | 15:04 |
afd__ | to create a new instance of the object (a row in the table), just use the ItemFactory | 15:04 |
afd__ | and the formlib view, generate it from the interface | 15:05 |
Count-Duckula | afd__: Thanks a lot, appreciate it. | 15:06 |
afd__ | np | 15:06 |
*** mintsauce has quit IRC | 15:07 | |
*** mkerrin has quit IRC | 15:14 | |
*** menesis has quit IRC | 15:17 | |
*** projekt01 has joined #zope3-dev | 15:26 | |
*** harobed has quit IRC | 15:27 | |
*** menesis has joined #zope3-dev | 15:27 | |
*** philiKON has quit IRC | 15:35 | |
*** MrTopf has joined #zope3-dev | 15:38 | |
*** MrTopf_ has joined #zope3-dev | 15:47 | |
*** mkerrin has joined #zope3-dev | 15:49 | |
*** thruflo is now known as thru|morrisons | 16:03 | |
*** MrTopf has quit IRC | 16:03 | |
*** reco has quit IRC | 16:12 | |
*** baijum has quit IRC | 16:16 | |
*** thetet has left #zope3-dev | 16:17 | |
*** malthe is now known as malthe|out | 16:23 | |
*** harobed has joined #zope3-dev | 16:36 | |
*** jukart_ has joined #zope3-dev | 16:40 | |
*** reco has joined #zope3-dev | 16:41 | |
*** jukart has quit IRC | 16:42 | |
*** ktwilight has quit IRC | 16:44 | |
*** ktwilight has joined #zope3-dev | 16:45 | |
*** quodt_ has joined #zope3-dev | 16:48 | |
*** quodt has quit IRC | 16:48 | |
*** __mac__ has quit IRC | 16:54 | |
*** basti__ has quit IRC | 16:55 | |
*** tarek has quit IRC | 16:58 | |
*** tarek has joined #zope3-dev | 16:59 | |
*** MrTopf has joined #zope3-dev | 17:03 | |
*** jukart_ has quit IRC | 17:07 | |
*** ccomb has left #zope3-dev | 17:08 | |
*** MrTopf_ has quit IRC | 17:19 | |
*** kaeru has quit IRC | 17:22 | |
*** regebro has left #zope3-dev | 17:26 | |
*** MJ has quit IRC | 17:38 | |
*** agroszer has joined #zope3-dev | 17:41 | |
*** binseer has quit IRC | 17:43 | |
*** imgrey has joined #zope3-dev | 17:50 | |
*** jayaraj has quit IRC | 17:59 | |
*** projekt01 has quit IRC | 18:00 | |
*** __mac__ has joined #zope3-dev | 18:17 | |
*** goschtl has joined #zope3-dev | 18:17 | |
*** regebro has joined #zope3-dev | 18:18 | |
*** norro has joined #zope3-dev | 18:34 | |
*** zagy has quit IRC | 18:35 | |
*** junkafarian_ has joined #zope3-dev | 18:42 | |
*** junkafarian has quit IRC | 18:43 | |
*** nyo has quit IRC | 18:44 | |
*** jukart has joined #zope3-dev | 18:44 | |
*** __mac__ has quit IRC | 18:44 | |
*** afd___ has joined #zope3-dev | 18:51 | |
*** afd__ has quit IRC | 18:51 | |
*** mintsauce has joined #zope3-dev | 19:05 | |
mintsauce | im adding a value to a PersistentDict | 19:05 |
mintsauce | but the dict seems to 'forget' that value once the site is restarted ... | 19:06 |
mcdonc | PersistentMapping you mean? | 19:06 |
mintsauce | mcdonc: yup | 19:06 |
mintsauce | do i need to set a modified flag? | 19:06 |
mintsauce | someone mentioned this recently | 19:07 |
* mintsauce assumed values added to a persistent object would automatically me persistent? | 19:07 | |
afd___ | mintsauce: maybe you need to run transaction.commit() | 19:07 |
afd___ | I don't know why, though. You know your setup better :) | 19:08 |
mintsauce | afd___: i've only ever had to do that when modifying via pdb | 19:08 |
mcdonc | yeah the only thing i can think of is not committing | 19:08 |
afd___ | mintsauce: are you attaching the dict instance to a non-persistent object? I vaguely recall there might be difficulties when doing this | 19:10 |
afd___ | object not derived from Persistent | 19:10 |
afd___ | maybe mcdonc knows better about this | 19:10 |
mintsauce | its type shows as class 'persistent.dict.PersistentDict'> | 19:11 |
mintsauce | even transaction.commit() doesnt save it - this is very odd ... | 19:12 |
mcdonc | if you're attaching it to some non-first-class persistent object, it wont be saved unless *that* object is "modified" | 19:13 |
mintsauce | ahhh ...... im adding it to a list, which is a value in a dict ..... | 19:14 |
mcdonc | yeah. set _p_changed on the object that the list is an attribute of | 19:14 |
mcdonc | or rather, set p_changed on the object of which the dict that the list is an attribute of ;-) | 19:15 |
*** toutpt has quit IRC | 19:17 | |
mintsauce | mcdonc: thats got it - thanks :) | 19:18 |
mcdonc | np ;-) | 19:18 |
*** sawdog has quit IRC | 19:20 | |
*** thruflo has joined #zope3-dev | 19:21 | |
mintsauce | You know, the best thing about the popularity of Django? I get 2-to-1 support from #zope3-dev ;) | 19:21 |
afd___ | ? | 19:22 |
*** jukart has quit IRC | 19:22 | |
mintsauce | I get great support from you guys, because hardly anyone uses the channel ;) | 19:23 |
afd___ | eh | 19:23 |
mintsauce | They're all in Django - or whatever else is cool this month! | 19:23 |
afd___ | most of the guys here don't need help | 19:23 |
mintsauce | Not many newbies .... is that a good or bad thing? | 19:24 |
mintsauce | (or not many people need as much help as me!) | 19:24 |
afd___ | depends on the ego, I guess | 19:25 |
*** junkafarian_ is now known as junkafarian | 19:25 | |
*** multani has quit IRC | 19:27 | |
mintsauce | lol | 19:28 |
afd___ | mintsauce: I was just reading (for nefarious reasons) and I can't see it being cooler then zope. Has some nice parts and is simple, but there are faults to be found (as everywhere) | 19:28 |
afd___ | for one, the templating system seems ugly. All those tags and filters just to avoid having a python: type of expression | 19:29 |
mintsauce | afd___: heh - i should of written 'cool' instead ... | 19:29 |
mintsauce | afd___: i looked into Django before I went with Zope3 - its nice, but there's lots of stuff Zope3 does better | 19:30 |
mintsauce | It's 'Pythonicness' is the biggest hook for me | 19:30 |
*** Theuni has quit IRC | 19:31 | |
afd___ | design patterns all over and xml files? :-) | 19:31 |
mintsauce | I also use Plone a lot - so lots of the techniques carry over (even the annoying ones) ;) | 19:32 |
*** menesis has quit IRC | 19:32 | |
afd___ | mintsauce: name some annoying techniques | 19:32 |
mintsauce | heh | 19:32 |
afd___ | I'm preparing some training materials for z3, so it's in the name of research | 19:33 |
*** JaRoel|4_ has quit IRC | 19:33 | |
mintsauce | zcml is the obvious candidate - that was my biggest hurdle initially - although it does eventually make sense, I haven't had a zcml based bug in a while. | 19:34 |
mintsauce | But then of course Grok deals with that .... | 19:34 |
*** BjornT has quit IRC | 19:34 | |
*** J1m has joined #zope3-dev | 19:35 | |
*** mgedmin has joined #zope3-dev | 19:35 | |
*** reco has quit IRC | 19:36 | |
*** J1m has quit IRC | 19:37 | |
*** imgrey_ has joined #zope3-dev | 19:37 | |
afd___ | plone takes the zcml from z3 :) | 19:37 |
*** BjornT has joined #zope3-dev | 19:38 | |
*** goschtl has quit IRC | 19:38 | |
mintsauce | afd___: exactly :) | 19:40 |
mintsauce | its a real shame it looks like plone will never fully move to z3 | 19:41 |
mintsauce | for me at least ... | 19:41 |
*** harobed has quit IRC | 19:42 | |
Count-Duckula | mintsauce: should it? without a complete rewrite anyway, wouldn't it still just be plone. It's a shame Z3 doesn't have a good component CMF. | 19:42 |
danfairs | afd___, mintsauce: I do quite a lot of stuff with Django. It's biggest advantages are that it natively uses a RDBMS (yes, we know they suck) but they're familiar and non-scary, and that the tutorial on the front page is of the django project is clear and useful :) | 19:42 |
*** reco has joined #zope3-dev | 19:42 | |
mintsauce | hey dan :) | 19:43 |
danfairs | It's all just another set of compromises :) | 19:43 |
danfairs | mintsauce: yo ;) | 19:43 |
mintsauce | Count-Duckula: i suppose not really - it's just a bind having to reset my brain to Zope2 when i use it ;) | 19:44 |
afd___ | mintsauce: this days when using Plone, it helps a lot if you know z3 | 19:45 |
afd___ | of course, that's obvious | 19:45 |
mintsauce | danfairs: Compromises is right - it's all about what compromises suit you ... | 19:45 |
danfairs | mintsauce: Right. There's always a point I get to in a Django project where I say 'Damn... I really want zope.component here'. And the great thing about Z3 these days is that I can just put that in the buildout, and I'm good to go :) | 19:46 |
Count-Duckula | mintsauce: I still haven't moved to Z3 fully, still Plone. But Plone's scalability scares me, so I want to use Z3, but you loose a lot. | 19:46 |
danfairs | Count-Duckula: You can scale plone, it just doesn't do it very well out of the box. | 19:46 |
Count-Duckula | danfairs: I know that, but we've got the point where we know we're going to have to throw hardware at it and that's never a good starting position. | 19:47 |
mintsauce | Count-Duckula: for small business sites i still use Plone - but for big bespoke projects (well one so far!) i'm using zope3 - there's too much in Plone I don't need | 19:48 |
Count-Duckula | mintsauce: That's exactly what I'm after doing, if I can ever make the leap | 19:48 |
afd___ | danfairs: is it possible to do a list (ordered container) with django orm? I think sqlalchemy has a plugin for that, but it's really convoluted | 19:51 |
danfairs | afd___: Not natively. You'd add an 'ordinal' field or something an order on that. Relational databases are set manipulation engines, and sets are unordered ;) You need something to ORDER BY. | 19:54 |
danfairs | It's a point I've heard raised a couple of times, but I don't really buy it to be honest - it's trivially solved by the addition of an extra column. Big deal. | 19:54 |
*** imgrey has quit IRC | 19:54 | |
danfairs | afd___: Storing trees of objects *is* more of a problem, and something Zope's really good at. | 19:55 |
danfairs | (Presumably that's why it's wound up as a great basis for content management systems). | 19:55 |
afd___ | I've asked this question because I didn't see the issue tackled in the Django docs, and I have struggled in the past with SA and Elixir on achieving this | 19:56 |
afd___ | http://elixir.ematia.de/trac/wiki/Recipes/UsingEntityForOrderedList | 19:56 |
afd___ | I was probably looking for too much automatition here... | 19:56 |
danfairs | afd___: Right, it's basically using the extra column technique I mentioned before - that postition field. | 19:57 |
*** redir has joined #zope3-dev | 19:58 | |
afd___ | yes, it also maintains that value automatically | 19:58 |
afd___ | ok, thanks for letting me know. I don't have that much experience with ORMs, so any info helps :) | 19:59 |
*** nyo has joined #zope3-dev | 20:00 | |
danfairs | afd___: To be honest, I've only used the Django ORM and something called SubSonic for .NET. Django's is miles better ;) | 20:01 |
danfairs | Not used SQL Alchemy, yet. | 20:01 |
afd___ | the caching system is nice. I like how easy is to cache a page subset, with a key even | 20:01 |
afd___ | http://docs.djangoproject.com/en/dev/topics/cache/#template-fragment-caching | 20:01 |
danfairs | I guess with Zope you could write a viewlet manager that knew how to cache viewlets... but it's nice that it's built in. | 20:05 |
afd___ | danfairs: lovely.responsecache does that | 20:05 |
danfairs | wrt your earlier point about the template language - yes, it's pig ugly :) But the 'lack' of power stops your templates turning into the kind of spaghetti mix of HTML and Python expressions you often find in (perhaps older?) Plone templates. | 20:06 |
*** JaRoel|4D has joined #zope3-dev | 20:06 | |
afd___ | I don't agree about the mix of python in the Plone templates. The bigger problems with those are the many levels of indirections, but I don't think even a list of 20 python expressions (usually defines and so on) are that hard or ugly | 20:07 |
afd___ | but I don't have that much experience with a wider variety of template systems to have a valid opinion about this :) | 20:08 |
danfairs | I think it probably boils down to personal taste at the end of the day :) But on balance - I prefer to have less power in the templates themselves. It forces the logic out into the view class (or function, in Django's case) which simplifies the template for your designers, and gives you as the developer a better opportunity to debug by stepping through code, and to write unit tests. | 20:09 |
danfairs | But hey - I use both, most days :) | 20:09 |
afd___ | one thing that feels weird in Django is how focused is some of the API. I know these are common cases, but still feels funny | 20:10 |
danfairs | afd___: not sure I understand what you mean? | 20:10 |
afd___ | I'm looking at the User class, and it has a method email_user() | 20:10 |
afd___ | and some other utilities to retrieve the messages in some inbox that belongs to the user | 20:11 |
afd___ | wouldn't this sort of stuff belong in some other, 3rd party package attached to the user module? | 20:11 |
afd___ | at least that would be the z3 way | 20:11 |
danfairs | There are some funny warts here and there :) | 20:12 |
danfairs | The Django philosophy is that you go download Django and you can be productive, right away, without having to download a load of dependencies, understand 3rd party APIs, etc. | 20:12 |
afd___ | right. They may be unto something :) | 20:12 |
danfairs | All the docs you need are there on the Django web site, and Django natively does 80-90% of what you probably want to do for an average (for some definitition of average!) site. | 20:12 |
danfairs | I mean... getting started with Zope 3. How do I do it? Where's the big Zope 3 tutorial? Where's the tarball? | 20:13 |
danfairs | :) | 20:13 |
danfairs | Django has a very low barrier to entry... | 20:13 |
afd___ | z3 is elite, doesn't need that :) | 20:13 |
danfairs | (I know the answer to all of those btw, but I suspect it's non-obvious to a newbie) | 20:13 |
*** rocky has quit IRC | 20:14 | |
danfairs | Z3 is funny. It reminds me of when I did Haskell at uni. You'd spend about an hour meditating on a solution, write 2 lines of code and you're done... | 20:14 |
afd___ | :) | 20:14 |
*** rocky has joined #zope3-dev | 20:14 | |
*** dunny has joined #zope3-dev | 20:21 | |
*** mintsauce has quit IRC | 20:21 | |
*** afd____ has joined #zope3-dev | 20:21 | |
*** afd___ has quit IRC | 20:21 | |
*** junkafarian has quit IRC | 20:22 | |
*** Count-Duckula has left #zope3-dev | 20:22 | |
*** iham is now known as iham|away | 20:26 | |
*** davisagli has joined #zope3-dev | 20:28 | |
*** danfairs has quit IRC | 20:36 | |
*** imgrey_ is now known as imgrey | 20:40 | |
imgrey | evening #zope3-dev | 20:40 |
imgrey | what is recomended version of zope3 at the moment ? | 20:41 |
*** timte has joined #zope3-dev | 20:42 | |
*** afd_____ has joined #zope3-dev | 20:43 | |
*** J1m has joined #zope3-dev | 20:44 | |
mgedmin | imgrey: 3.4 from KGS | 20:46 |
imgrey | mgedmin, KGS ? | 20:46 |
imgrey | mgedmin, this one: http://www.zope.org/Products/Zope3/3.4.0c1 ? | 20:46 |
mgedmin | Known Good Set | 20:46 |
mgedmin | there was a page describing it, but I cannot find it | 20:46 |
mgedmin | nobody cares about the front page of download.zope.org :( | 20:47 |
imgrey | .o(indeed) | 20:47 |
mgedmin | tarballs are ... well, nobody cares about them either | 20:47 |
mgedmin | check out zopeproject on PyPI | 20:47 |
mgedmin | oh, I give up | 20:47 |
mgedmin | http://www.benjiyork.com/quick_start/ may be useful | 20:48 |
mgedmin | no, it's outdated | 20:48 |
ignas | imgrey: I recomend using zopeproject and then fixing the project generated using it, or just using grok | 20:48 |
mgedmin | does zopeproject use the 3.4 KGS by default? | 20:48 |
ignas | mgedmin: nope | 20:48 |
mgedmin | maybe grok is the better entry point | 20:48 |
ignas | mgedmin: not the last time i looked at it | 20:48 |
ignas | though these are "ignas recommended methods" not "recommended methods" | 20:49 |
* mgedmin has bucketfuls of negative energy, cheap | 20:49 | |
*** afd____ has quit IRC | 20:49 | |
imgrey | ignas, what exactly need to be fixed ? :( | 20:49 |
ignas | imgrey: if I had it written down - i would link it to you, but I can't even tell you precisely | 20:49 |
ignas | what I do is - look at it, and make it use KGS, use my own bootstrap.py, and add a couple of parts to buildout.cfg | 20:50 |
imgrey | Zope-3.4.0c1 is too outdated ? | 20:53 |
imgrey | The thing is I need to setup application server and test how it works on storing large number of objects | 20:54 |
imgrey | I was working with Zope2.9 some time | 20:54 |
imgrey | does zope3 also supports various db backends and can be scaled ? | 20:55 |
imgrey | zope3app is actual zope3 application server, right ? | 20:56 |
*** nyo has quit IRC | 20:56 | |
imgrey | I mean egg 'zope3app' | 20:56 |
mgedmin | I believe we have Zope 3.4.0c8 or something like that, but no tarball for it | 20:57 |
mgedmin | Zope 3.x is very very different from Zope 2.x | 20:57 |
mgedmin | it's better to think of them as unrelated products | 20:57 |
mgedmin | one is CMS-like, the other is more of a pure software framework | 20:57 |
imgrey | mgedmin, is 2.9 still supported ? | 20:57 |
mgedmin | 2.11 is the current 2.x version, isn't it? | 20:57 |
imgrey | mgedmin, probably, I didn't follow | 20:58 |
*** thruflo has quit IRC | 20:58 | |
imgrey | what python version is better to use with zope3, 2.4 or 2.5 ? | 21:01 |
*** davisagli has left #zope3-dev | 21:16 | |
ignas | imgrey: 2.4 | 21:20 |
imgrey | what if zopeproject fails: http://dpaste.com/94439/ | 21:20 |
ignas | imgrey: http://ignas.pov.lt/sample_zope_app/ if you would check it out and do "make" + "make run" | 21:20 |
imgrey | ignas, but pysqlite depends from 2.5 now ( | 21:20 |
ignas | imgrey: you can use 2.5 but there might be some bugs | 21:21 |
imgrey | ignas, http://ignas.pov.lt/sample_zope_app/. there's an empty directory | 21:21 |
ignas | the sample app should give you a running zope3 app that you can look at, and maybe even change | 21:21 |
ignas | imgrey: bzr co it | 21:21 |
imgrey | ah, ok | 21:22 |
*** malthe|out is now known as malthe | 21:22 | |
ignas | it might work, it might not, but I must go, want to do some shopping before shops close | 21:22 |
*** ignas has quit IRC | 21:22 | |
mgedmin | people use 2.5 | 21:23 |
imgrey | sorry for a dumb question, but how to checkout with bzr ? never used it before | 21:25 |
imgrey | co puch/pull not working | 21:25 |
*** pelle_ has joined #zope3-dev | 21:25 | |
bigkevmcd | imgrey: bzr branch | 21:26 |
imgrey | bigkevmcd, thanks a lot | 21:26 |
bigkevmcd | imgrey: to keep it up-to-date, you'll want to bzr pull in the directory | 21:27 |
imgrey | tnx | 21:27 |
bigkevmcd | imgrey: locally, you can bzr branch <local-copy> and you can work on that | 21:27 |
*** regebro has quit IRC | 21:27 | |
*** regebro1 has joined #zope3-dev | 21:27 | |
*** regebro1 has quit IRC | 21:29 | |
*** afd_ has joined #zope3-dev | 21:31 | |
*** afd_____ has quit IRC | 21:32 | |
ARiKA_ | Hi all!!! | 21:33 |
*** greenman has joined #zope3-dev | 21:36 | |
*** quodt_ has quit IRC | 21:38 | |
*** quodt has joined #zope3-dev | 21:39 | |
imgrey | I've hot 'Address already in use' in zdaemon.log | 21:39 |
imgrey | what port it is trying to listen ? | 21:39 |
bigkevmcd | probably 8080 | 21:40 |
*** ARiKA_ is now known as ARiKA | 21:40 | |
*** bigkevmcd has quit IRC | 21:40 | |
imgrey | hmm, where I can change it ? | 21:40 |
imgrey | oribably in zdaemon.conf | 21:41 |
imgrey | but what option ? | 21:42 |
*** jamur2 has joined #zope3-dev | 21:43 | |
imgrey | great, I have managed to run zope3 http server | 21:46 |
imgrey | but how can I create object storege now ? | 21:46 |
imgrey | and what backend to use.. | 21:46 |
*** quodt has quit IRC | 21:48 | |
*** mkerrin has quit IRC | 21:50 | |
*** afd__ has joined #zope3-dev | 21:57 | |
*** __mac__ has joined #zope3-dev | 22:01 | |
*** jamur2 has quit IRC | 22:03 | |
*** markusleist has quit IRC | 22:03 | |
*** reco has quit IRC | 22:04 | |
*** davisagli has joined #zope3-dev | 22:05 | |
*** davisagli_ has joined #zope3-dev | 22:06 | |
*** J1m has quit IRC | 22:08 | |
*** markusleist has joined #zope3-dev | 22:10 | |
*** mgedmin has quit IRC | 22:13 | |
*** afd_ has quit IRC | 22:13 | |
*** __mac__ has quit IRC | 22:19 | |
*** quodt has joined #zope3-dev | 22:21 | |
*** davisagli has quit IRC | 22:22 | |
*** davisagli_ is now known as davisagli | 22:22 | |
*** agroszer has quit IRC | 22:26 | |
*** afd__ has quit IRC | 22:35 | |
*** flox has joined #zope3-dev | 22:38 | |
*** jamur2 has joined #zope3-dev | 22:38 | |
*** J1m has joined #zope3-dev | 22:43 | |
*** davisagli has quit IRC | 22:43 | |
*** jamur2 has joined #zope3-dev | 22:44 | |
*** davisagli has joined #zope3-dev | 23:00 | |
imgrey | oh no, I've got an exception | 23:07 |
imgrey | http://dpaste.com/94465/ | 23:07 |
imgrey | what should I do | 23:08 |
*** MrTopf has quit IRC | 23:08 | |
*** jamur2 has quit IRC | 23:10 | |
*** ktwilight_ has joined #zope3-dev | 23:20 | |
*** davisagli has quit IRC | 23:22 | |
*** ktwilight has quit IRC | 23:31 | |
*** MrTopf has joined #zope3-dev | 23:33 | |
*** J1m has quit IRC | 23:39 | |
imgrey | seems this is a bug ( | 23:43 |
*** davisagli has joined #zope3-dev | 23:44 | |
imgrey | https://bugs.launchpad.net/zopeproject/+bug/139993 | 23:45 |
*** greenman has quit IRC | 23:54 | |
*** jpcw has left #zope3-dev | 23:56 | |
*** pcardune has joined #zope3-dev | 23:59 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!