Upload
steve-purkis
View
875
Download
3
Embed Size (px)
DESCRIPTION
A lightening talk on Pixie, an old OO Storage system for Perl, circa 2007.http://search.cpan.org/dist/Pixie/
Citation preview
Entertaining Pixie
A lightening talk by Steve Purkis
What is Pixie?
• An object persistency engine
• Very basic idea– Store objects in a data source
• Very simple api…
Synopsisuse Pixie;
my $pixie = Pixie->new->connect( 'memory' );my $obj = SomeObject->new;
# Store an objectmy $cookie = $pixie->insert( $obj );
undef( $obj );
# Fetch it backmy $obj = $pixie->get( $cookie );
# Give it a name$pixie->bind_name( "Some Name" => $obj );my $obj2 = $pixie->get_object_named( "Some Name" );
# Delete it$pixie->delete( $cookie ) || warn "eek!";
What is Pixie?
• No db schemas. No complex queries.• You can focus on the code.• Supports various data sources:
– MySQL– Postgresql– SQLite– BerkeleyDB– Memory (for testing)
As usual…
• It’s on CPAN• It’s been tested• If you’ve any problems let us know
(see http://pixie-perl.sourceforge.net/ )
So what’s the deal?
• It’s been tested
• It’s on CPAN
• It works
So what’s the deal?
• It can be a pain to use
• It’s slow
• It’s not that scaleable(you were right, Arthur)
• The guts need cleaning up
• It could be more extensible
Entertain Pixie?
• It can be a pain to use
• It’s slow
• It’s not that scaleable(you were right, Arthur)
• The guts need cleaning up
• It could be more extensible
Entertain Pixie?
• The TODO list is long…http://search.cpan.org/src/SPURKIS/Pixie-2.08_02/TODO
If you want to help…
• http://pixie-perl.sourceforge.net/• mailing list:
– http://siesta.unixbeard.net/siesta/index.tt2