Was tut ein guter Software Architekt? Eberhard Wolff Architecture - - PowerPoint PPT Presentation

was tut ein guter software architekt
SMART_READER_LITE
LIVE PREVIEW

Was tut ein guter Software Architekt? Eberhard Wolff Architecture - - PowerPoint PPT Presentation

Was tut ein guter Software Architekt? Eberhard Wolff Architecture and Technology Manager adesso AG 28.03.12 About Me Eberhard Wolff Architecture & Technology Manager at adesso adesso is a leading IT consultancy in the German


slide-1
SLIDE 1

28.03.12

Was tut ein guter Software Architekt?

Eberhard Wolff Architecture and Technology Manager adesso AG

slide-2
SLIDE 2

About Me

► Eberhard Wolff ► Architecture & Technology Manager at adesso ► adesso is a leading IT consultancy in the German speaking region ► Speaker ► Author ► Responsible for the Architect Training Program at adesso AG ► Blog: http://ewolff.com ► Twitter: @ewolff ► http://www.slideshare.net/ewolff ► eberhard.wolff@adesso.de

Was tut ein guter Software Architekt? 28.03.12

slide-3
SLIDE 3

Software Architect

Software architect is a general term with many accepted definitions which refers to a broad range of roles. Not really well defined…

Was tut ein guter Software Architekt? 28.03.12

slide-4
SLIDE 4

Software Architecture: Definition 1

28.03.12 Was tut ein guter Software Architekt?

The software architecture are those decisions that are hard to change Martin Fowler

slide-5
SLIDE 5

Decisions: A Close Look

► Architect makes decision that are hard to change ► Architect is responsible ► Architect takes responsibility ► Is responsible for the commercial success

> Wrong decisions hard to revise > i.e. effort and costs must be considered

► Do you know the Business Value of your project? ► Do you know the stakeholders and their agenda? ► How do your decisions match that?

28.03.12 Was tut ein guter Software Architekt?

slide-6
SLIDE 6

Decide based on business value Know the business value!

28.03.12 Was tut ein guter Software Architekt?

slide-7
SLIDE 7

Technology Decision

► Which technologies and approaches will you use? ► Important part of architecture ► Need to know technologies and when to use what ► I.e. broad knowledge – don’t get lost in details ► But you should know some basic technologies by heart ► It helps to have an interest in technologies ► Must not like technologies as an ends in itself ► …but as a tool ► Does it help to solve the problem? ► Does it actually make my life easier?

28.03.12 Was tut ein guter Software Architekt?

slide-8
SLIDE 8

Guideline: Mechanical Sympathy

28.03.12 Was tut ein guter Software Architekt?

Most amazing achievement of software industry: Continuing cancellation of the steady and staggering gains in hardware Best F1 drivers: Enough understanding how a machine works so they can work in harmony

slide-9
SLIDE 9

Technology Decision: Multi Dimensional

► Quality of the technology itself

> Performance > Productivity

► But the technology perspective might not be enough

> Skills > Open Source License > License costs and other costs > Strategic decisions > Operations

► Need to take all into account ► But: Decision can be challenged more often than you think ► Prepare your case! ► Often people are happy to get some advice

28.03.12 Was tut ein guter Software Architekt?

slide-10
SLIDE 10

Decisions = Trade Off

► Each option has advantages and drawbacks ► …in each dimension ► So any decision will be a trade off ► You won’t find the perfect match ► So if it’s not perfect – relax ► It’s just too many dimensions ► Half done software might be good enough ► …and even have a better time-to-market

28.03.12 Was tut ein guter Software Architekt?

slide-11
SLIDE 11

Technologies are just a tool and a trade-off. Know the technology options and the dimensions

  • f technology decisions!

28.03.12 Was tut ein guter Software Architekt?

slide-12
SLIDE 12

Software Architecture: Definition 2

The software architecture of a system is the set of structures needed to reason about it, which comprise software elements, relations among them, and properties of both.

Was tut ein guter Software Architekt? 28.03.12

slide-13
SLIDE 13

Software Architecture: Definition 2

The software architecture of a system is the set of structures needed to reason about it, which comprise software elements, relations among them, and properties of both.

Was tut ein guter Software Architekt? 28.03.12

What does that actually mean?

slide-14
SLIDE 14

Architecture

► Elements

> Method, classes, packages, JARs / WARs / EARs > Diagrams and PowerPoint are just helpers > …and might be disconnected from reality

► Relations

> Dependencies i.e. usage > Well ordered > No excessive dependencies

► No excessively big elements ► No cyclic dependencies

– they effectively make two elements one

► Do you manage your dependencies? ► What do you do about big elements?

28.03.12 Was tut ein guter Software Architekt?

slide-15
SLIDE 15

An Example

► This is actual code from a

large and well known Open Source project

► Dependency matrix ► Everything in red is part

  • f a cycle
slide-16
SLIDE 16

Dependency Graph

► Overview ► One large cycle

slide-17
SLIDE 17

Dependency ¡ Graph ¡

► Just a small part ► Red line show circular

references

slide-18
SLIDE 18

Architectural Debt

► Hard to solve if it has reached this state ► Consider managing it from the start ► …or you are looking at a significant

restructuring

► Much more than Refactoring!

29.03.12 Was tut ein guter Software Architekt?

slide-19
SLIDE 19

Consider a tool

► Overall view on dependencies not obvious in IDE ► Without a tool structure is quite likely a mess ► Some tools:

> JDepend > Structure 101 > Restructure 101 > Sonargraph

► Sonar is not enough

28.03.12 Was tut ein guter Software Architekt?

slide-20
SLIDE 20

Manage dependencies and size of elements – ideally from the start – because that is the architecture! You will need a tool!

28.03.12 Was tut ein guter Software Architekt?

slide-21
SLIDE 21

Software Architecture: Why We Care

28.03.12

Software Architecture Structures Software elements Relations Properties Performance Availability Productivity Maintainability Security Operations

Was tut ein guter Software Architekt?

slide-22
SLIDE 22

Software Architecture: Why We Care

28.03.12

Software Architecture Structures Software elements Relations Properties Performance Availability Productivity Maintainability Security Operations

Influences non-functional requirements & quality

Was tut ein guter Software Architekt?

slide-23
SLIDE 23

Software Architect: Traditional Role

► Manager ► Responsibility: non-functional requirements / quality ► Tool: Define and enforce architecture ► Functional requirements covered by

requirements process

► Functional requirements influence

the architecture

28.03.12 Was tut ein guter Software Architekt?

slide-24
SLIDE 24

Traditional View on Architect’s Responsebilities

► Define the architecture ► Enforce the architecture ► i.e. create frameworks ► Not necessarily any coding ► Code reviews (maybe) ► Assumptions

> Separation of labor > Developers must be “controlled”

► Does that still work in today’s

world?

28.03.12 Was tut ein guter Software Architekt?

slide-25
SLIDE 25

Issues in the Real World

► Ivory tower architecture ► Architecture does not fit the domain ► Architecture is not in the code ► The documented architecture is different

from the real architecture

► Developers don’t feel their feedback is

listened to

► Either architecture is ignored ► …or project results in a failure

28.03.12 Was tut ein guter Software Architekt?

slide-26
SLIDE 26

Agile Development i.e. Scrum

28.03.12

Product Owner Creates stories Stories Scrum Master Removes obstacles Enforces rules Team Self-organizing Implements stories

Where is the Architect ?

Was tut ein guter Software Architekt?

slide-27
SLIDE 27

Team

► Is self organizing ► An architect might / will emerge ► …but is not planned for ► Benefit:

> Responsibility is shared > i.e. not just the architect cares

► If the architecture / architect is not helpful, it / he will be ignored ► Less damage in the end ► Architect will see his ideas directly in action ► Better feedback ► Needs trust and collaboration

28.03.12 Was tut ein guter Software Architekt?

slide-28
SLIDE 28

Architect as a Manager

► Limited tools to influence team ► Actually that is very common for managers ► A team cannot be lead against its will ► Need to listen to other team members ► … and stake holders

28.03.12 Was tut ein guter Software Architekt?

slide-29
SLIDE 29

New Challenges for Architects

Role

► Needs to collaborate with other team

members

► …and make himself useful ► Supports and trusts other team members ► Leads by experience ► …not by title

Creating an Architecture

► Stories defined during the project ► Not all requirements known at the start ► No Big Design Upfront possible ► Architecture needs to emerge ► Architecture must be constantly redefined ► More focus on code ► Code is the reliable source for the current

architecture and state of the project

28.03.12 Was tut ein guter Software Architekt?

slide-30
SLIDE 30

Architect is a team member – need to collaborate and listen!

28.03.12 Was tut ein guter Software Architekt?

slide-31
SLIDE 31

Quality

► Not all parts of a system will have the

same quality

► Not all team members are equally skilled ► The compromise on the quality can

happen “by chance”

► …or you can steer it ► Identify core domains

> The ones that add the most value > i.e. have a good business reason

► Might want to isolate those ► …and focus on them

28.03.12 Was tut ein guter Software Architekt?

slide-32
SLIDE 32

Broken Windows Theory

► Once windows are not repaired… ► …vandals will break more ► …break into the building ► … ► Accepting compromises on quality is risky ► …but if you strive for ultimate quality

everywhere, you will fail

► In particular with legacy software

28.03.12 Was tut ein guter Software Architekt?

slide-33
SLIDE 33

Domain Driven Design

► “Tackling Complexity in the

Heart of Software”

► E.g. Ubiquitous Language

for Code, Developers and Customers

28.03.12 Was tut ein guter Software Architekt?

slide-34
SLIDE 34

Strategic Domain Driven Design

► Bounded Context:

Model used only in a specific part of the system

► Context Map:

Translate models from different parts of the system

► Anti-Corruption Layer:

Make sure the core domain is not corrupted

28.03.12 Was tut ein guter Software Architekt?

slide-35
SLIDE 35

More Responsibilities for Architects

► Define the Core Domain ► Ensure that the Core Domain will be implemented properly ► …and won’t be compromised ► I.e. manage the overall quality ► Needs detailed domain knowledge ► Need to understand business case

28.03.12 Was tut ein guter Software Architekt?

slide-36
SLIDE 36

Quality will differ in the individual parts – Your choice is only to manage it or let it happen!

28.03.12 Was tut ein guter Software Architekt?

slide-37
SLIDE 37

► http://lemmings.mytrash.tv/

slide-38
SLIDE 38

You Must Not Be a Lemming!

► No matter what others say ► Take it as an advice ► Come to your own conclusion ► …and work on them. ► It is you project ► It is your decision ► It is your responsibility ► If you can’t come to your own conclusion you are probably not a good architect

28.03.12 Was tut ein guter Software Architekt?

slide-39
SLIDE 39

► Decide based on business value! ► Know the business value! ► Technologies: just a tool and trade-off ► Know technology options and the dimensions of

technology decisions!

► Architect is a team member – need to collaborate

and listen!

► Manage architecture = dependencies and size of

elements

► Quality will differ in the individual parts –

Your choice is only to manage it or let it happen!

slide-40
SLIDE 40

www.AAAjobs.de

jobs@adesso.de

Wir suchen Sie als

Ø

Software-Architekt (m/w)

Ø

Projektleiter (m/w)

Ø

Senior Software Engineer (m/w)