Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Entertaining pixie

1,109 views

Published on

A lightening talk on Pixie, an old OO Storage system for Perl, circa 2007.

http://search.cpan.org/dist/Pixie/

Published in: Technology
  • Be the first to comment

Entertaining pixie

  1. 1. Entertaining Pixie A lightening talk by Steve Purkis
  2. 2. What is Pixie? <ul><li>An object persistency engine </li></ul><ul><li>Very basic idea </li></ul><ul><ul><li>Store objects in a data source </li></ul></ul><ul><li>Very simple api… </li></ul>
  3. 3. Synopsis <ul><li>use Pixie; </li></ul><ul><li>my $pixie = Pixie->new->connect( 'memory' ); </li></ul><ul><li>my $obj = SomeObject->new; </li></ul><ul><li># Store an object </li></ul><ul><li>my $cookie = $pixie->insert( $obj ); </li></ul><ul><li>undef( $obj ); </li></ul><ul><li># Fetch it back </li></ul><ul><li>my $obj = $pixie->get( $cookie ); </li></ul><ul><li># Give it a name </li></ul><ul><li>$pixie->bind_name( &quot;Some Name&quot; => $obj ); </li></ul><ul><li>my $obj2 = $pixie->get_object_named( &quot;Some Name&quot; ); </li></ul><ul><li># Delete it </li></ul><ul><li>$pixie->delete( $cookie ) || warn &quot;eek!&quot;; </li></ul>
  4. 4. What is Pixie? <ul><li>No db schemas. No complex queries. </li></ul><ul><li>You can focus on the code. </li></ul><ul><li>Supports various data sources: </li></ul><ul><ul><li>MySQL </li></ul></ul><ul><ul><li>Postgresql </li></ul></ul><ul><ul><li>SQLite </li></ul></ul><ul><ul><li>BerkeleyDB </li></ul></ul><ul><ul><li>Memory (for testing) </li></ul></ul>
  5. 5. As usual… <ul><li>It’s on CPAN </li></ul><ul><li>It’s been tested </li></ul><ul><li>If you’ve any problems let us know </li></ul><ul><li>(see http://pixie-perl.sourceforge.net/ ) </li></ul>
  6. 6. So what’s the deal? <ul><li>It’s been tested </li></ul><ul><li>It’s on CPAN </li></ul><ul><li>It works </li></ul>
  7. 7. So what’s the deal? <ul><li>It can be a pain to use </li></ul><ul><li>It’s slow </li></ul><ul><li>It’s not that scaleable </li></ul><ul><ul><li>(you were right, Arthur) </li></ul></ul><ul><li>The guts need cleaning up </li></ul><ul><li>It could be more extensible </li></ul>
  8. 8. Entertain Pixie? <ul><li>It can be a pain to use </li></ul><ul><li>It’s slow </li></ul><ul><li>It’s not that scaleable </li></ul><ul><ul><li>(you were right, Arthur) </li></ul></ul><ul><li>The guts need cleaning up </li></ul><ul><li>It could be more extensible </li></ul>
  9. 9. Entertain Pixie? <ul><li>The TODO list is long… </li></ul><ul><li> http://search.cpan.org/src/SPURKIS/Pixie-2.08_02/TODO </li></ul>
  10. 10. If you want to help… <ul><li>http://pixie-perl.sourceforge.net/ </li></ul><ul><li>mailing list: </li></ul><ul><ul><li>http://siesta.unixbeard.net/siesta/index.tt2 </li></ul></ul>

×