|
From: Andy T. <an...@ha...> - 2002-01-21 22:38:28
|
David LeBlanc wrote: > Gordon McMillan has a python wrapper for metakit called MkSql that puts a > familiar facade on. > > Dave LeBlanc > > >>-----Original Message----- >>From: pyt...@li... >>[mailto:pyt...@li...]On Behalf Of Kevin >>Altis >>Sent: Monday, January 21, 2002 11:05 >>To: pythoncard-Users >>Subject: RE: [Pythoncard-users] evaluating shelve module >> >> >> >>>From: Magnus Lie Hetland >>>Sent: Monday, January 21, 2002 10:50 AM >>>To: Kevin Altis >>>Cc: pythoncard-Users >>>Subject: Re: [Pythoncard-users] evaluating shelve module >>> >>> >>>Kevin Altis <al...@se...>: >>> >>>>shelve is one option we have for creating persistant data. ZODB >>>> >>>is another. >>> >>>>We can't use something like anydbm, because the actual files >>>> >>created by >> >>>>anydbm aren't portable across operating systems, only the source is >>>>portable. Dan Shafer has started looking at shelve as described >>>> >>>below. Those >>> >>>>of you interested in this area should share your findings on the list. >>>> >>>shelve is good... But if you're considering ZODB (i.e. C extensions), >>>have you taken a look at MetaKit? It's a very nice little DB engine... >>> >>No. Is this the home page? >> >> http://www.equi4.com/metakit/ >> >>One requirement we have is that the storage mechanism needs to be usable >>like a file and doesn't require a server process to be running. I >>think that >>rules out something like MySQL as simple default persistant data >>store. Feel >>free to share any MetaKit info you have. >> >>I like the idea of shelve since it is simple and built-in to Python and I >>like the idea of ZODB because it will probably be built-in to >>Python 2.3 and >>provides more capabilities. Of course, use of ZODB probably also lends >>itself to some integration between PythonCard and Zope in the >>future, but we >>may be able to simply do that via XML-RPC. >> >>ka >> And just to add my 0.7888 cents worth (damn that Australian dollar exchange rate) I currently plan to expand dbBrowser to support Gadfly (as there is now a patched version available for Python 2) and my next project is to re-write PyForm from the 2nd Edition of Programming Python in PythonCard - that uses shelve as a storage mechanism and has some pretty neat code in the back end that I shall be 'borrowing' wholesale from. If I get a chance I will also take a look at Metakit and Gordons wrapper. Progress will be reported as (and when) it is made ... Regards, Andy -- ----------------------------------------------------------------------- From the desk of Andrew J Todd esq. "Another year older, still no wiser." - Me, on my birthday |