[Koha-devel] http://wiki.koha-community.org/wiki/Koha_Namespace_RFC, moving ahead
Jared Camins-Esakov
jcamins at cpbibliography.com
Fri Jun 29 17:16:46 CEST 2012
> I would rename things to have easier and smaller names to remember and
would move things:
>
> - BusinessLogic renamed in Service
> - DBObject renamed in Data
> - DB tables in Schema
>
> Like this, we have one "layer" less (KISS):
> before: BusinessLogic -> DBObject -> DB -> Schema (-> means "use")
> after: Service -> Data -> Schema
>
> Data become the only thing to call Schema DBIx::Class and seems to me
more clear (if object needs only one table, ok, we'll have a very simple
object and crud sub if object needs more agregation, the crud sub can
become - a little bit - more complex).
+1 from me as well.
Regards,
Jared
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/koha-devel/attachments/20120629/1daafa54/attachment.htm>
More information about the Koha-devel
mailing list