<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://permalink.gmane.org/gmane.comp.web.zope.grok.devel">
    <title>gmane.comp.web.zope.grok.devel</title>
    <link>http://permalink.gmane.org/gmane.comp.web.zope.grok.devel</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6370"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6369"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6368"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6367"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6366"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6365"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6364"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6363"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6362"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6361"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6360"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6359"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6358"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6357"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6356"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6355"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6354"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6353"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6352"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6351"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6370">
    <title>Re: adding objects to context from __init__</title>
    <link>http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6370</link>
    <description>
[..]


comment from a lurker:

Browsing through the tutorial I've seen that the important
topic of persisting mutable objects is covered (good!) by
using the '_p_changed' magic but I just want to ask the
question whether people consider this to be best practice?

At least I switched to using the persistent types that the
ZODB provides for exactly that reason (PersistentList and
PersistentMapping). Maybe this could be mentioned somewhere
in the tutorial? (unless it is and I just messed it)

Raphael



</description>
    <dc:creator>Raphael Ritz</dc:creator>
    <dc:date>2008-10-07T10:49:32</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6369">
    <title>Re: adding objects to context from __init__</title>
    <link>http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6369</link>
    <description>Well, Brandon's answer got out a little quicker than mine, but since  
this is a very common question and the distinction between class  
attributes and object attributes is easily blurred since Python will  
look for class attributes in the absence of an object attribute during  
object attribute look-up, I wrote up my explanation in documentation:

http://grok.zope.org/documentation/how-to/understanding-default-values-for-object-database/view

This explanation is still a bit verbose. Brandon, feel free to go  
through and make the important bits in **bold** text :)

It might also be nice to expand it with a discussion on properties and  
FieldProperties ... and to make the text not-so dry I could upload  
some photos taken from my excellent shoe collection ... :)

http://www.flickr.com/photos/kteague/782104678/
</description>
    <dc:creator>Kevin Teague</dc:creator>
    <dc:date>2008-10-04T23:12:29</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6368">
    <title>Re: adding objects to context from __init__</title>
    <link>http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6368</link>
    <description>

The difference you are seeing has do to with how Python works.  Roughly
speaking, when you ask an object for its "foo" attribute with something
like "print mysample.foo", it looks:

 - For a "foo" attribute on the "mysample" instance.
 - For a "foo" attribute on the class "Sample".
 - For a "foo" attribute on all the parent classes of "Sample".
 - For a "foo" attribute on the metaclass.

And Python returns the first value discovered.  So, when you say:

class Sample(grok.Application, grok.Container):
    text = 'default text'

you are creating a "safety" or "fall-through" value that will be
returned if an object is asked for its attribute "text" but does not
actually have one.  So:

'default text'
'not the default text'

You see?  Until the "s" instance is given its own value for "text", it
uses the default one stored up in the class.


I apologize if my using capital letters looks offensive, but I'm really
just trying to be very, very clear:

 - The variable "text" on the CLASS does NOT get persisted or s</description>
    <dc:creator>Brandon Craig Rhodes</dc:creator>
    <dc:date>2008-10-04T22:03:27</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6367">
    <title>Re: ZODB and storing, retrieving, deleting, use of ID</title>
    <link>http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6367</link>
    <description>
* Randomised keys have better efficiency when filling a B-Tree. You need 
to check that the randomly generated key does not already exist.

* Store the length with a BTrees.Length.Length and increment/decrement 
as you add/delete.

Laurence
</description>
    <dc:creator>Laurence Rowe</dc:creator>
    <dc:date>2008-10-04T21:57:44</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6366">
    <title>sample app BookShelf</title>
    <link>http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6366</link>
    <description>I got BookShelf from:  svn://svn.zope.org/repos/main/grokapps/BookShelf


It didn't have a bookstrap.py, so I put one in.  It had  
bootstrap.cfg.  I am new to buildouts, is this ok to do?


When I ran this:  python2.4 bootstrap.py

I got this:
----------------------------------------
Creating directory '/Users/john/sameple_grok/grokapps/BookShelf/bin'.
Creating directory '/Users/john/sameple_grok/grokapps/BookShelf/parts'.
Creating directory '/Users/john/sameple_grok/grokapps/BookShelf/ 
develop-eggs'.
Generated script '/Users/john/sameple_grok/grokapps/BookShelf/bin/ 
buildout'.
Develop: '/Users/john/sameple_grok/grokapps/BookShelf/.'
Develop: '/Users/john/sameple_grok/grokapps/BookShelf/.'
While:
   Installing.
   Getting section eggbasket.
Error: The referenced section, 'eggbasket', was not defined.
pb:~/sameple_grok/grokapps/BookShelf john$ ./
pb:~/sameple_grok/grokapps/BookShelf john$ svn infoPath: .
URL: svn://svn.zope.org/repos/main/grokapps/BookShelf
Repository Root: svn://svn.zope.org/repos/main
Re</description>
    <dc:creator>John de la Garza</dc:creator>
    <dc:date>2008-10-04T21:49:09</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6365">
    <title>ZODB and storing, retrieving, deleting, use of ID</title>
    <link>http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6365</link>
    <description>I'm making an app that has polls for voting... When I make a Poll  
object to I have to create an ID so I can find it again.  I'm comming  
froma RDBMS background and am wondering if there are any articles  
that would helpl me transistion.  For example should the ID be the  
last object id + 1?  I saw some sample code that kept the objects in  
a list then just got the length of the list, but if items are deleted  
then using the len as the ID could be trouble (not unique).... any  
feed back would be apprecitated.  I've read intro to ZODB (Jim  
Fulton) but it doesn't mention deleting
</description>
    <dc:creator>John de la Garza</dc:creator>
    <dc:date>2008-10-04T20:54:48</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6364">
    <title>adding objects to context from __init__</title>
    <link>http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6364</link>
    <description>In the tutorial the first demo of persistent objects did this:

class Sample(grok.Application, grok.Container):
     text = 'default text'


Then as the tutorial goes on they do this:

class Sample(grok.Application, grok.Container):
     def __init__(self):
         super(Sample, self).__init__()
         self.list = []


Why don't we have to add the string the same way as the list?

I mean the variable text gets persisted between restarts of the  
server, but if we added a list by doing this:

class Sample(grok.Application, grok.Container):
     list = []


it would be reset to empty every time we restarted the server


I'd expect text='default text' to have the same resetting as list=[]


What am I over looking?
</description>
    <dc:creator>John de la Garza</dc:creator>
    <dc:date>2008-10-04T17:21:14</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6363">
    <title>Re: broken link for tutorial</title>
    <link>http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6363</link>
    <description>
On Oct 1, 2008, at 6:56 AM, Godefroid Chapelle wrote:


I've put the files in there (using the root account, then chown'ed  
them to jw.jw).

The PDF links are currently missing for the Reference docs and  
complete Documentation PDF,  because I took them out when I was  
working on the docs (since I was having trouble building these on the  
Mac ...)((I'd also intended to make the PDF links a bit nicer and  
perhaps put them in a sidebar-type area but haven't got around to it  
yet))

I'll look at building the PDF on the server - if that works, then I  
can update the release instructions for building the docs.
</description>
    <dc:creator>Kevin Teague</dc:creator>
    <dc:date>2008-10-01T14:45:06</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6362">
    <title>Re: broken link for tutorial</title>
    <link>http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6362</link>
    <description>
I just tried to do it. Unfortunately, even though I have ssh access, I 
cannot write to the given directory, it's under jw ownership/group...

</description>
    <dc:creator>Godefroid Chapelle</dc:creator>
    <dc:date>2008-10-01T13:56:33</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6361">
    <title>Re: volunteer: update grok.zope.org to include references to python 2.5</title>
    <link>http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6361</link>
    <description>Hey Kevin,

Thanks for integrating the Plone site with the official documentation, 
I'm really happy that this is done now!

Regards,

Martijn
</description>
    <dc:creator>Martijn Faassen</dc:creator>
    <dc:date>2008-10-01T13:23:38</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6360">
    <title>Re: broken link for tutorial</title>
    <link>http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6360</link>
    <description>_______________________________________________
Grok-dev mailing list
Grok-dev&lt; at &gt;zope.org
http://mail.zope.org/mailman/listinfo/grok-dev
</description>
    <dc:creator>Uli Fouquet</dc:creator>
    <dc:date>2008-10-01T12:56:13</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6359">
    <title>broken link for tutorial</title>
    <link>http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6359</link>
    <description>_______________________________________________
Grok-dev mailing list
Grok-dev&lt; at &gt;zope.org
http://mail.zope.org/mailman/listinfo/grok-dev
</description>
    <dc:creator>Yvan Strahm</dc:creator>
    <dc:date>2008-10-01T11:45:48</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6358">
    <title>Re: volunteer: update grok.zope.org to includereferences to python 2.5</title>
    <link>http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6358</link>
    <description>

I've just updated the Grok Documentation home page (http://grok.zope.org/documentation/ 
) so that there are a number of lnks into the Official Grok  
Documentation. I deleted the old, outdated copies of the docs which  
were inside Plone (so people won't accidentally update the wrong  
resource), as well as put an Apache rewrite rule in place to preserve  
any old links.

I took a quick pass on the documentation home page at separating the  
Official Grok Doc links from the Community Grok Doc links - maybe this  
could be a little cleaner, but it's good enough for me :P

We are also running on Plone 3.0.5 ATM - I'm running a dev sandbox  
site on 3.1 and it all seems quite happy so I'll probably update the  
production site soon-ish.

I don't know about all this Python 2.5 stuff though - this is really  
going to make my "Python 2.4 for Life" tattoo look kind of silly.
</description>
    <dc:creator>Kevin Teague</dc:creator>
    <dc:date>2008-10-01T07:21:01</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6357">
    <title>Re: trying to get sample code</title>
    <link>http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6357</link>
    <description>
For examples, also definitely look at the stuff under 'grokapps':

svn://svn.zope.org/repos/main/grokapps/&lt;someapphere&gt;/trunk

Regards,

Martijn
</description>
    <dc:creator>Martijn Faassen</dc:creator>
    <dc:date>2008-09-30T15:57:01</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6356">
    <title>Re: [Checkins] SVN: grokproject/tags/0.9/ Create releasetag.</title>
    <link>http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6356</link>
    <description>
Hm, I admit I missed Michael's message, so that can't have helped. We 
saw the branch for paste support when doing the release but I figured it 
was a lot of changes to drop in all of a sudden.


I think we already got the alternative i18n recipes in there? At least 
*some* alternative i18n messages made it into the trunk - is this 
another set again? I do see a recent branch that seems to be about 
supplying grokproject with an alternative release URL.

I agree with JW we could make another release after the merge without 
waiting for a full Grok release. Note though that I *would* like to 
mention 'paste support' as a major new feature of the *next* version of 
Grok though. :)

I think we need to work a bit on the coordination around grokproject. 
I'll try to pay better attention to what's up myself.

Regards,

Martijn
</description>
    <dc:creator>Martijn Faassen</dc:creator>
    <dc:date>2008-09-30T13:24:08</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6355">
    <title>Re: Is it feasible to intermingle a Zope3 applicationwith Grok?</title>
    <link>http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6355</link>
    <description>Hey,

rogererens wrote:

No, you could start using the grokcore.* pieces in Zope 3 right away; 
grokcore.component is the easiest. You could use them for new stuff. If 
you want to convert the old stuff to use Grok you'd need to rewrite the 
code slightly, but there's no need to do this.

This wouldn't entail using all of Grok, but much of Grok is now spun off 
into those pieces and the explicit aim is for them to be reusable in 
non-Grok Zope 3 and Zope 2 applications.


Nope, this isn't there yet. People have spoken about adding one but it 
hasn't happened yet.

Regards,

Martijn
</description>
    <dc:creator>Martijn Faassen</dc:creator>
    <dc:date>2008-09-30T13:09:26</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6354">
    <title>Re: post-0.14-release notes</title>
    <link>http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6354</link>
    <description>On Tue, Sep 30, 2008 at 12:34 PM, Philipp von Weitershausen
&lt;philipp&lt; at &gt;weitershausen.de&gt; wrote:

Ok. I'll add it to the versions.cfg on the grok-trunk then.


With the fixed grok-0.14.cfg file, yes, that's how it now works.


regards,
jw
</description>
    <dc:creator>Jan-Wijbrand Kolman</dc:creator>
    <dc:date>2008-09-30T11:04:16</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6353">
    <title>Re: post-0.14-release notes</title>
    <link>http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6353</link>
    <description>El 30 Sep 2008, a las 12:26 , Jan-Wijbrand Kolman escribió:

Cool, thx.


I don't think we should look at versions.cfg as a list of dependencies  
that Grok has. Rather, I think it's a known-good set description and  
grokui.admin simply is part of the whole set of software, *especially*  
if grokproject adds it to the sandbox automatically.


Sure, preferrably by means of Grok's version.cfg (which is how it  
already works, right?).
</description>
    <dc:creator>Philipp von Weitershausen</dc:creator>
    <dc:date>2008-09-30T10:34:45</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6352">
    <title>Re: post-0.14-release notes</title>
    <link>http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6352</link>
    <description>
http://grok.zope.org/releaseinfo/grok-0.14.cfg is fixed now.


Interesting point... It is not a dependency of Grok iteself. I would
thus expect it not to be in the versions.cfg of Grok.

Should grokproject add the grokui.admin versions spec in the
versions.cfg file that is created for a new project?

regards,
jw

--
Jan-Wijbrand Kolman
</description>
    <dc:creator>Jan-Wijbrand Kolman</dc:creator>
    <dc:date>2008-09-30T10:26:20</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6351">
    <title>Re: post-0.14-release notes</title>
    <link>http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6351</link>
    <description>_______________________________________________
Grok-dev mailing list
Grok-dev&lt; at &gt;zope.org
http://mail.zope.org/mailman/listinfo/grok-dev
</description>
    <dc:creator>Uli Fouquet</dc:creator>
    <dc:date>2008-09-30T09:40:18</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6350">
    <title>Re: post-0.14-release notes</title>
    <link>http://permalink.gmane.org/gmane.comp.web.zope.grok.devel/6350</link>
    <description>
Also, grok 0.14's version list [1] doesn't include grokui.admin. So 
effectively grokui.admin is a free-floating dependency and not 
version-pinned. IMHO this should be fixed asap.


[1] http://grok.zope.org/releaseinfo/grok-0.14.cfg
</description>
    <dc:creator>Philipp von Weitershausen</dc:creator>
    <dc:date>2008-09-30T08:15:17</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.web.zope.grok.devel">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.web.zope.grok.devel</link>
  </textinput>
</rdf:RDF>
