[Koha-bugs] [Bug 13738] Add RESTful Borrower service

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Feb 23 14:28:07 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13738

--- Comment #7 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
(In reply to Katrin Fischer from comment #5)
> About the delete - this will probably create a problem with lists if we
> don't use the internal functions. We do a bit more there and not all is
> caught by FK constraints in the database (actually there are some bugs for
> stuff that we should catch, but don't).

That's sort of the point of my comment cait..  I'd like to see the Objects
moving towards being a single piont fo truth.. so i'd rather see the logic
around deleting, creating, updateing and even reading a borrower moved from
C4::Members into Koha::Borrowers... whether this starts as the Koha::Borrower
object referencing the C4::Members routine, or writing it properly I don't
really mind.. but in new code I'd certainly like to strive for 'doing it right'
the first time and using only the Koha::* stuff in the Koha::Services unless
absolutely nesessary.

Just my thoughts

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list