Your SlideShare is downloading. ×
0
Entertaining pixie
Entertaining pixie
Entertaining pixie
Entertaining pixie
Entertaining pixie
Entertaining pixie
Entertaining pixie
Entertaining pixie
Entertaining pixie
Entertaining pixie
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Entertaining pixie

874

Published on

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

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

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

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
874
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
1
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Entertaining Pixie A lightening talk by Steve Purkis
  • 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. Synopsis <ul><li>use Pixie; </li></ul><ul><li>my $pixie = Pixie-&gt;new-&gt;connect( &apos;memory&apos; ); </li></ul><ul><li>my $obj = SomeObject-&gt;new; </li></ul><ul><li># Store an object </li></ul><ul><li>my $cookie = $pixie-&gt;insert( $obj ); </li></ul><ul><li>undef( $obj ); </li></ul><ul><li># Fetch it back </li></ul><ul><li>my $obj = $pixie-&gt;get( $cookie ); </li></ul><ul><li># Give it a name </li></ul><ul><li>$pixie-&gt;bind_name( &amp;quot;Some Name&amp;quot; =&gt; $obj ); </li></ul><ul><li>my $obj2 = $pixie-&gt;get_object_named( &amp;quot;Some Name&amp;quot; ); </li></ul><ul><li># Delete it </li></ul><ul><li>$pixie-&gt;delete( $cookie ) || warn &amp;quot;eek!&amp;quot;; </li></ul>
  • 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. 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. 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. 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. 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. 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. 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>

×