keryx team mailing list archive
-
keryx team
-
Mailing list archive
-
Message #00037
Libkeryx Structure - We need a decision
Two ideas:
1) Libkeryx library to interact with the definitions. This will call the
appropriate functions of the definition which will also verify their results
to make sure that they are indeed acceptable. The UI will call libkeryx
which in turn calls the appropriate definition functions.
or
2) Libkeryx can be a base class that contains everything inside of it. A
single function will return the proper class that inherits the base class
and overrides nececessary functions. There will be a set of unoverrideable
functions which the UI will call on this instance such as 'search'. The
search function will call one of the overridden functions that contains
definition specific code.
Which do you think is best? There are pros and cons of both. Please discuss
your ideas here and hopefully we can get a consensus.
--
Chris Oliver
http://excid3.com
Follow ups