Вы находитесь на странице: 1из 19

Becoming a Good Software Architect

Session 1: Introduction to Software Architecture


Session 2: What it takes to become Software Architect

By
Terry Cheng (郑书玄)
terrycheng@maveosystems.com
Chief Technology Officer
万域系统软件(上海)有限公司
http://www.maveosystems.com
Copyright Maveo Systems Shanghai 1

Session 1

Introduction to
Software Architecture

Copyright Maveo Systems Shanghai 2

Copyright 1
Software Architect
is
Someone Who Can
Make
Sub-optimal Decision
in
Total Darkness
Copyright Maveo Systems Shanghai 3

Objectives of this talk

• Give a sense of what is Software architecture


• Example of Software Architecture
• Principle of good Software Architecture
• How to prepare to become a good Software Architect
• Do not have to make Sub-optimal Decision anymore

Copyright Maveo Systems Shanghai 4

Copyright 2
Intro. to Software Architecture

• Definition of Software Architecture


• History/evolution of Software Architecture
• Overview of System Architecture
• How Software Architecture fit into System Architecture
• A Typical Software architecture
• Components of a typical Software architecture
• What to consider -- internal/external constrains

Copyright Maveo Systems Shanghai 5

Definition of Software Architecture

Francis Anderson (Chief Object Architect,


ClearSystems): A set of solution frameworks to which all
aspects of the problem domain are mapped.
Brahim Djoudi (Software developer, GIAT Industries,
Toulouse, France): The software architecture is the set of
all the concepts (software components, frameworks, DB,
paradigm, programming language, ...) used to "view" an
entire software before it's designed.
SEI:A software architecture is an abstract view of a
software system distinct from the details of
implementation, algorithms, and data representation.
Architecture is, increasingly, a crucial part of a software
organization's business strategy
Copyright Maveo Systems Shanghai 6

Copyright 3
Definition of Software Architecture

Software Architecture for Product Families


Software architecture is a set of concepts and design
decisions about the structure and texture of software
that must be made prior to concurrent engineering to
enable effective satisfaction of architecturally
significant explicit functional and quality
requirements and implicit requirements of the
product family, the problem, and the solution
domains.

Copyright Maveo Systems Shanghai 7

Definition of Software Architecture

UML 1.3:
Architecture is the organizational structure of a system. An
architecture can be recursively decomposed into parts
that interact through interfaces, relationships that connect
parts, and constraints for assembling parts. Parts that
interact through interfaces include classes, components
and subsystems.

Copyright Maveo Systems Shanghai 8

Copyright 4
History/Evolution
• Driven by business need
• Cost cutting
• Increase Revenue
• Strategic Advantage
• Driven by new technology
• Main Frame/Batch
• PC/interactive Real time
• LAN/WAN
• Internet
• Driven by Software Engineering principle, methodology
• Functional decomposition, sub routines
• Information Engineering
• Object Oriented Methodology
Copyright Maveo Systems Shanghai 9

Over View of System Architecture

Enterprise Architecture

Business Architecture

Application Architecture

Technical Architecture
Product Architecture

Copyright Maveo Systems Shanghai 10

Copyright 5
How Software Architecture fit in
Enterprise Architecture

• Software Architecture transforms Business Architecture


into an set of designs and guidelines to realize business
process in an information systems
• Software Architecture relays on Technical Architecture
to provide an efficient/scalable/secure environment to

Copyright Maveo Systems Shanghai 11

Example of Software Architecture


Tech View

Copyright Maveo Systems Shanghai 12

Copyright 6
Example of Software Architecture
Tech View

Copyright Maveo Systems Shanghai 13

Example of Software Architecture


Tech View

Copyright Maveo Systems Shanghai 14

Copyright 7
Example of Software Architecture
Client Side
Tech Server Side

xml (from Asynchronous Information Request)


xml (from Servlet Request) struts
ActionServlet framework
Browser (struts-config.xml)
ActionForm Action
Asynchronous
Agnt Information Request getter/
Applet Servlet Controller
setter Servlet
EJB
Parameter Actions
Servlet Request Validation
(Form Submission)

xml ActionMapping
URL Request
JSP
JSP Mapping
html
Content
Display struts taglibs
xsl maveo
XSLT
Processor
(Microsoft DOM)
taglibs
xsl
HTML / XSL /
css / js /
images etc. utility classes
Content com.maveo.util Database
Caching package
(JavaScript
Object Pool)

MAVEO UI Framework
Diagram By: Patrick Lai
Last Updated: 2 July 2002
Version: 2.0

Copyright Maveo Systems Shanghai 15

Example of Software Architecture


Business/Function
Debtor EligibilityCriteria
Equipment RealEstate
EA

EA

EA

EA

- TimeBasedRule:
- OutStanding: double
3.

3.

3.

3.

- Supplier: Company
50

50

50
50

- RealEstateType: int
+1
-U

-U
-U

-U
EA

EA

EA

EA

OweBy
AvailabilityCalculation
nr

nr
nr
nr
3.
3.

3.

3.

RealEstateType +0..n
eg

eg
eg
eg
50

50

50

50
is
is

is

is

AR
te
te

te
te
-U

-U

-U
-U

PhysicalStaticCollateral
EA

EA

EA

EA
re
re

re
re
nr

nr
nr

nr

DynamicCollateral - AdjForInventory: double = 0


d
d

d
d
3.

3.

3.

3.

Ow ner
eg

eg
eg

eg

- PurchaseCost: double
TR

TR
TR

TR
50

Owned By
50

50
50
i

- PurchaseDate: date
s

st

st
IA

IA
IA

IA
te

te

-U
-U

-U
-U

- OwnerT ype:
EA

EA

EA

EA
e

- CurrentMarketValue: double
L

L
L
L
re

re

re

re
nr
nr

- appraisedby: company
nr
nr

Ve
Ve

Ve
Ve
d

d
3.
3.

3.

3.

eg
eg

eg
eg

- AppraisedDate: date
TR

Located At
TR

TR

TR
50

50

50

50

rs
rs

rs
rs

i
is

i
is

Is a type of
st
st

io
io

io
io
IA

IA

IA
IA
-U
-U

-U

-U
te

te
EA

EA

EA

EA

e
e

n
n

n
n

Address Inv entory


L

L
re
re
re
re

Appraised by
nr

nr
nr

nr
Ve

Ve

Ve

Ve
d
d
d
d
3.

3.

3.

3.
eg

eg
eg

eg

Colaterral
TR

TR
TR
TR
50

50

50
50
rs

rs
rs

rs

- ReportFreq: ReportFreqType
is
is

i
st

st
io

io
io

io

- GrossMargin: float
IA
IA
IA

IA
te
te

-U
-U

-U
-U
EA

EA

EA

EA
e

e
n

n
n

Company
n

# currency:
L
L
L
L

re

re
re

re
nr

nr
nr
nr

# AdvanceRatio: float
Ve
Ve
Ve

Ve
d

d
d
3.

3.

3.

3.

Ev aluateationFreq
eg

eg
eg
eg

# Value: double
TR

TR

TR
50

50

50
50

rs
rs

rs
rs
R
is

i
i

st

st
s

io
io

io
io

IA
IA

IA
IA

-U

-U
-U

te

-U

te
EA

EA

EA

EA
e

n
n

n
n
L

L
L

L
re

re

re
re
nr

nr
nr
nr

Ve
Ve

Ve
d

d
d

IntellectualProperties
3.
3.

3.

3.

ReportFreqType
eg

eg
e

eg
eg
TR

TR

TR
TR
50

50

50

50
rs

rs
rs

rs
i
is

is

i
st

st
io

io
io

io
IA

IA

IA
IA
te
te
-U

-U

-U
-U
EA

EA

EA

EA

e
n

n
n

WIP
L

L
L

re
re

re
re

StaticCollateral
nr

nr
nr

nr
Ve

Ve
Ve
Ve

d
d

d
d
3.

3.

3.

3.
eg

eg
eg

eg
TR

TR
TR

TR

Priv atePublicCoShare
50

- AdvanceRatio: float
50

50
50
rs

rs
rs
rs

# Location: address* FinishedGoods


i

i
s

st

st
io

io
io
io

IA

IA
IA

IA
te

te

-U
-U

-U
-U

- NextEvaluationDate: date Raw Material


EA

EA

EA

EA
e

e
n

n
n
n

L
L
L
re

re

re

re

- AdvanceRatio: float
nr
nr

nr
nr

Ve
Ve

Ve
Ve
d

d
3.
3.

3.

3.

eg
eg

eg
eg

- AdvanceRatio: float
TR

TR

TR

TR
50

50

50

50

rs
rs

rs
rs

i
is

i
i

CashDeposite
st
st
s

io
io

io
io
IA

IA

IA
IA
-U
-U

-U

-U
te

te
EA

EA

EA

EA

e
e

n
n

n
n
L

L
re
re
re
re
nr

nr
nr

nr
Ve

Ve

Ve

Ve

- Bank: char
d
d
d
d
3.

3.

3.

3.

StandByLOC
eg

eg
eg

eg
TR

TR
TR
TR

- DateDeposited: date
50

50

50
50
rs

rs
rs

rs

BankGuaranties
is
is

i
st

st
io

io
io

io

- DateExpire: date
IA
IA
IA

IA
te
te

-U
-U

-U
-U
EA

EA

EA

EA
e

e
n

n
n

- DateExpire: date
n

- Amount: double
L
L
L
L

re

re
re

re

- DateExpire: date
nr

nr
nr
nr

Ve
Ve
Ve

Ve

- Currency: int
d

d
d
3.

3.

3.

3.
eg

eg
eg
eg
TR

TR

TR
50

50

50
50

rs
rs

rs
rs
R
is

i
i

st

st
s

io
io

io
io

IA
IA

IA
IA

-U

-U
-U

te

-U

te
EA

EA

EA

EA
e

n
n

n
n
L

L
L

L
re

re

re
re

nr
nr

nr
nr

Ve
Ve

Ve
d

d
d
3.
3.

3.

3.

eg
eg

eg
eg

Copyright Maveo Systems Shanghai 16


TR

TR

TR
TR
50

50

50

50
rs

rs
rs

rs
i

i
is

st

st
s
io

io
io

io
IA

IA

IA
IA
te
te
-U

-U

-U
-U

e
n

n
n

n
L

L
L

re

re
re
re
nr

nr
nr

nr
Ve

Ve
Ve
Ve

d
d
d
eg

eg
eg

eg
TR

TR

TR
TR
rs

rs
rs
rs
is

is

is

is
io

io
io
io

IA

IA
IA

IA
te

te

te

te
n

n
n
n

L
L
L
re

re

re

re
Ve

Ve
Ve
Ve
d

d
TR

TR

TR

TR

rs
rs

rs
rs

io
io

io
io
IA

IA

IA
IA

n
n

n
n
L

L
Ve

Ve

Ve

Ve
rs

rs
rs

rs
io

io
io

io
n

n
n

Copyright 8
Components of Software
Architecture
• Business model
• Platform
• Layer/Network Model
• Domain Framework
• Technical Framework
• Deployment Model

Copyright Maveo Systems Shanghai 17

Components of Software
Architecture
Logical Allocates classes and responsibilities to packages and
View subsystems.
Develop Allocates packages and subsystems to layers and
ment components. Also defines the development structure.
View
Process Allocates components to processes.
View
Physical Allocates processes to processors, nodes, networks.
View
Use (The Plus One) Captures requirements used to develop and
Case validate each of the other views.
View

Copyright Maveo Systems Shanghai 18

Copyright 9
Principles of Good Architecture

• Scalable
• Flexible
• Extensible
• Reusable
• Open
• Common semantics
• Secure

Copyright Maveo Systems Shanghai 19

What others to consider

• Business objectives
• Skill of development team and local market of team
• Cost to build and Maintain
• Materiality of Technology
• Current System constrain
• Migration, migration, migration

Copyright Maveo Systems Shanghai 20

Copyright 10
Software Architecture Processes
• Business High Level Req  High Level Architecture Decision
• Market/Technical Consideration  Network Model/Platform Decision
• Business Modeling  Class/Data modeling  Data architecture
decision
• Use case, process/flow modeling  UI decision
• Domain Framework from above two
• Implementation analysis  Technical implementation decision
Technical Framework
• Implementation Language Tool decision
• Platform specific implementation architecture
• Sample/framework development

http://www.bredemeyer.com/
Copyright Maveo Systems Shanghai 21

What’s Next

• Pattern
• Product line Architecture
• Documenting Software Architecture
• Evaluate Software Architecture

Copyright Maveo Systems Shanghai 22

Copyright 11
Summary
• Software Architecture need to consider from both
technical point of view as well as business point of view
• There are different ways to communicate architecture
design
• There is no THE best architecture for any one software
system
• Always need consider
• external constrain, such cost, infrastructure,…
• Maturity of IT organization, not only development,
but also operations
• Architecture is a live entity, therefore, ability to grow,
migrate is very important
Copyright Maveo Systems Shanghai 23

Q&A

Q&A
&
Break
Copyright Maveo Systems Shanghai 24

Copyright 12
Session 2

What it takes to become


a Software Architect

Copyright Maveo Systems Shanghai 25

What it takes to become Software Architect

• What an Software Architect do


• How to become a Software Architect
• Technical skill
• Non-Technical Skill
• Conclusion
• Q&A

Copyright Maveo Systems Shanghai 26

Copyright 13
What is Software Architect

The Software Architect operates nearly as a peer to


the project manager. While the project manager
deals with budgets, plans, resources and tracking
progress, the architect sets the technical vision for
the project, mentors the technical staff, and
monitors design and implementation artifacts for
quality and compliance to standards.

Copyright Maveo Systems Shanghai 27

Job Description
This position will be part of a team responsible for
improving the quality of internally developed Mutual Fund
Customer Service applications. Specific assignments may
include large projects as well as small enhancements
with both prioritized by business needs. Development
takes place in a highly collaborative environment that
places value on effective communication skills. Under
minimal supervision, the position plans, coordinates and
analyses new and existing application designs/techniques
to meet current and future needs. The position works with
users and developers to analyze, design, and implement
application systems and/or enhancements to existing
systems and may include leading a team for a specific
project. This position provides deep technology expertise
in a variety of areas.
Copyright Maveo Systems Shanghai 28

Copyright 14
Job Requirements
 Advanced knowledge of programming language(s), software
development tools and environment(s) and systems analysis and
functional design is required.
 In addition, thorough knowledge of database concepts, database
design, data modeling and system architectures is also required.
• Expert knowledge of application design principles, practices, system
development methodologies, (preferably OO), and software life cycles is
required.
• The ideal candidate possesses expert knowledge in one or more highly
specialized areas of application development.
• Experience in application development with the design and
programming of multi-tier applications utilizing J2EE technology coupled
with strong server programming abilities including Servlets, EJBs, and
JSPs is required.
• Experience with programming in Smalltalk is highly desired.
• Experience with Envy,Rational Rose, .NET, and/or HTML is helpful.
Copyright Maveo Systems Shanghai 29

Job Description

Senior position with a heavy emphasis on .NET


technologies. This position has sales support as well as
hands-on responsibilities. Collaborates with customers,
designers, and database programmers to construct an
optimal web solution using Microsoft tools.
Understands the aims of development customers and
works with business analysts to ensure those needs
are met with the software.

Copyright Maveo Systems Shanghai 30

Copyright 15
Responsibilities
• Participate in complete software development lifecycle, including
analysis, design, code and unit test, for applications based on Microsoft
.NET technologies.
• Act as "subject matter expert" in assigned area of responsibility.
• Work with customers to formulate and define application scope and
objectives.
• Build relationships with customers to determine business requirements
• Build relationships with business partners.
• Provide technical consultation in new systems development, new
package evaluations, and enhancement of existing systems; participate
in structured walkthrough and technical reviews.
• Prepare functional specifications from which programs will be written;
design, code, test, debug, and document programs.
• Keep technical, communications, and business skills current with an
emphasis on understanding emerging Microsoft-based web/e-
commerce technologies and their impact on Berbee's customers.
• Plan, schedule, and conduct I-net (Inter/intra/extranet) system tests;
monitor test results; and take required corrective action.
Copyright Maveo Systems Shanghai 31

Job Requirements
• Broad awareness of basic Internet, intranet, and WWW
technologies, including: Inter/intra/extranet tools; Web installation,
configuration and performance management; Web navigation,
content, linking, and browser tuning; Web security and encryption
• Experience with .NET servers and tools required
• Web site design and development experience in a Microsoft
environment
• Working knowledge and skills in ASP, JavaScript, VBScript, and
XML as well as upcoming .NET technologies such as ASP.NET
and Visual Studio.NET
• Experience with the Microsoft family of .NET servers including
Content Management Server, BizTalk Server, Application Center
Server, Sharepoint Portal Server, etc.
• Working knowledge of SQL Server 2000 with database/Web
connectivity familiarity, plus database management and file
access methods
• Strong communications and interpersonal skills
• Strong problem solving/analysis skills
• Ability to work well both in teams and independently
Copyright Maveo Systems Shanghai 32

Copyright 16
Technical Skills
• Requirement gathering/Management
• Modeling and analysis methodology
• Full Software Development Life Cycle
• Modern architectural technologies, such as J2EE and
.NET
• In depth knowledge of programming languages
• Network, Security, hardware platforms
• Database

Copyright Maveo Systems Shanghai 33

None Technical Skills

• Facilitation
• Communication/Presentation/Sales Skill
• Mentoring
• Domain Knowledge of area you working on
• Leadership
• Business acumen

Copyright Maveo Systems Shanghai 34

Copyright 17
Conclusion 1

How do I start
• Become an excellent developer who knows why
not just how
• Understand the relationship of underline
technical architecture and software systems
• Understand current platform specific
architecture, J2EE and .NET
• Know the domain you are working on, become
an expert
• Read, read, read, think think think

Copyright Maveo Systems Shanghai 35

Conclusion 2

Technical Ability
alone
is never enough

Copyright Maveo Systems Shanghai 36

Copyright 18
Q&A

Q&A

Copyright Maveo Systems Shanghai 37

Copyright Maveo Systems Shanghai 38

Copyright 19

Вам также может понравиться