[ZODB-Dev] ZODB Intro

Harm Kirchhoff harm.kirchhoff at web.de
Mon Apr 19 03:11:23 EDT 2004


I read the last two, I did not read the first one. That one is actually 
very good, but I think that the articles aim too high.

I am aiming even deeper: ZODB is good and easy to use and anyone who 
starts Python with the intention of using a database should consider 
ZODB and in order to do so, it's simplicity needs to be brought home 
even easier. What I am missing in those articles are practical issues 
for beginners:
What happens if my DB corrupts, if I loose my files ?
Can I use pprint to see the contents of my DB ?
How can I undo transactions, how can I pack ? How can I see the undolog 
and how can I set the variables for the undolog.
and so on.

Andreas Jung wrote:
> try this:
> 
> <http://www.informit.com/articles/article.asp?p=23413>
> 
> <http://zope.org/Documentation/Articles/ZODB1>
> 
> <http://zope.org/Documentation/Articles/ZODB2>
> 
> -aj
> 
> 
> --On Montag, 19. April 2004 10:40 Uhr +0900 Harm Kirchhoff 
> <harm.kirchhoff at web.de> wrote:
> 
>> I looked for them, but could not find them. I also googled for them but
>> could not find them. I looked over most of the articles, at www.zope.org
>> but found them much too unspecific for beginners.
>>
>> Maybe you could point out the articles you meant in more detail ?
>>
>> The point I am making is that hands-on examples for absolute ZODB
>> beginners are rare and do not exist in a consistent collection that will
>> give an instant 'Ah-it's really easy.' experience.
>>
>> Andreas Jung wrote:
>>
>>> There are at least two articles from Amos Lattmeier explaining how to
>>> with the ZODB  from Python.
>>> They should be available from the documentation sections on zope.org.
>>>
>>> -aj
>>>
>>> --On Sonntag, 18. April 2004 19:18 Uhr +0900 Harm Kirchhoff
>>> <harm.kirchhoff at web.de> wrote:
>>>
>>>> When I started with Zope, I was really only interested in the ZODB.
>>>>
>>>> The start with ZODB was a difficult one, because most of the literature
>>>> focuses on Zope's web capabilities. Comments on the ZODB are often only
>>>> by the way and oudated.
>>>>
>>>> After having mastered the ZODB to a level that I can do what I want, I
>>>> sat down and wrote a small set of code examples for absolute beginners
>>>> to get started with the ZODB quicker and to avoid the frustrations I
>>>> had, spending hours to find out simple things.
>>>>
>>>> I wonder:
>>>> a. Is there anyone with some deeper knowledge for the ZODB, who is
>>>> willing to give this very, very simple Intro a proof read, and
>>>> b. may be able to add some short technical background to give a rounder
>>>> picture.
>>>>
>>>> The python module is about 730 lines, including a lot of cut an pastes
>>>> from the python command line and explanations + sources for additional
>>>> reading &c.
>>>> The code itself is really primitive because I tried to avoid anything
>>>> that goes beyond a beginner's understanding of python.
>>>> Probably the biggest problem for a ZODB guru would be to hold back and
>>>> not add all kind of complicating information to the module. (The BTree
>>>> part could do with one more example, though.)
>>>>
>>>> I would try to have this module hosted on www.zope.org so that anyone
>>>> interested could find it more easily.
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> For more information about ZODB, see the ZODB Wiki:
>>>> http://www.zope.org/Wikis/ZODB/
>>>>
>>>> ZODB-Dev mailing list  -  ZODB-Dev at zope.org
>>>> http://mail.zope.org/mailman/listinfo/zodb-dev
>>>
>>>
>>>
>>>
>>>
>>>
> 
> 
> 
> 
> 

-- 
Harm Kirchhoff
3-10-7 Taka-Kura-Dai
Sakai-shi, Osaka-fu
590-0117 JAPAN

Tel. +81-72-297-2536
Mob. +81-70-5653-8220




More information about the ZODB-Dev mailing list