Application architecture jumpstart
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Application architecture jumpstart

on

  • 3,106 views

...


This presentation distills the best industry guidance into a hands-on approach to designing application architectures. Along the way, we'll examine the key decisions that must be made when choosing our architectural styles and designing our layers and show how those decisions turn into real shippable code on a project.

Statistics

Views

Total Views
3,106
Views on SlideShare
750
Embed Views
2,356

Actions

Likes
0
Downloads
33
Comments
0

14 Embeds 2,356

http://www.notsotrivial.net 2269
http://feeds.feedburner.com 34
http://cloud.feedly.com 23
http://dotnet.sys-con.com 6
http://newsblur.com 4
http://feedly.com 4
http://www.newsblur.com 4
http://www.sys-con.com 3
http://digg.com 3
http://notsotrivial.net 2
http://clintedmonson.sys-con.com 1
http://feeds2.feedburner.com 1
http://trivial60.rssing.com 1
http://news.google.com 1
More...

Accessibility

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • Photo credits: http://www.flickr.com/photos/cogdog/2708223050/Creative Commons Attribution License
  • Photo credits: http://www.flickr.com/photos/dullhunk/2859826117/Creative Commons Attribution License
  • Photo credits: http://www.flickr.com/photos/rutlo/4094249840/Creative Commons Attribution License
  • Photo credits: http://www.flickr.com/photos/annahape-gallery/Creative Commons Attribution License
  • Photo credits: http://www.flickr.com/photos/wwarby/2460644803/Creative Commons Attribution License
  • Photo credits: http://www.flickr.com/photos/paalia/3582759194/Creative Commons Attribution License
  • Photo credits: http://www.flickr.com/photos/emilysoo/3863285545/Creative Commons Attribution License

Application architecture jumpstart Presentation Transcript

  • 1. A P P L I C AT I O N ARCHITECTURE J U M P S TA R T Clint Edmonson Senior Consultant Polaris Solutions clinted@polarissolutions.com
  • 2. Platinum Sponsors Gold Sponsors Silver Sponsors
  • 3. Who the heck needs architecture?
  • 4. CONQUERING COMPLEXITY • Abstraction • Partitioning
  • 5. ARCHITECTURE “A unifying or coherent form or structure.” merriam-webster.com
  • 6. DESIGN “Design, at its most fundamental, is about finding solutions.” Garr Reynolds
  • 7. ITERATIVE ARCHITECTURE & DESIGN Page 41
  • 8. 1. Identify architecture objectives A. Determine goals based on size, scope, time • Complete application • Prototype • Solving a technical risk • Exploring potential options • Building shared, reference models B. Identify target audience • Other architects • Developers • Testers • Operations
  • 9. 2. Identify key scenarios A. Define the solution’s boundaries B. Identify who will impacted by the solution C. Discover what valuable activities will be automated D. Uncover constraints that will limit the solution E. Identify activities that are most important to the success of your application F. Highlight those that are architecturally significant
  • 10. BRAINSTORMING SCOPE & KEY SCENARIOS
  • 11. 3. Create an application overview A. Determine your application type • Web • Mobile • Rich client • RIA • Web service • Some combination of the above B. Identify your deployment constraints C. Determine your relevant technologies
  • 12. 4. Identify key issues A. Cross-cutting concerns • Configuration • Security • Communication • Compression • Encryption • Logging & instrumentation • Validation • Error management B. Quality attributes • Run-time performance • Scalability • Disaster recovery
  • 13. 5. Define candidate solution(s) A. Choose an architecturally significant scenario B. Design a candidate baseline architecture C. Build out the scenario to prove it out
  • 14. FUNDAMENTAL DESIGN TOOLS • Layers • Assemblies • Namespaces
  • 15. COMMON APPLICATION ARCHITECTURE Page 10
  • 16. LAY(ER)ING IT ALL OUT • Describe the application at a high level • Identify major functional units of the design and their interdependencies • Each layer represents a logical group of projects, namespaces, and/or other artifacts
  • 17. LAYERED ARCHITECTURE DESIGN STEPS 1. Determine layers you require 2. Determine rules for interaction between layers 3. Identify cross-cutting concerns 4. Determine if you need to collapse layers 5. Choose deployment strategy
  • 18. BASELINE LAYERED ARCHITECTURE
  • 19. Physical deployment • Visualize the physical structure of a system • Executables • Libraries • Services • Focus on components of the system, their relationships, interfaces, and ports • Highlight the service behavior that they provide and consume through interfaces
  • 20. Baseline physical deployment
  • 21. Grouping layers into assemblies • Prefer fewer, larger assemblies • • • • Faster load time Reduced working set Better NGEN optimization If several assemblies are always loaded together, consider combining them into one • Partition into separate assemblies based on • • • • • Deployment Versioning Data access Security and access control Contributions from disparate sources • Avoid the one dll per namespace anti-pattern!
  • 22. Rinse, repeat, refactor… Page 41
  • 23. ANALYSIS & DESIGN ARTIFACTS • Sketch • Blueprint • Executable • They are artifacts, not documentation! • Don’t be afraid to throw them away and draw new ones!
  • 24. Architecture after several iterations
  • 25. BEST PRACTICES • Minimize upfront design • avoid starting more than one layer/namespace deep • Analyze and refactor at the beginning of each iteration • Separate functional areas of concern cleanly • Avoid duplicating responsibilities • Minimize dependencies between layers • Make it obvious where code needs to go!
  • 26. LAW OF PARSIMONY “Reduce everything to its essence so that form harmonizes with function.” Chris Kobryn
  • 27. REFERENCES • Microsoft Application Architecture Guide 2nd Edition by Microsoft Patterns & Practices Group • Microsoft .NET: Architecting Application for the Enterprise by Dino Esposito & Andrea Saltarello • Domain Driven Design by Eric Evans • Framework Design Guidelines by Krzysztof Cwalina & Brad Abrams
  • 28. Q&A