developerWorks: Manage Perl Persistence with Pixie | Linux Today

developerWorks: Manage Perl Persistence with Pixie

Written By
Web Webster
Web Webster
Apr 14, 2003

[ Thanks to Kelley for this link.
]

“It seems everybody has their favorite persistence mechanism in
Perl. It goes with the territory–everybody has slightly different
requirements and therefore everybody needs something slightly
different. Tangram, Alzato, SPOPS, and more are all valid, capable
solutions to the problem of persistence in Perl, yet all share one
common factor–they store some sort of map, or schema,
somewhere.

“These maps simply join the correct place in the database to the
field of the object that you require. From that you can recreate an
object from the database, or place an object from memory into the
database. A friend of mine once said ‘a schema is like a template,
only backwards.’

“Having requirements set in stone doesn’t hinder you–the
database schema sits with the class, and you don’t need to worry.
However, if your requirements are going to change (and whose
aren’t?), then you’ll run into problems with having to change both
the map and the class. Additionally, I tend not to think in terms
of an RDMS, but in terms of objects.

“Pixie offers a slightly different approach in the sense that it
doesn’t require a schema or map from the class to the database–it
just stores objects…”


Complete Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.