220 likes | 461 Views
CPSC 875. John D. McGregor Design Concept. Reference architecture. http://gmsec.gsfc.nasa.gov/architecture.php. Reference architecture - 2. Styles and patterns. An architecture style and a pattern are very similar
E N D
CPSC 875 John D. McGregor Design Concept
Reference architecture http://gmsec.gsfc.nasa.gov/architecture.php
Styles and patterns • An architecture style and a pattern are very similar • A pattern may have more information, particularly more information about trade-offs among attributes.
Logical/Physical • Separate processes • Separate hardware • Usually have multiple processes on single hardware element • Seldom have single process on multiple hardware • Start at the logical level • Then conform to physical deployment environment
Static/Dynamic • Structures are static • Flows are dynamic • Modularity is a property of the static • Latency is a property of the dynamic
Ubiquitous architecture styles • Layers
Ubiquitous architecture styles • Client/Server client server request DB return
Master/Slave • http://hudson-ci.org/docs/HudsonArch-Execution.pdf
Model-View-Controller • http://developer.apple.com/library/mac/#documentation/General/Conceptual/DevPedia-CocoaCore/MVC.html • http://www.dossier-andreas.net/software_architecture/mvc.html • As anti-pattern • http://broadcast.oreilly.com/2008/10/mvc-as-anti-pattern.html
What are the essentials? • Separation of data from presentation • Have multiple views • Separation of control from presentation • Have multiple controllers • Attributes • Extensible
Decomposition • Our value computation is an interactive system. So we can start with MVC from slide 16 and decompose from there. Controller Controller Controller Controller View Model Data Editor Model System menu Properties editor Controller Controller Controller Controller Data Editor System Model Editor Model System menu Properties editor
Extension Controller Controller Controller Controller Data Editor System Model Editor Model System menu Properties editor Controller Controller Controller Controller Data Editor System Model DataBase Editor Model System menu Properties editor
Pipe and filter • Graphics pipeline • http://msdn.microsoft.com/en-us/library/ff963548.aspx