Better Code Quality in Open-LIMS
6th January 2011 22:58 by Webmaster
Our main goal – in case of source code - is a better code quality of Open-LIMS. To achieve this goal, we will introduce the following topics:
- Loose coupling and dependencies of subsystems
- Event Handler
- Possibility of Extensions
- Clear layered architecture of subsystems
- Usage of exceptions
It is important for developers to work on well structured and high-quality source-code. In the current situation the modules are strongly coupled. Nearly every module requires another one. To be able to extend the source code or to re-use parts of it, the modules must be loose coupled. We will soon publish a small blog article, containing details.
Furthermore, each module should throw its own exception. The exception could be caught by the I/O logic that evokes the right behaviour. We will include module-specific exceptions in Open-LIMS later on.