10
Entertaining Pixie A lightening talk by Steve Purkis

Entertaining pixie

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

Page 1: Entertaining pixie

Entertaining Pixie

A lightening talk by Steve Purkis

Page 2: Entertaining pixie

What is Pixie?

• An object persistency engine

• Very basic idea– Store objects in a data source

• Very simple api…

Page 3: Entertaining pixie

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!";

Page 4: Entertaining pixie

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)

Page 5: Entertaining pixie

As usual…

• It’s on CPAN• It’s been tested• If you’ve any problems let us know

(see http://pixie-perl.sourceforge.net/ )

Page 6: Entertaining pixie

So what’s the deal?

• It’s been tested

• It’s on CPAN

• It works

Page 7: Entertaining pixie

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

Page 8: Entertaining pixie

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

Page 9: Entertaining pixie

Entertain Pixie?

• The TODO list is long…http://search.cpan.org/src/SPURKIS/Pixie-2.08_02/TODO

Page 10: Entertaining pixie

If you want to help…

• http://pixie-perl.sourceforge.net/• mailing list:

– http://siesta.unixbeard.net/siesta/index.tt2