Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: How to structure applications using a RDBMS

by Ovid (Cardinal)
on Jul 18, 2002 at 22:57 UTC ( #183078=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $order_obj  = Foo::Order->new;
    my $orders     = $order_obj->by_date( $date );
    ...
        my $total = $order->total; # returns a value
        # do more stuff
    }
    
  2. or download this
    sub delete_me {
      my $self = shift;
    ...
      my $sql = "DELETE FROM $self->{_table} WHERE $self->{_id_name} = ?";
      return $self->{_dbh}->execute( $sql, $self->{_id_value} );
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://183078]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (18)
As of 2014-07-23 14:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (144 votes), past polls