[Koha-devel] Koha and DBIC

Marcel de Rooy M.de.Rooy at rijksmuseum.nl
Wed Sep 17 14:40:51 CEST 2014


> I would say: Leave all storage related actions in Koha::Schema. KohaRow does not make sense to me.
> Furthermore, define the objects that actually have 'real' business logic and put that in some Koha::Object.

Just to add to the confusion ;) When I wrote "some Koha::Object" here, I was not literally suggesting Koha::Object, I was thinking of something like Koha::Biblio or Koha::Patron etc.
I would not suggest to add such an object for every table in Koha. We should clearly define which objects(!) we really need, having sufficient business logic etc. to justify an interface to DBIx.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20140917/036e8ce9/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ATT00001.txt
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20140917/036e8ce9/attachment.txt>


More information about the Koha-devel mailing list