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

Re^4: Class::DBI -- does it get any easier?

by drewbie (Chaplain)
on Nov 12, 2004 at 20:09 UTC ( [id://407506]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Class::DBI -- does it get any easier?
in thread Class::DBI -- does it get any easier?

I think I didn't properly state my question. Let's say I want to add business logic to the module, say a login() method. This method would take some input and then set/clear columns as appropriate such that a user is now logged in. It might even call methods in other modules. So constraints, triggers, etc would not accomplish this.

I assume others are doing the same.

  • Comment on Re^4: Class::DBI -- does it get any easier?

Replies are listed 'Best First'.
Re^5: Class::DBI -- does it get any easier?
by geektron (Curate) on Nov 12, 2004 at 21:00 UTC
    that's application logic, in my mind, and not data logic ...

    that's not the goal of Class::DBI. you can do that same get/set operation at the app level, and good MVC would say that you don't do it at the data level.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (2)
As of 2024-04-19 19:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found