Hi, Please remember to CC gnucash-devel on all replies using your mailer's Reply-to-list or Reply-All functionality.
Mike King <mikek...@mikekingcourses.com> writes: > Hi Derek, > > Thanks for your reply. > > If there is no domain model as such, then I would create an entity model. The > only difference is that one uses entities instead of classes. All other > structure is the same. > > Once such a model is created to represent all the persistent data, one can > infer the required programatic behaviour in great detail, without seeing the > programs, and one can also forward engineer a relational db design from it. No need to forward-engineer it; there's already a relational db design in trunk as part of the DBI backend work already in SVN. > I use this approach as an essential base even if programming in COBOL, or > assembler, or Lisp etc COBOL? Ewww! > i.e. whatever programming language one uses, the logic of the program will be > largely constrained by the data structures and it therefore helps to know > these. > > So thanks for your comment. If I replace domain model by entity model, does > this trigger any ideas? Nope. We have no graphical represenation of the data object relationships. At least none that I know of offhand. > I have just had a look at the CASE tool (Enterprise Architect) that I am > using, and it supports the reverse engineering from C to UML class diagrams, > so I shall try to download the C source code and create the model from tlhat. > Can I find the C source on subversion? You're certainly welcome to do so. > Hope it works. -derek > Regards, > Mike King > >>> hi, > >>> Mike King <mikek...@mikekingcourses.com> ; writes: > >>> > Hi, >>> > >>> > Regarding missing documentation, I was not able to find a domain >>> model >>> > (class diagram) and have been trying to reverse engineer a diagram >>> from >>> > the design document. >>> > I attach a zip file containing my incomplete (and probably wrong) >>> > model. > >>> GnuCash is written in C. It has no classes per se. > >>> > Could someone point me to a gnucash domain model that I can download? >>> > If not, could you confirm that I am on the right track and you would >>> be >>> > welcome to add my model to the documentation. > >>> There is no such diagram that I know of. > >>> > Thanks, >>> > Mike King > >>> -derek > >>> -- >>> Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory >>> Member, MIT Student Information Processing Board (SIPB) >>> URL: http://web.mit.edu/warlord/< /a> PP-ASEL-IA N1NWH >>> warl...@mit.edu PGP key available > -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH warl...@mit.edu PGP key available _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel