473,698 Members | 2,141 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2241
I'd try the zo**@zope.org group.

"Richard Shea" <ri*********@fa stmail.fm> wrote in message
news:28******** *************** ***@posting.goo gle.com...
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******* *************@c omcast.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*****@hotmai l.com> wrote in message news:<Yd******* *********@nwrdn y03.gnilink.net >...
I'd try the zo**@zope.org group. OK thanks for the tip.

regards

richard


"Richard Shea" <ri*********@fa stmail.fm> wrote in message
news:28******** *************** ***@posting.goo gle.com...
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
1736
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 python module and imported it into the main (wxFrame) code: (python module code) import ZODB.config db = ZODB.config.databaseFromURL('calendar.conf')
49
2550
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 hits a day. The idea is you just want to keep a few pieces of data around that the cgi can update. Immediately, typical strategies like using a MySQL database become too big a pain. Any kind of compiled and installed 3rd party module (e.g....
1
2913
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 objects I'd like to store in the ZODB is too large to fit in RAM, my program gets killed with signal 11 or signal 9... Below a minimal working (or actually: it doesn't work because of memory
10
7680
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 and save it in to simple file. However I can't use Plone XML export because is broken, Zope Corp. set low priority for this bug, so I have to find other way how to digg in to data. Could you point me in to some Python code examples, code...
1
1881
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... "retired" gives me the hint that nothing GREAT will be done to this branch anymore :)
3
1964
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 1: Install ZODB in the Python installation in the usual way. Should I expect problems when I install and run zope with that Python installation? Option 2: Do not install ZODB in the Python installation. Install Zope in the usual
5
2645
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, stemming or other filtering are not considered, i wanted to understand how to handle GB of text first). I found ZODB and try to use it a bit, but i think i must be misunderstanding how to use it even after reading...
2
2867
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 reads stuff from the above ZODB instance test.db What I find is that when the first process writes, the second doesn't
3
1699
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 would make threaded use safe, but wouldn't give you multiprocess concurrency safety. Jean-Paul
0
8601
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9156
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9021
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8892
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8860
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7716
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6518
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
3043
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2327
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.