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.