[Catalyst] Program the logic

Eduardo Oliveros eduardo.oliveros at gmail.com
Wed Jun 28 09:27:37 CEST 2006


Hello all,

I'm planning to program the logic of the application (the Model in
MVC) previously to start with web page and the presentation.

What is the best way to do it?

................
(some philosophical remarks :))
What I see is that what Catalyst calls Model is just the Objects that
map with the tables in the DDBB. And the logic of the application are
developed in the Actions (in fact linked to the web application).

I know is difficult in practice to separate both worlds (logic from
the presentation) but that is the false promise of the MVC pattern :).

Anyway, the question is just what is the best practice to program the
logic and test it before link the logic with the web application?.
(using the classes generated by the Class::DBI or whatever plugin).

Regards,
  Edu



More information about the Catalyst mailing list