Which perl module to use for object persistence
Which perl module to use for object persistence
am 31.01.2006 21:22:12 von Badari Kakumani
folks,
in our project we are planning to persistently store some objects.
any recommendations for which modules to use?
anybody used:
app-repository at http://cpan.uwinnipeg.ca/dist/App-Repository or
object persistence at :
http://search.cpan.org/~vipul/Object-Persistence-0.92/lib/Pe rsistence/Object/Simple.pm
any pointers/suggestions are greately appreciated.
thanks,
-badari
Re: Which perl module to use for object persistence
am 31.01.2006 22:21:06 von John Bokma
"Badari Kakumani" wrote:
> folks,
>
> in our project we are planning to persistently store some objects.
> any recommendations for which modules to use?
I have been using Storable for some small things, so no idea if it's ok
for your project.
--
John Small Perl scripts: http://johnbokma.com/perl/
Perl programmer available: http://castleamber.com/
I ploink googlegroups.com :-)
Re: Which perl module to use for object persistence
am 01.02.2006 07:09:31 von tom
Hi,
For my experience, Storable is good for both small and big stuffs. But
you should take care of 64-bit platform.
Tom
Badari Kakumani wrote:
> folks,
>
> in our project we are planning to persistently store some objects.
> any recommendations for which modules to use?
>
> anybody used:
> app-repository at http://cpan.uwinnipeg.ca/dist/App-Repository or
> object persistence at :
> http://search.cpan.org/~vipul/Object-Persistence-0.92/lib/Pe rsistence/Object/Simple.pm
>
> any pointers/suggestions are greately appreciated.
>
> thanks,
> -badari
Re: Which perl module to use for object persistence
am 01.02.2006 07:55:24 von xhoster
"Badari Kakumani" wrote:
> folks,
>
> in our project we are planning to persistently store some objects.
> any recommendations for which modules to use?
What are your requirements for ACID (atomicity, concurrency, isolation, and
durability)? How many objects, how big, and how often do you want to
manipulate them?
>
> anybody used:
> app-repository at http://cpan.uwinnipeg.ca/dist/App-Repository or
I couldn't get it to install with cpan. It doesn't resolve it's
dependencies automatically, and I ran into a few manually that I could find
on CPAN, so I gave up. I also didn't see much discussion of it on the
web/usenet other than FAIL reports from the CPAN testers and uploads by the
author. I would consider both of those to be bad signs.
> object persistence at :
> http://search.cpan.org/~vipul/Object-Persistence-0.92/lib/Pe rsistence/Obj
> ect/Simple.pm
Haven't used or attempted to use it.
>
> any pointers/suggestions are greately appreciated.
I like Storable for small thing (or large things that fit in memory and can
be kept a while before writing them back out), and I really like DBM::Deep
for large. I haven't used them where ACIDity was necessary, and suspect
they are somewhat lacking there.
Xho
--
-------------------- http://NewsReader.Com/ --------------------
Usenet Newsgroup Service $9.95/Month 30GB
Re: Which perl module to use for object persistence
am 01.02.2006 16:01:41 von metaperl
Would an object-relational mapper like DBIx::Class be appropriate?
Are you aware of the Perl object-oriented Persistance mailing list
(poop.sf.net).