341

Could someone explain the difference between Software Design and Software Architecture?

More specifically; if you tell someone to present you the 'design' - what would you expect them to present? Same goes for 'architecture'.

My current understanding is:

  • Design: UML diagram/flow chart/simple wireframes (for UI) for a specific module/part of the system
  • Architecture: component diagram (showing how the different modules of the system communicates with each other and other systems), what language is to be used, patterns...?

Correct me if I'm wrong. I have referred Wikipedia has articles on http://en.wikipedia.org/wiki/Software_design and http://en.wikipedia.org/wiki/Software_architecture, but I'm not sure if I have understood them correctly.

Mads Mobæk
  • 34,762
  • 20
  • 71
  • 78
  • Were any of the questions below helpful? ;) – Patrick Karcher May 26 '10 at 00:35
  • Do keep in mind that, to a certain degree, the distinction (which is certainly real) is often made out of pretentiousness. No architect can be any good without a decent understanding of design and construction, and no designer can be any good without a reasonable comprehension of architecture. – Hot Licks Nov 27 '13 at 12:20
  • And I once saw architecture described as "design suited to a purpose". That's a little trite, but it contains a nugget of truth, as good architecture must ultimately be purpose-centered vs implementation-centered. – Hot Licks Nov 27 '13 at 16:03

41 Answers41

326

You're right yes. The architecture of a system is its 'skeleton'. It's the highest level of abstraction of a system. What kind of data storage is present, how do modules interact with each other, what recovery systems are in place. Just like design patterns, there are architectural patterns: MVC, 3-tier layered design, etc.

Software design is about designing the individual modules / components. What are the responsibilities, functions, of module x? Of class Y? What can it do, and what not? What design patterns can be used?

So in short, Software architecture is more about the design of the entire system, while software design emphasizes on module / component / class level.

Robert Harvey
  • 178,213
  • 47
  • 333
  • 501
Razzie
  • 30,834
  • 11
  • 63
  • 78
  • 116
    Also, architecture usually deals with what (is done) and where (it's done), but never with how. That is think is the principle difference - design completes the how that architecture doesn't (and shouldn't) talk about. – Asaf R Dec 29 '09 at 14:01
  • 2
    Hi@AsafR ! this made me think of architecture as analysis because analysis deals with what(is done) and design with how.do you think so? – Chriss Sep 21 '13 at 07:51
  • 2
    Nowadays people do all the designing, implementing, maintaining the backend servers (probably cloud-based), and front-end design (Web or mobile) all by themselves. I think they're called full stack developers. Right? – Maziyar Aug 01 '14 at 07:07
  • 1
    Architecture is the outline of a system, a structure, a blueprint about the whole thing. Design is just the activity of making a plan. You can design an architecture, you can design a module, you can even design a method. – Evan Hu Jan 10 '15 at 02:53
  • @AsafR that sounds like the difference between idea and execution – supertonsky May 06 '15 at 14:44
  • Mentioning architectural patterns like MVC just blurred the line between architecture and design further. MVC is like going into the details and it's not the "highest level" of abstraction. By citing MVC, architecture is like it can be at any level of abstraction depending on what the "system" you are describing covers. With the advent of JavaScript MVC frameworks, we can now have MVC (or MVWhatever like AngularJS, etc) within the View of the another MVC (like Spring MVC) – supertonsky May 06 '15 at 14:54
  • Architecture is a set of design desicions. So it covers a lot more depth than design. It's higher level and doesn't deal with specifics. @AsafR - Architecture doesn't deal with how, but deals with why. According to Dewayne E. Perry architecture consists of Elements, Form and Rationale. – Kursat Mar 29 '16 at 13:20
  • Just please remember not to use the word "architected" in past tense. It's somehow found its way into dictionaries by mistake. eg. "We built this product with a x architecture.." rather than "We architected this product with a x..". – Matt Kocaj Apr 08 '16 at 07:03
  • 1
    This Wikipedia page https://en.wikipedia.org/wiki/Software_design considers the architecture is a part of a software design. What you think? – Narek May 24 '16 at 07:29
  • So the "3-tier layered design" is architecture, and so is the fairly detailed MVC (design)? You contradict yourself and nearly everybody is only happy to vote up. – Oleg Sklyar Aug 30 '16 at 23:01
  • 2
    That is because MVC is an architectural design. MVC does not state any details in itself. The "View" can be a website, a winforms, a console application. The model can be almost anything, it does not state anything about where it comes from (database layer or whatever). – Razzie Aug 31 '16 at 06:46
  • Architecture is horizontal; design is vertical. – user11081980 Oct 17 '18 at 20:51
80

In some descriptions of the SDLC (Software Development Life Cycle) they are interchangeable, but the consesus is that they are distinct. They are at the same time: different (1) stages, (2) areas of responsibility, and (3) levels of decision-making.

  • Architecture is the bigger picture: the choice of frameworks, languages, scope, goals, and high-level methodologies (Rational, waterfall, agile, etc.).
  • Design is the smaller picture: the plan for how code will be organized; how the contracts between different parts of the system will look; the ongoing implementation of the project's methodologies and goals. Specification are written during this stage.

These two stages will seem to blend together for different reasons.

  1. Smaller projects often don't have enough scope to separate out planning into these to stages.
  2. A project might be a part of a larger project, and hence parts of both stages are already decided. (There are already existing databases, conventions, standards, protocols, frameworks, reusable code, etc.)
  3. Newer ways of thinking about the SDLC (see Agile methodologies) somewhat rearrange this traditional approach. Design (architecture to a lesser extent) takes place throughout the SDLC on purpose. There are often more iterations where the whole process happens over and over.
  4. Software development is complicated and difficult to plan anyway, but clients/managers/salespeople usually make it harder by changing goals and requirements mid-stream. Design and even architectural decisions must bemade later in the project whether that is the plan or not.

Even if the stages or areas of responsibility blend together and happen all over the place, it is always good to know what level of decision-making is happening. (We could go on forever with this. I'm trying to keep it a summary.) I'll end with: Even if it seems your project has no formal architectural or design stage/AOR/documentaiton, it IS happening whether anyone is consciously doing it or not. If no one decides to do architecture, then a default one happens that is probably poor. Ditto for design. These concepts are almost more important if there are no formal stages representing them.

Patrick Karcher
  • 22,995
  • 5
  • 52
  • 66
  • Good answer. I like the emphasis on how one can *seem* to be part of the other. The fourth point raises an interesting question: Is design in a particular problem domain any less valid when it doesn't yet have an architecture to exist within? Experience would suggest yes, but in theory I'd like to think that a design that keeps within the appropriate scope (i.e. for a particular component) should be equally valid regardless of how it is eventually used. – Tom W Oct 15 '10 at 08:00
55

Architecture is strategic, while Design is tactical.

Architecture comprises the frameworks, tools, programming paradigms, component-based software engineering standards, high-level principles..

While design is an activity concerned with local constraints, such as design patterns, programming idioms, and refactorings.

Chris Kannon
  • 5,931
  • 4
  • 25
  • 35
  • I'd want fewer references to "design" and "architeture" in the definition of "design" to vote this up... – Peter Hansen Dec 24 '09 at 16:54
  • 1
    Agreed.. it perhaps: Architecture comprises the frameworks, tools, programming paradigms, component-based software engineering standards, high-level principles.. While design is an activity concerned with local constraints, such as design patterns, programming idioms, and refactorings. – Chris Kannon Dec 24 '09 at 18:19
38

I found this as I was looking for simple distinction between architecture and design myself;
What do you think of this way of looking at them:

  • architecture is "what" we're building;
  • design is "how" we're building;
Bo Persson
  • 90,663
  • 31
  • 146
  • 203
George S.
  • 613
  • 5
  • 11
  • 4
    What we're building are client's requirements. How we're building it depends on both architecture and design. So no, this is completely wrong. – Marek Nov 06 '14 at 19:23
  • 1
    @Marek I don't see what's wrong with that. Architecture is what to build, what the client wants, what it should generally look like, what components it should be made of, etc. Design is how these things are then actually made: The actual implementations of components, algorithms, etc. – RecursiveExceptionException Jun 10 '16 at 15:58
21
  1. Architecture means the conceptual structure and logical organization of a computer or computer-based system.

    Design means a plan or drawing produced to show the look and function or workings of a system or an object before it is made.

  2. If you are “architecting” a component, you are defining how it behaves in the larger system.

    If you are “designing” the same component, you are defining how it behaves internally.

All architecture is design but NOT all design is architecture.

What part is the Design, the How is the concrete implementation and the intersection of What and How is Architecture.

Image for differentiating Architecture and Design:

Design vs Architecture

There are also design decisions, that are not architecturally significant, i.e. does not belongs to the architecture branch of design. For example, some component’s internal design decisions, like- choice of algorithm, selection of data structure etc.

Any design decision, which isn’t visible outside of its component boundary is a component’s internal design and is non-architectural. These are the design decisions a system architect would leave on module designer’s discretion or the implementation team as long as their design don’t break the architectural constraints imposed by the system level architecture.

The link that gives good analogy

Community
  • 1
  • 1
TryinHard
  • 4,078
  • 3
  • 28
  • 54
  • I don't like this answer. Architecture is the highest level of abstraction therefore you shouldn't be bothering "how" it's done. I do agree that design and architecture is somehow connected - Design is an activity that creates part of a system’s architecture but I wouldn't say "What and How" is Architecture because it's very confusing... – Martin Čuka Mar 18 '17 at 20:08
15

I'd say you are right, in my own words;

Architecture is the allocation of system requirements to system elements. Four statements about an architecture:

  1. It can introduce non-functional requirements like language or patterns.
  2. It defines the interaction between components, interfaces, timing, etc.
  3. It shall not introduce new functionality,
  4. It allocates the (designed) functions that the system is intended to perform to elements.

Architecture is an essential engineering step when a complexity of the system is subdivided.

Example: Think about your house, you don't need an architect for your kitchen (only one element involved) but the complete building needs some interaction definitions, like doors, and a roof.

Design is a informative representation of the (proposed) implementation of the function. It is intended to elicit feedback and to discuss with stakeholders. It might be good practice but is not an essential engineering step.

It would be nice to see the kitchen design see before the kitchen is installed but it is not essential for the cooking requirement:

If I think about it you can state:

  • architecture is for a public/engineers on a more detailed abstraction level
  • design is intended for public on a less detailed abstraction level
andand
  • 17,134
  • 11
  • 53
  • 79
user662182
  • 181
  • 1
  • 3
  • +1 for Architecture is the allocation of system requirements to system elements. Virtual -1 for use of the 'a' word in final list. My take on this is your (correct) initial definition is the antithesis of abstraction. – Chris Walton Jul 13 '11 at 15:40
  • Not sure about points 1 & 3. Nothing should introduce more functionality than is required to satisfy stakeholder requirements. Constraints are more of a methodology issue. The other points are helpful. The kitchen analogy is not a great one; you don't need an architect, but kitchen design is a fairly specialised field in which something is designed using somewhat modular components. Can't agree with design not being an essential engineering step. Not sure what the last two points mean. – Mike G Mar 01 '12 at 18:09
  • Where does implementation fit in? Is implementation not the Design? – jwilleke Aug 12 '17 at 08:00
14

My reminder:

  • We can change the Design without asking someone
  • If we change the Architecture we need to communicate it to someone (team, client, stakeholder, ...)
Peter Gfader
  • 7,673
  • 8
  • 55
  • 56
6

I think we should use the following rule to determine when we talk about Design vs Architecture: If the elements of a software picture you created can be mapped one to one to a programming language syntactical construction, then is Design, if not is Architecture.

So, for example, if you are seeing a class diagram or a sequence diagram, you are able to map a class and their relationships to an Object Oriented Programming language using the Class syntactical construction. This is clearly Design. In addition, this might bring to the table that this discussion has a relation with the programming language you will use to implement a software system. If you use Java, the previous example applies, as Java is an Object Oriented Programming Language. If you come up with a diagram that shows packages and its dependencies, that is Design too. You can map the element (a package in this case) to a Java syntactical construction.

Now, suppose your Java application is divided in modules, and each module is a set of packages (represented as a jar file deployment unit), and you are presented with a diagram containing modules and its dependencies, then, that is Architecture. There isn’t a way in Java (at least not until Java 7) to map a module (a set of packages) to a syntactical construction. You might also notice that this diagram represents a step higher in the level of abstraction of your software model. Any diagram above (coarse grained than) a package diagram, represents an Architectural view when developing in the Java programming language. On the other hand, if you are developing in Modula-2, then, a module diagram represents a Design.

(A fragment from http://www.copypasteisforword.com/notes/software-architecture-vs-software-design)

  • I very much like it. Good contribution. I'm not sure if it's quite so clear-cut, but on a question like this it's about as definitive as your gonna get. I'd up vote you but I'm outta votes for the day :(. – Mike G Mar 01 '12 at 18:17
5

I agree with many of the explanations; essentially we are recognizing the distinction between the architectural design and the detailed design of the software systems.

While the goal of the designer is to be as precise and concrete in the specifications as it will be necessary for the development; the architect essentially aims at specifying the structure and global behavior of the system just as much as required for the detailed design to begin with.

A good architect will prevent hyper-specifications - the architecture must not be overly specified but just enough, the (architectural) decisions established only for the aspects that present costliest risks to handle, and effectively provide a framework ("commonality") within which the detailed design can be worked upon i.e. variability for local functionality.

Indeed, the architecture process or life-cycle just follows this theme - adequate level of abstraction to outline the structure for the (architecturally) significant business requirements, and leave more details to the design phase for more concrete deliverables.

Ajay Shendye
  • 51
  • 1
  • 2
5

Architecture is design, but not all design is architectural. Therefore, strictly speaking, it would make more sense to try to differentiate between architectural design and non-architectural design. And what is the difference? It depends! Each software architect may have a different answer (ymmv!). We develop our heuristics to come up with an answer, such as 'class diagrams are architecture and sequence diagrams are design'. See DSA book for more.

It's common to say that architecture is at a higher abstraction level than design, or architecture is logical and design is physical. But this notion, albeit commonly accepted, is in practice useless. Where do you draw the line between high or low abstraction, between logical and physical? It depends!

So, my suggestion is:

  • create a single design document.
  • name this design document the way you want or, better, the way the readers are more accustomed to. Examples: "Software Architecture", "Software Design Specification".
  • break this document into views and keep in mind you can create a view as a refinement of another view.
  • make the views in the document navigable by adding cross-references or hyperlinks
  • then you'll have higher level views showing broad but shallow overview of the design, and closer-to-implementation views showing narrow but deeper design details.
  • you may want to take a look at an example of multi-view architecture document (here).

Having said all that... a more relevant question we need to ask is: how much design is enough? That is, when should I stop describing the design (in diagrams or prose) and should move on to coding?

Paulo Merson
  • 13,270
  • 8
  • 79
  • 72
  • 1
    While I agree with the initial definition, it would be nice to add its source: "Paul Clements, Documenting software architectures: views and beyond". For your last question: You never stop designing. That is what Clements tries to point out in the referenced book. Every developer working on the system will design __some__ part of it but most of these designs will not be relevant for the architecture. Therefore, if you want to talk about or document the software architecture, you stop as soon as you are discussing parts that are no longer relevant. – Thomas Eizinger Apr 18 '17 at 15:39
  • 1
    @ThomasEizinger. I added a link to our book. Good suggestion. And your comment also helps to give proper credit. As to the last question, I meant to refer to the design documentation effort. I edited the paragraph. Thanks! – Paulo Merson Apr 18 '17 at 19:00
5

Personally, I like this one:

"The designer is concerned with what happens when a user presses a button, and the architect is concerned with what happens when ten thousand users press a button."

SCEA for Java™ EE Study Guide by Mark Cade and Humphrey Sheil

Tavi
  • 69
  • 2
  • 6
  • Even when I have read that book more than twice, after read all the above comments this definition doesn't make sense for me. This is why: the designer part sounds good because you'll take care of every single detail to make sure the button is doing what it supposed it has to. But the architect part is nothing about the modules interaction or the big picture at all but about of performance and stuff like that, do you think I misunderstood something from that definition? – Rene Enriquez Nov 09 '17 at 10:13
3

...long time ago in a faraway place philosophers worried about the distinction between the one and the many. Architecture is about relationship, which requires the many. Architecture has components. Design is about content, which requires the one. Design has properties, qualities, characteristics. We typically think that design is within architecture. Dualistic thinking gives the many as primordial. But architecture is also within design. It's all how we choose to view what is before us - the one or the many.

buzzcoda
  • 31
  • 1
  • I like this answer just because of this sentence "But architecture is also within design." I would say that "architecture can be within design." - it's up to you. They are not separated. – Miroslav Trninic Dec 13 '12 at 17:23
3

Good question... Although the line between them is hardly a bright sharp line, imho, if you are using both terms, then Architecture encompasses more technical or structural decisions about how to build or construct something, especially those decisions that will be hard (or harder) to change once implemeneted, whereas Design encompasses those decisions that either are easy to change later (like method names, class <-> file organizational structure, design patterns, whether to use a singleton or a static class to solve some specific problem, etc. ) and/or those that effect the appearance or esthetic aspects of a system or application (Human Interface, ease of use, look and feel, etc.)

Charles Bretana
  • 143,358
  • 22
  • 150
  • 216
3

The software architecture of a program or computing system is the structure or structures of the system, which comprise software components, the externally visible properties of those components, and the relationships between them.

(from Wikipedia, http://en.wikipedia.org/wiki/Software_architecture)

Software design is a process of problem-solving and planning for a software solution. After the purpose and specifications of software are determined, software developers will design or employ designers to develop a plan for a solution. It includes low-level component and algorithm implementation issues as well as the architectural view.

(from Wikipedia, http://en.wikipedia.org/wiki/Software_design)

Couldn't have said it better myself :)

Larry Watanabe
  • 10,126
  • 9
  • 43
  • 46
3

I view architecture as Patrick Karcher does - the big picture. For example, you can provide the architecture to a building, view its structural support, the windows, entries and exits, water drainage, etc. But you have not "designed" the floor layout's, cubicle positions etc.

So while you've architected the building you have not designed the layout of each office. I think the same holds true for software.

You could view designing the layout, as "architecting the layout" though ...

mr-sk
  • 13,174
  • 11
  • 66
  • 101
3

Pretty subjective but my take:

Architecture The overall design of the system including interactions with other systems, hardware requirement, overall component design, and data flow.

Design The organization and flow of a component in the overall system. This would also include the component's API for interaction with other components.

ErikE
  • 48,881
  • 23
  • 151
  • 196
Jesse Vogt
  • 16,229
  • 16
  • 59
  • 72
3

Software architecture is“concerned with issues...beyond the algorithms and data structures of the computation.

Architecture is specifically not about…details of implementations (e.g., algorithms and data structures.) Architectural design involves a richer collection of abstractions than is typically provided by OOD” (object-oriented design).

Design is concerned with the modularization and detailed interfaces of the design elements, their algorithms and procedures, and the data types needed to support the architecture and to satisfy the requirements.

“architecture” is often used as a mere synonym for “design” (sometimes preceded with the adjective “high-level”). And many people use the term “architectural patterns” as a synonym for “design patterns.”

Check out this link.

Defining the Terms Architecture, Design, and Implementation

Orson
  • 14,981
  • 11
  • 56
  • 70
3

Architecture:
Structural design work at higher levels of abstraction which realize technically significant requirements into the system. The architecture lays down foundation for further design.

Design:
The art of filling in what the architecture does not through an iterative process at each layer of abstraction.

Joshua Ramirez
  • 422
  • 3
  • 10
3

Yep that sounds right to me. The design is what you're going to do, and architecture is the way in which the bits and pieces of the design will be joined together. It could be language agnostic, but would normally specify the technologies to be used ie LAMP v Windows, Web Service v RPC.

MrTelly
  • 14,657
  • 1
  • 48
  • 81
3

I really liked this paper for a rule of thumb on separating architecture from design:

http://www.eden-study.org/articles/2006/abstraction-classes-sw-design_ieesw.pdf

It's called the Intension/Locality hypothesis. Statements on the nature of the software that are non-local and intensional are architectural. Statements that are local and intensional are design.

  • Yes exactly. That's the same set of ideas (from the same authors) that I suggest above. I think they're helpful ideas in this area. – Eoin Oct 26 '13 at 22:50
2

if somebody constructs a ship, then engine, hull, electric-circuits etc. will be his "architectural elements". For him, engine-construction will be "design work".

If he then delegates the construction of the engine to another team, they will create an "engine architecture"...

So - it depends on the level of abstraction or detail. One persons' architecture might be anothers' design!

Gernot Starke
  • 139
  • 2
  • 3
2

Architecture are "the design decisions that are hard to change."

After working with TDD, which practically means that your design changes all the time, I often found myself struggling with this question. The definition above is extracted from Patterns of Enterprise Application Architecture, By Martin Fowler

It means that the architecture depends on the Language, Framework and the Domain of your system. If your can just extract an interface from your Java Class in 5 minutes it is no longer and architecture decision.

ekeren
  • 3,408
  • 3
  • 35
  • 55
2

Software architecture is best used at the system level, when you need to project business and functions identify by higher architecture levels into applications.

For instance, your business is about "Profit and Loss" for traders, and your main functions involved "portfolio evaluation" and "risk computation".

But when a Software Architect will details his solution, he will realize that:

"portfolio evaluation" can not be just one application. It needs to be refined in manageable projects like:

  • GUI
  • Launcher
  • Dispatcher
  • ...

(because the operations involved are so huge they need to be split between several computers, while still being monitored at all times through a common GUI)

a Software design will examine the different applications, their technical relationship and their internal sub-components.
It will produce the specifications needed for the last Architecture layer (the "Technical Architecture") to work on (in term of technical framework or transversal components), and for the project teams (more oriented on the implementation of the business functions) to begin their respective projects.

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
1

I like Roy Thomas Fielding's definition and explanation about what is software architecture in his paper: Architectural Styles and the Design of Network-based Software Architectures

A software architecture is an abstraction of the run-time elements of a software system during some phase of its operation. A system may be composed of many levels of abstraction and many phases of operation, each with its own software architecture.

He emphasizes "run-time elements" and "levels of abstraction".

Jacky
  • 8,619
  • 7
  • 36
  • 40
  • run-time elements also referred to components or modules of the application and each module or component contain its own level of abstraction. Correct? – Ankit Rana Nov 23 '18 at 01:04
1

Design: To learn about the modules, what kind of relationships between the modules, functionality of each module, Classes and its member functions, interfaces of each module that communicating with each other.

Architecture: Architecture is the whole entire structure of a software system. All the modules, classes and components perform different tasks and will give a unique result.

For Example: There is a home which has 5 rooms. There are attach bathrooms as well. Kitchen is also there in the home. So there are different things in the home and these all things have different relationships between each other. So this is all about the 'DESIGN' of a home.

While when you are looking from outside of a house the whole structure you are looking at is all about the Architecture.

Community
  • 1
  • 1
Imran Azim
  • 11
  • 1
1

There is no definitive answer to this because "software architecture" and "software design" have quite a number of definitions and there isn't a canonical definition for either.

A good way of thinking of it is Len Bass, Paul Clements and Rick Kazman's statement that "all architecture is design but not all design is architecture" [Software Architecture in Practice]. I'm not sure I quite agree with that (because architecture can include other activities) but it captures the essence that architecture is a design activity that deals with the critical subset of design.

My slightly flippant definition (found on the SEI definitions page) is that it's the set of decisions which, if made wrongly, cause your project to get cancelled.

A useful attempt at separating architecture, design and implementation as concepts was done by Amnon Eden and Rick Kazman some years ago in a research paper entitled "Architecture, Design, Implementation" which can be found here: http://www.sei.cmu.edu/library/assets/ICSE03-1.pdf. Their language is quite abstract but simplistically they say that architecture is design that can be used in many contexts and is meant to be applied across the system, design is (err) design that can be used in many contexts but is applied in a specific part of the system, and implementation is design specific to a context and applied in that context.

So an architectural decision could be a decision to integrate the system via messaging rather than RPC (so it's a general principle that could be applied in many places and is intended to apply to the whole system), a design decision might be to use a master/slave thread structure in the input request handling module of the system (a general principle that could be used anywhere but in this case is just used in one module) and finally, an implementation decision might be to move responsibilities for security from the Request Router to the Request Handler in the Request Manager module (a decision relevant only to that context, used in that context).

I hope this helps!

Eoin
  • 555
  • 3
  • 9
1

Cliff Notes version:

Design: Implementing a solution based on the specifications of the desired product.

Architecture: The foundation/tools/infrastructure/components that support your design.

This is a pretty broad question that will invoke a lot of responses.

Ta01
  • 31,040
  • 13
  • 70
  • 99
1

Architecture is the resulting collection of design patterns to build a system.

I guess Design is the creativity used to put all this together?

Mark Redman
  • 24,079
  • 20
  • 92
  • 147
  • i have to disagree. it seems that you (as myself and most other answers) put architecture on a "big picture", while design is more about the methods and problem-solving. But, if your architecture is what "results" from the design patterns, they you haven't really architected it, you've just let it grow! – Javier Dec 24 '09 at 16:01
  • ...unless you havent just let it grow, that is :-) It takes some knowledge and experience to have the creativity to use available techniques to create an elegant architecture. ...it's obviously too subjective to come up with anything definitive... but yes you are right considering there are some bad systems out there without overall system designs (architectures) – Mark Redman Dec 24 '09 at 17:04
1

Software design has a longer history while the term software architecture is barely 20 years old. Hence, it is going through growing pains right now.

Academics tend to see Architecture as part of the larger field of software design. Although there is growing recognition that Arch is a field within it's own.

Practitioners tend to see Arch as high-level design decisions that are strategic and can be costly in a project to undo.

The exact line between Arch and design depends on the software domain. For instance, in the domain of Web Applications, the layered architecture is gaining the most popularity currently (Biz Logic Layer, Data Access Layer, etc.) The lower level parts of this Arch are considered design (class diagrams, method signatures, etc.) This would be defined differently in the domains of embedded systems, operating systems, compilers, etc.

LeWoody
  • 3,593
  • 4
  • 25
  • 31
1

Architecture and design are closely related; the main difference between them is really about which way we face. Architecture faces towards strategy, structure and purpose, towards the abstract. Design faces towards implementation and practice, towards the concrete.

Hassan Ali
  • 11
  • 1
1

Architecture is high level, abstract and logical design whereas software design is low level,detailed and physical design.

imran
  • 11
  • 1
1

Also, refer to: http://en.wikipedia.org/wiki/4%2B1_Architectural_View_Model

  • 1
    Vaddi, please consider summarizing the content as well as posting the link. See [this meta post](http://meta.stackexchange.com/questions/13369/is-it-okay-to-answer-a-stackoverflow-question-with-a-link) for a discussion on the topic. Thanks! – GargantuChet Jul 05 '11 at 04:21
0

Architecture is design with a rationale that comes from various factors the most important of which are the non-functional requirements like say scalability and certainly not the least is experience. Without rationale you are left with plain pattern, or how to do. Whether designing at a higher level or at the class level its still design.

OR put another way

Architecture is meta-design, i.e. designing the design. You have a few patterns that are known to fit a certain solution space, which would you select and why? Architecture is when you answer the "which" and "why" (the "how" is already given by design). It certainly does not depend on level of abstraction, for example implementing distributed sessions is not a class level task, but there are a few designs from which to select for a given architecture.

Likewise, architecture is reflected even in a class level design. Under a scalable architecture, class design is often different if you were to do it without the scalability factor in mind. Why you must have a method "BeginAsyncUpload" versus "Upload" is an architectural decision.

Interestingly, as we move focus towards system element at the higher level the questions "which and why" become more important and "how" becomes less relevant. Moving in the other direction the "how" part becomes more important, also because repeated usage makes it obvious, for example, to select between Abstract Factory or Prototype.

Battlefury
  • 247
  • 1
  • 4
  • 20
0

Architecture identifies fundamental components of the system, describes their organisation and how they are related to create a framework for the system.

Design describes various components and how they should be developed to provide required functionality with in the framework provided by the system architecture.

0

In My opinion , Architecture is nothing but a vision ,gathering requirements and framing the building blocks in right way

where as design , to construct particular block there are 100 solutions may be available, but to meet exact requirement we need to choose the right method , so choosing right method or algorithm is nothing but design

0

Architecture is more like integrating various functionalities of a System to achive one goal of the System as a whole, while design addresses each functional requirements.

For example, take example of MVVM, which is an architectural pattern. For notification functionality, MVVM uses observer Pattern, which in turn is a design pattern,

Piyush
  • 1
0

ARCHITECTURE:- An architecture creats the plans layout in various stages of the constructions as acording to the specifications.

DESINER:- A desiner is activity that it fullfil all the essential requirments of the archecture plans with the functional,asthetectic & appreance to the layouts.

0

As others also pointed out, laying out the architecture of a piece of software is actually taking the major design decisions which have overall influence over the software development or execution life-cycle; so simplistically architecture is just high level design.

Even if an architecture decision does not affect all components (is thus, local) it must still be globally relevant, i.e. it impacts the whole system in some way; otherwise is simply a local design decision.

What I'd like to point out though, that a more relevant question related to architecture might be Architecture vs Organization as defined by Hennessy & Patterson in Computer Architecture. Based on this we could think about architecture as the data model (input/output, state) abstraction of the system and the organization as the typical design decisions taken during the implementation (software development) process.

arpadf
  • 413
  • 3
  • 13
0

I think architecture is about the interfaces to humans and/or systems. For insance a web service contract, including protocols and so on, is architecture. How a screen is composed, not colors and such but what fields are there, is architecture.

Design is how something is to be built. What frameworks, language, technology etc. This must of course be aligned with enterprise guidelines and restrictions considering platforms, security and so on.

jimmystormig
  • 10,672
  • 1
  • 29
  • 28
0

http://jinwolf.tumblr.com/post/6591954772/architectural-patterns-vs-design-patterns

The architecture tells you how your system is laid out. One traditional architectural pattern example is 3 tier system where your system is broken down into presentation, business and data layers.

The domain driven design promotes 4 tier architecture. Presentation, application, domain and infrastructure layers. And the repository pattern resides in between the domain layer and infrastructure layer. Your domain models should not know anything about the infrastructure and also should be kept pure and independent from it as well. That is why we have the repository to mediate those two layers.

The repository pattern is still a pattern since it's a reusable solution and handles the problems that repeats. However, the repository pattern becomes only relevant when we talk about the architecture. It has its roles and responsibilities in the domain driven design architecture. It is not mathematical type general solution such as the abstract factory pattern which can be applied anywhere in your system.

Jin
  • 1,076
  • 10
  • 10
-1

Following are the references that may explain Architecture in more detail and a list of UML diagrams for software architecture. (I could not find listing of UML diagrams for software design )

Grady Booch

UML 2 Diagram use for Architectural Models

Classification of UML diagrams

Classification of UML diagrams

Even after posting this answer, i myself is not clear which diagram is for architecture and which one for design :). Grady Booch, in his slide # 58, states that Classes, Interfaces and Collaborations are part of Design View and this Design View is one of the View of Architecture !!!

Community
  • 1
  • 1
bjan
  • 2,000
  • 7
  • 32
  • 64