develooper Front page | perl.moose | Postings from May 2010

Persistent Objects Using SQL

Thread Next
From:
Shawn H Corey
Date:
May 29, 2010 07:37
Subject:
Persistent Objects Using SQL
Message ID:
4C0126AE.90209@gmail.com
Hi,

Is the a standard methodology for persistent objects in Moose using SQL? 
  I'm writing a small web spider and I want my sites to be persistent 
objects.  Two abilities would be useful:

1.  Deferred loading:  objects are not loaded unless they're needed.

2.  Save on exit if dirty:  no need to save if they haven't been changed.

Since it's a small application, I plan to use SQLite for my database.


-- 
Just my 0.00000002 million dollars worth,
   Shawn

Programming is as much about organization and communication
as it is about coding.

The secret to great software:  Fail early & often.

Eliminate software piracy:  use only FLOSS.

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About