|
@open source: the link points to an example, tied to a special file module
cusmstf. You would need an instance of this for every file.
If someone would provide a program, generating such modules, this might be
called open source.
@interface: having one entry point with an parameter Action is not best
practice of modularisation. Why not export insertCusmst, updateCusmst,
SetllCusmst... with only those parms, which are needed?
This would be more handy to use too, replacing the RLA Opcodes in the
current programs with very similar calls. (BTW this should be done by a
generic program, generating the needed code.
@modernisation: such a programm could be a first step in the right
direction, it decouples business logic from database IO, but there are
follow ons needed:
- changing the table layout of the underlying table, the change has to be
made for the I/O module only. keeping the current version adding a new!!!
now recompile orgies of business layer.
possibility of instead triggers, giving new possibilities for database
redesign steps.
- replacing rla by sql, multiple of these I/O modules could share same
logic (different order only).
- replacing rla by SQL, the modules could be enhanced by an exported
subprocedure setOrderByCusmst (BTW: I'm using this as exercise in one of my
workshops)
- replacing rla by SQL the setllCusmst could be enhanced by the
possibility to use non key values for setll
- replacing rla by SQL the module could be enhanced by an exported
procedure filterCusmst (setting a where clause)
@joining files: this should be done in most cases in the view layer anyway.
This might be a starting point, but at the moment, it's only making a
difference in programs where I replace the RLA by calls to such an I/O
module. As long as the implementation of the module simply reflects one to
one the same RLA operations nothing has really changed.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.