Kyle Hall schreef op di 09-09-2014 om 13:21 [-0400]: > 1) Allow find and simple searches in pl.
IMO, this is not a good idea. You're coupling database schema with code that's closer to display. All access should be via an API into the C4:: or Koha:: namespace, and the modules there are the only ones that know/care how the database is actually laid out. This means that if we want to change how things are stored[0], only one module needs to know about the change, and it can still present the same interface to code. The moment that you have more than one place talking to a fairly low-level system like the database, you are going to have problems (e.g. the issues in the current system where so many modules touch the account code that refactoring it is a huge nightmare.) [0] from fixing badly named columns/tables, to adding caching, to refactoring the schema to make it more efficient, to not using the database at all for some reason. -- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204 GPG: 5FA7 4B49 1E4D CAA4 4C38 8505 77F5 B724 F871 3BDF
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Koha-devel mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
