cpsc 875 cpsc 875
play

CPSC 875 CPSC 875 John D McGregor John D. McGregor Class 5 Design - PowerPoint PPT Presentation

CPSC 875 CPSC 875 John D McGregor John D. McGregor Class 5 Design Concept Styles and patterns Styles and patterns An architecture style and a pattern are very An architecture style and a pattern are very similar A pattern may have


  1. CPSC 875 CPSC 875 John D McGregor John D. McGregor Class 5 – Design Concept

  2. Styles and patterns Styles and patterns • An architecture style and a pattern are very An architecture style and a pattern are very similar • A pattern may have more information • A pattern may have more information, particularly more information about trade ‐ offs among attributes among attributes.

  3. Logical/Physical Logical/Physical • Separate processes Separate processes • Separate hardware • Usually have multiple processes on single ll h l i l i l hardware element • Seldom have single process on multiple hardware • Start at the logical level • Then conform to physical deployment Then conform to physical deployment environment

  4. Ubiquitous architecture styles Ubiquitous architecture styles • Layers Layers

  5. Ubiquitous architecture styles Ubiquitous architecture styles • Client/Server Client/Server request DB client server return

  6. Master/Slave Master/Slave • http://hudson ‐ ci org/docs/HudsonArch ‐ http://hudson ci.org/docs/HudsonArch Execution.pdf

  7. Model ‐ View ‐ Controller Model View Controller • http://www.dossier ‐ p // andreas.net/software_architecture/mvc.html • As anti ‐ pattern – http://broadcast.oreilly.com/2008/10/mvc ‐ as ‐ anti ‐ pattern.html // / / /

  8. MVC MVC

  9. What are the essentials? What are the essentials? • Separation of data from presentation Separation of data from presentation – Have multiple views • Separation of control from presentation • Separation of control from presentation – Have multiple controllers • Attributes – Extensible

  10. Decomposition 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 System Editor Model d l menu Properties editor Controller Controller Controller Controller Data Editor Model System System Editor Editor System Model menu Properties editor

  11. Extension Extension Controller Controller Controller Controller Controller Data Editor Model Editor Model S System t Editor System Model menu Properties editor Controller Controller Controller Controller Data Editor Model System Editor System Model DataBase menu Properties editor

  12. Pipeline Pipeline • http://msdn.microsoft.com/en ‐ us/library/ff963548.aspx p // / / y/ p

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend