473,383 Members | 1,980 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

ZODB for beginners - the most simple example ?

Hi - I'm trying to use ZODB but I'm having trouble getting started.
Can anyone point me at a very simple example ?

I've had a look at 'ZODB/ZEO Programming Guide'
(http://zope.org/Wikis/ZODB/FrontPage/guide/node2.html) but although
it's good stuff it's not clear to me how the pieces of example fit
together to produce something that works.

I've also read 'Introduction to the Zope Object Database'
(http://www.python.org/workshops/2000...ton/zodb3.html)
which has good examples but they rely on a module called 'PTextIndex'
which (as far as I can see) is not defined anywhere.

So if anyone could point me at a very, very simple ZODB usage example
I'd be very grateful (and I should just say that both of the above
resources are very helpful so thanks to their authors).

thanks

Richard.
Jul 18 '05 #1
4 2224
I'd try the zo**@zope.org group.

"Richard Shea" <ri*********@fastmail.fm> wrote in message
news:28**************************@posting.google.c om...
Hi - I'm trying to use ZODB but I'm having trouble getting started.
Can anyone point me at a very simple example ?

I've had a look at 'ZODB/ZEO Programming Guide'
(http://zope.org/Wikis/ZODB/FrontPage/guide/node2.html) but although
it's good stuff it's not clear to me how the pieces of example fit
together to produce something that works.

I've also read 'Introduction to the Zope Object Database'
(http://www.python.org/workshops/2000...lton/zodb3.htm
l) which has good examples but they rely on a module called 'PTextIndex'
which (as far as I can see) is not defined anywhere.

So if anyone could point me at a very, very simple ZODB usage example
I'd be very grateful (and I should just say that both of the above
resources are very helpful so thanks to their authors).

thanks

Richard.

Jul 18 '05 #2
DH
Richard Shea wrote:
Hi - I'm trying to use ZODB but I'm having trouble getting started.
Can anyone point me at a very simple example ?

I've had a look at 'ZODB/ZEO Programming Guide'
(http://zope.org/Wikis/ZODB/FrontPage/guide/node2.html) but although
it's good stuff it's not clear to me how the pieces of example fit
together to produce something that works.

I've also read 'Introduction to the Zope Object Database'
(http://www.python.org/workshops/2000...ton/zodb3.html)
which has good examples but they rely on a module called 'PTextIndex'
which (as far as I can see) is not defined anywhere.

So if anyone could point me at a very, very simple ZODB usage example
I'd be very grateful (and I should just say that both of the above
resources are very helpful so thanks to their authors).


You're right, it's hard to find a simple, complete example. The ZODB
download doesn't include any examples either.
This article has an example, although it is over 3 years old:
http://www.informit.com/articles/article.asp?p=23413
Jul 18 '05 #3
DH <no@sp.am> wrote in message news:<jo********************@comcast.com>...
Richard Shea wrote:
Hi - I'm trying to use ZODB but I'm having trouble getting started.
Can anyone point me at a very simple example ?

I've had a look at 'ZODB/ZEO Programming Guide'
(http://zope.org/Wikis/ZODB/FrontPage/guide/node2.html) but although
it's good stuff it's not clear to me how the pieces of example fit
together to produce something that works.

I've also read 'Introduction to the Zope Object Database'
(http://www.python.org/workshops/2000...ton/zodb3.html)
which has good examples but they rely on a module called 'PTextIndex'
which (as far as I can see) is not defined anywhere.

So if anyone could point me at a very, very simple ZODB usage example
I'd be very grateful (and I should just say that both of the above
resources are very helpful so thanks to their authors).


You're right, it's hard to find a simple, complete example. The ZODB
download doesn't include any examples either.
This article has an example, although it is over 3 years old:
http://www.informit.com/articles/article.asp?p=23413

Thanks for that - it looks great, I'll have a go.

regards

richard.
Jul 18 '05 #4
"bobb" <ra*****@hotmail.com> wrote in message news:<Yd****************@nwrdny03.gnilink.net>...
I'd try the zo**@zope.org group. OK thanks for the tip.

regards

richard


"Richard Shea" <ri*********@fastmail.fm> wrote in message
news:28**************************@posting.google.c om...
Hi - I'm trying to use ZODB but I'm having trouble getting started.
Can anyone point me at a very simple example ?

I've had a look at 'ZODB/ZEO Programming Guide'
(http://zope.org/Wikis/ZODB/FrontPage/guide/node2.html) but although
it's good stuff it's not clear to me how the pieces of example fit
together to produce something that works.

I've also read 'Introduction to the Zope Object Database'

(http://www.python.org/workshops/2000...lton/zodb3.htm
l)
which has good examples but they rely on a module called 'PTextIndex'
which (as far as I can see) is not defined anywhere.

So if anyone could point me at a very, very simple ZODB usage example
I'd be very grateful (and I should just say that both of the above
resources are very helpful so thanks to their authors).

thanks

Richard.

Jul 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Gary | last post by:
If this is inappropriate here, please advise... I'm having some difficulty getting ZODB to play nice with Boa. Specifically, after creating a simple interface with a text field & btn, I added a...
49
by: Paul Rubin | last post by:
I've started a few threads before on object persistence in medium to high end server apps. This one is about low end apps, for example, a simple cgi on a personal web site that might get a dozen...
1
by: DJTB | last post by:
zodb-dev@zope.org] Hi, I'm having problems storing large amounts of objects in a ZODB. After committing changes to the database, elements are not cleared from memory. Since the number of...
10
by: ls | last post by:
Hi All, I looking for help with ZODB data export to text file. I have file Data.fs (file becomes from Plone CMS) and I have to display content structure, data like intro, body of article, etc...
1
by: Harald Armin Massa | last post by:
Hello, I am using ZODB "standalone" in version 3.3.1 within some application. Now I learn that the 3.3.x branch of ZODB is "retired". No problem so far, everything is running fine. BUT......
3
by: Rene Pijlman | last post by:
I have a productional Linux web server with a Python/Zope/Plone. Now I'd like to install a non-Zope Python/ZODB application on the same server. What is the recommended way of doing that? Option...
5
by: vd12005 | last post by:
Hello, While playing to write an inverted index (see: http://en.wikipedia.org/wiki/Inverted_index), i run out of memory with a classic dict, (i have thousand of documents and millions of terms,...
2
by: Petra Chong | last post by:
Hello all I am using Python 2.3 and ZODB (without the rest of Zope) with the following pattern: * One process which writes stuff to a ZODB instance (call it test.db) * Another process which...
3
by: Jean-Paul Calderone | last post by:
On Thu, 14 Aug 2008 16:15:11 +0200, "Diez B. Roggisch" <deets@nospam.web.dewrote: ZODB has transactions. That's probably the best way to make this code safe for concurrent use. A threading.Lock...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.