Questions tagged [architecture]

Architecture encompasses the process, artifacts and high-level structure of a solution.

Architecture on StackOverflow.com

The Architecture tag on StackOverflow tends to cover a broad range of topics related to architecture, but mostly focuses on issues related to software.

More broadly...

As a Process

Architecture looks to gather information and make informed decisions regarding the nature of the solution. This specifically includes:

  • Interaction with various stakeholders.
  • Establishing the relative importance of various System Quality Attributes which will drive the architecture.
  • Evaluating different options against requirements (which can be both project specific and enterprise wide).

As a Role

Architecture covers the entire domain of software / information systems, and is composed of many specific roles that deal with the diverse complexity of that domain.

  • Enterprise Architects who deal with the top most strategic level of (often business orientated) architecture.
  • Solution Architects who tend to work on project specific work, and whom cover a very broad range of technology.
  • Software Architects who tend to work very much as Solution Architects but with a specific focus on Software.

These roles tend cover a broad spectrum of disciplines, and are supported by the follow roles which tend to have a much more specific focus and whom can cover both project specific work and enterprise wide concerns (such as tool selection):

  • Infrastructure and Network Architects who deal with those respective areas (see https://serverfault.com).
  • Data Architects who deal with all aspects relating to data including management, quality and re-use. Data Architects also deal with Business Intelligence.
  • Security Architects who focus on all aspects of security.

This list isn't exhaustive, other common architecture roles include Application Architect and Technical Architect.

17088 questions
7
votes
3 answers

ASP.NET MVC image upload store location (db vs filesystem)

I am writing web application using ASP.NET MVC + NHibernate + Postres stack. I wonder if images uploaded should be stored in database as binary blobs or on filesystem (and reference only in db). One advantage of db storage I can think of is easy…
adrin
  • 3,738
  • 8
  • 40
  • 60
7
votes
2 answers

Accessing React state from outside

I want to make an app using React.js. I want it to be easily customizable from the outside world (e. g. by writing userscripts). The idea I attempted to use is to make some special properties in the root element state (like sidebarItems or…
Ale
  • 1,998
  • 19
  • 31
7
votes
1 answer

Combining CQRS with DDD?

For most of my applications I use a straight-forward DDD approach, which means separating the layers of the Onion Architecture, decoupling the domain from the infrastructure, etc. Two often-recurring building blocks, the repository and event bus,…
xvdiff
  • 2,179
  • 2
  • 24
  • 47
7
votes
1 answer

How do I handle nested API responses in a Flux application?

I'm porting an existing app to Flux and I'm a bit confused about one topic. Say I have several API endpoints that return two- or three-level nested objects. For example, GET /articles may return a JSON response of schema articles: article* article:…
Dan Abramov
  • 264,556
  • 84
  • 409
  • 511
7
votes
4 answers

WCF Data Services implementation strategies

Microsoft has done a savvy job of not outlining the actual place for data services in the wonderful world of SOA/Web dev. So my question is are WCF Data Services designed to be used via external clients? Has anyone ever heard of someone using…
Nix
  • 57,072
  • 29
  • 149
  • 198
7
votes
3 answers

Message queue architecture when messages need to access shared data

I have to build a motion detection service. The motion detection doesn't operate on videos, but instead on just still images. This microservice will need to be able to receive images out of order (with a timestamp) and figure out if the image…
Dominic Bou-Samra
  • 14,799
  • 26
  • 100
  • 156
7
votes
3 answers

N-Tier Architecture - Structure with multiple projects in VB.NET

I would like some advice on the best approach to use in the following situation... I will have a Windows Application and a Web Application (presentation layers), these will both access a common business layer. The business layer will look at a…
Craig F
  • 165
  • 2
  • 10
7
votes
2 answers

Hexagonal architecture - a simple use case

I've been reading a lot a bout hexagonal architecture and I do get most of the concepts (well, I hope I do), I didn't find any example of that architecture use-case wise. Let's say that my application domain model is to make people drunk. The whole…
7
votes
1 answer

Contravariance? Covariance? What's wrong with this generic architecture...?

I'm having some problems setting up a command handling architecture. I want to be able to create a number of different commands derived from ICommand; then, create a number of different command handlers derived from ICommandHandler; Here's the…
Sambo
  • 1,472
  • 5
  • 21
  • 33
7
votes
3 answers

.NET Game Server

i've a question over here regarding the .Net framework technology and the gaming server. supposely, i've a few game machine acting as a client and i want to connect those client machine to a gaming server, do you guys think it is good if i develop…
Leo Vo
  • 9,980
  • 9
  • 56
  • 78
7
votes
2 answers

Designing common server side for mobile and web application

I have a project where I should develop a mobile application(android) and a website. As both of them have the same database/content and functionality I want to write common sever side for mobile and web application. Now I have two options: To…
7
votes
3 answers

Row-level security in a client-database scenario

I am looking for a good pattern to implement row-level security controls (via e.g. a proxy, man-in-the-middle web service, or stored procedures) suitable for use in a client->database environment. I control both the client and the database. Some…
Drew
  • 8,675
  • 6
  • 43
  • 41
7
votes
7 answers

Using email instead of login name in django

Firstly, this is not the question how to authenticate on email/password pair, but rather how to produce logical, and if you like, beautiful data structure. I want to use emails as user names in a given django project. However, I am unable to re-use…
Art
  • 23,747
  • 29
  • 89
  • 101
7
votes
4 answers

Good architecture for 2-tier(client-server) desktop application using linq-to-sql

Our present architecture - UI,BusinessLayer,DAL(generated linq-to-sql).In the DAL layer, we have added validation logic for entities in partial class. We are directly using entities generated by linq-to-sql in businesslayer(which is bunch of classes…
junky_user
  • 385
  • 1
  • 3
  • 10
7
votes
4 answers

How to implement Unit of work in MVC: Responsibility

Who has the responsability Who has the responsibility to start and finish the Unit of work in a MVC architecture?
SDReyes
  • 9,798
  • 16
  • 53
  • 92