Sunday, May 2, 2010


If you would try to visualize an architecture of the product, how would it look like ?


One of the course idea for architecture is an awareness of layers, one on another, looks like Pyramid. Each layer references next one. Layers do not jump over each other. Keeping a notion of Parent->Child relationship or Client-Server or Master-Slave(this term is not used anymore).

For every class there is a client, so Class is a “server” and most probably it references another one. So that class is a “server” and a client for another server.

so per this concept.

rule 1: parent can reference child and not the child’s child

rule 2: child does not tell parent what to do, maximum it tells parent what has happened in means of return values or events. Parent will decide on next actions.


Post a Comment