Architecture, Deployment Diagrams, Web Modeling

22
Architecture, Deployment Diagrams, Web Modeling Elizabeth Bigelow CS-15499C October 6, 2000

description

Architecture, Deployment Diagrams, Web Modeling. Elizabeth Bigelow CS-15499C October 6, 2000. Today. New schedule Project next steps Feedback Architecture in the object oriented sense Deployment diagrams Event systems. Schedule. - PowerPoint PPT Presentation

Transcript of Architecture, Deployment Diagrams, Web Modeling

Page 1: Architecture, Deployment Diagrams, Web Modeling

Architecture, Deployment Diagrams, Web ModelingElizabeth BigelowCS-15499COctober 6, 2000

Page 2: Architecture, Deployment Diagrams, Web Modeling

TodayNew scheduleProject next stepsFeedback Architecture in the object oriented senseDeployment diagramsEvent systems

Page 3: Architecture, Deployment Diagrams, Web Modeling

SchedulePlease note that schedule for presentations and mentoring sessions has been updated on the webTeams D, E, F present WednesdayMentoring sessions on FridayTwo lectures on Monday

Page 4: Architecture, Deployment Diagrams, Web Modeling

Some thoughtsWhy do a particular diagram… UML diagrams allow you to look at a

problem from different perspectives Keeping the details straight on a big

project is a major problem Big advantage in entering data once (if

possible) Diagrams are not totally orthagonal, but

at least parts that are can be tracked

Page 5: Architecture, Deployment Diagrams, Web Modeling

Why….Payoff on modeling analysis & cross-checking communicationBicycle for the mindCombination of modeling and human analysis can yield much more than narrow area of modelTrick is to know when to stop

Page 6: Architecture, Deployment Diagrams, Web Modeling

Project Next Steps and Feedback

First presentations were in general very good The primary goal was to convey to the class what the project was aboutMost teams participated evenlyEvent systems requested were not included

Page 7: Architecture, Deployment Diagrams, Web Modeling

Next stepsRefine class association diagrams to show all attributes and methodsCreate behavioral diagrams for key areas (particularly those that can change state on the site, as opposed to sheer display)Create deployment and web modelsAnalyze diagrams individually and together to see what has to be changed for implementation

Page 8: Architecture, Deployment Diagrams, Web Modeling

PresentationsTeams D, E, F should give presentations much like the previous ones, but show their diagrams at a greater level of development (particularly behavioral)All teams should create deployment and web diagrams for mentoring session and be prepared to show results of cross diagram analysis

Page 9: Architecture, Deployment Diagrams, Web Modeling

AnalysisConsistency checking (create forms for yourself to document your checks. Some people find it helpful to use copies of diagrams)Support for major queries and processesDocument potential run time problemsDetermine whether implementation object model should change Will your code track exactly to the model?

Why or why not

Page 10: Architecture, Deployment Diagrams, Web Modeling

Architecture and UMLIn UML, there are five views Structural view (Class Diagrams, Object

Diagrams) Implementation View (Component

Diagrams) Environment View (Deployment

Diagrams) Behavioral View (Sequence Diagrams,

Collaboration Diagrams, Statechart Diagrams, Activity Diagrams)

Page 11: Architecture, Deployment Diagrams, Web Modeling

Component DiagramsShow relationships and dependencies among sets of code without respect to actual physical placement of codeUse only when there is a design issue

Page 12: Architecture, Deployment Diagrams, Web Modeling

Deployment DiagramsCalled “environment” diagramShows actual physical organization of computation units and connectorsAppropriate to do at this stage--when user requirements are fairly well articulatedMay surface practical problemsShould use for “what if’s” (volume, network failures, etc.)

Page 13: Architecture, Deployment Diagrams, Web Modeling

Deployment Diagrams

Page 14: Architecture, Deployment Diagrams, Web Modeling

The WebTo date, we’ve looked at application objectsNow, we need to look at objects and components in terms of building web applications

Page 15: Architecture, Deployment Diagrams, Web Modeling

Object oriented?Fundamental component is the pageWeb servers distribute pages of information to browsersBrowser acts as generalized user interface container (specifics defined by each page’s content)Pages may be a combination of static HTML and dynamic scripted pages (ASP)

Page 16: Architecture, Deployment Diagrams, Web Modeling

Scripted PagesScripted pages contain code executed by web server (scripting engine or page filter) ultimately building an HTML formatted pagePage is sent back to browser that requests it

Page 17: Architecture, Deployment Diagrams, Web Modeling

Web Client ServerConnection exists only during a page request (connection is broken once the request is fulfilled)Business logic on the server is only activated by the execution of scripts inside the pages requested by the browserUltimate result is to update the business state of the server and prepare an HTML formatted page to the requesting browser

Page 18: Architecture, Deployment Diagrams, Web Modeling

IssuesBusiness objects are not always accessible when handling individual requests

Page 19: Architecture, Deployment Diagrams, Web Modeling

Client ScriptingAs opposed to server side (procedural), are event drivenHave no access to server resources

Page 20: Architecture, Deployment Diagrams, Web Modeling

FormsNecessary to collect informationEach form associated with an action pageWeb server finds page and executes the page’s code

Page 21: Architecture, Deployment Diagrams, Web Modeling

ComponentsServer -- there may be an intermediate tier with business logicClient may have components for execution on clients machine.In order model these effectively, UML extensions have to be used

Page 22: Architecture, Deployment Diagrams, Web Modeling

StereotypesSpecial types of classes and relationships for special, well defined purposesUse only when necessary_Really_ necessary for effective web modelingSee www.rational.com/products/whitepapers/100462jsp