<div dir="ltr"><div class="gmail_extra"><div>I completely agree. You've described the issue more succinctly and eloquently than I have by far.</div><div><br></div><div>Kyle</div><div><br></div><div>On Thu, Sep 11, 2014 at 4:15 AM, Colin Campbell <span dir="ltr"><<a href="mailto:colin.campbell@ptfs-europe.com" target="_blank">colin.campbell@ptfs-europe.com</a>></span> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Its worth keeping in mind that DBIC is an Object Relational mapper and<br>
that as such returns objects which are often better abstrations than<br>
those currently embodied in Koha's module approach which tend to fiddle<br>
with the representation of the entity not always very consistently. In a<br>
multitude of cases a ResultSet of x objects and their inherent getters<br>
and setters is all we need to construct the operations we need. In such<br>
cases wrapping the layer in another one for purely formal reasons<br>
contributes little except for more space to harbour bugs.<br>
DBIC allows you to add extra methods to these objects and I'm sure in<br>
time we'll identify plenty of these but we should be very thorough in<br>
reviewing whether we need them, how we've implemented them and whether<br>
the need is merely pointing up a shortcoming in the schema.<br>
<span class="HOEnZb"><font color="#888888"><br>
Colin<br>
<br>
--<br>
Colin Campbell<br>
Chief Software Engineer,<br>
PTFS Europe Limited<br>
Content Management and Library Solutions<br>
<a href="tel:%2B44%20%280%29%20800%20756%206803" value="+448007566803">+44 (0) 800 756 6803</a> (phone)<br>
<a href="tel:%2B44%20%280%29%207759%20633626" value="+447759633626">+44 (0) 7759 633626</a>  (mobile)<br>
<a href="mailto:colin.campbell@ptfs-europe.com">colin.campbell@ptfs-europe.com</a><br>
skype: colin_campbell2<br>
<br>
<a href="http://www.ptfs-europe.com" target="_blank">http://www.ptfs-europe.com</a><br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Koha-devel mailing list<br>
<a href="mailto:Koha-devel@lists.koha-community.org">Koha-devel@lists.koha-community.org</a><br>
<a href="http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel" target="_blank">http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel</a><br>
website : <a href="http://www.koha-community.org/" target="_blank">http://www.koha-community.org/</a><br>
git : <a href="http://git.koha-community.org/" target="_blank">http://git.koha-community.org/</a><br>
bugs : <a href="http://bugs.koha-community.org/" target="_blank">http://bugs.koha-community.org/</a><br>
</div></div></blockquote></div><br></div></div>