<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">> I am troubled by the idea that we should wrap all our dbic classes in yet more classes. Every example I've seen of this has more code by a factor of almost 10. I don't know if
 Koha is so complex that it requires a repository pattern.
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<div>
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div>I think that it would require rewriting Koha. This changeover might just be too complex for us.<br>
<br>
</div>
> How much more difficult will this be for developers, and how much more overhead will it require if we wrap our objects in more objects? We'd have to fetch the Row objects, wrap them in KohaRow objects, wrap those in a KohaRowSet, and return them. Certainly,
 but far more complicated.
<div>I would say: Leave all storage related actions in Koha::Schema. KohaRow does not make sense to me.<br>
Furthermore, define the objects that actually have 'real' business logic and put that in some Koha::Object.<br>
<br>
Marcel<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>