<div dir="ltr">I agree. I'd rather use DBIC directly and extend what we already have. It's just an idea if the conclusion is we can't do that.<div><br></div><div>Kyle</div></div><div class="gmail_extra"><br clear="all"><div><a href="http://www.kylehall.info" target="_blank">http://www.kylehall.info</a><br>ByWater Solutions ( <a href="http://bywatersolutions.com" target="_blank">http://bywatersolutions.com</a> )<br>Meadville Public Library ( <a href="http://www.meadvillelibrary.org" target="_blank">http://www.meadvillelibrary.org</a> )<br>Crawford County Federated Library System ( <a href="http://www.ccfls.org" target="_blank">http://www.ccfls.org</a> )<br>Mill Run Technology Solutions ( <a href="http://millruntech.com" target="_blank">http://millruntech.com</a> )<br></div>
<br><div class="gmail_quote">On Wed, Sep 17, 2014 at 6:49 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><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">A Koha::Object sounds like extremely poor design. What kind of object is<br>
a Koha::Object, what are its properties, when we say a Koha::Biblio isa<br>
Koha::Object what does that mean? In practice what meaningful properties<br>
it has it inherits from Koha::Schema::Result::Biblio which is liable to<br>
be a better representation than the vaguer Onject.<br>
<br>
In practice I've recently written some scripts which in first version<br>
used some abstractions built around dbic ResultSets, As I added to them<br>
I stripped out out the abstractions and used the dbic result sets as I<br>
found this generated cleaner, more straightforward code.<br>
<span class="im HOEnZb"><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>
</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>