Questions tagged [architecture]

The high-level design and description of a software system. Architectural design distills away details of implementations, algorithms, and data representation to concentrate on the interaction of "black box" components.

Further Reading

3510 questions
44
votes
4 answers

Where does authorization fit in a layered architecture?

Typically, I place authorization decisions in my server side controllers. These have been RESTful endpoints recently, but I think the same stands for MVC type architectures. For the sake of argument assume that it's role based authorisation. A…
tom
  • 1,912
29
votes
7 answers

Addressing the fact that primary keys are not part of your business domain

In almost all circumstances, primary keys are not a part of your business domain. Sure, you may have some important user-facing objects with unique indices (UserName for users or OrderNumber for orders) but in most cases, there is no business need…
23
votes
6 answers

Should I organize my folders by business domain or by technical domain?

For example, if I'm using some MVC-like architecture, which folder structure should I use: domain1/ controller model view domain2/ controller model view Or: controllers/ domain1 domain2 models/ domain1 …
14
votes
1 answer

How to prevent a colleague introducing extreme complexity and abstraction?

I am having a very difficult time because my colleague seems to exhibit Premature/Unnecessary optimization efforts Premature deduplication with questionable abstractions For example, we use a modified VIPER architecture. He introduced a base class…
Earl Grey
  • 628
11
votes
7 answers

Are there any best practices regarding the handover from architecture to development?

We are looking at improving the process for handing over tasks from architecture to development. At one end of the scale it there is no architecture guidance you risk getting chaos, with each developer doing things his way. At the other end of the…
Shiraz Bhaiji
  • 527
  • 3
  • 12
10
votes
4 answers

Benefits of TOGAF or similar?

I can read the website blurb and be impressed by the alleged benefits, but I haven't worked anywhere or with anyone who followed the TOGAF (or any alternative) architecture framework. Our organisation has declared itself dedicated to moving from…
Lunatik
  • 217
10
votes
6 answers

Bridging the gap between abstract machines and computer achitectures?

I always feel disconnected between abstract machines (such as Turing machines) and computer architectures (including virtual machines' architectures, Von Neumann's achitecture). So I would like to know how they are related? How do one influence the…
Tim
  • 5,455
10
votes
2 answers

How do I design a card game?

I can not come up with a good architecture for my card game. I need help to understand how games usually are designed. First, I will describe game rules. Game Rules Setup There are four players, each two player form a team. Each player gets 12…
Mohsen
  • 1,990
10
votes
3 answers

IEC 62304 compliant Architecture definition

I am currently tasked with creating a software architecture for compliance with IEC 62304. These regulations are notoriously vague, and do not provide any real substance as to what is required for a "software architecture". The standard…
Dan F
  • 201
10
votes
5 answers

How to reduce tight coupling between two data sources

I'm having some trouble finding a proper solution to the following architecture problem. In our setting (sketched below) we have 2 data sources, where data source A is the primary source for items of type Foo. A secondary data source exists which…
fstuijt
  • 253
  • 2
  • 7
9
votes
5 answers

Are there memory-memory instructions?

From Tanenbaum's Structured Computer Organization, Most instructions can be divided into one of two categories: register-memory or register-register. Register-memory instructions allow memory words to be fetched into registers, where, for example,…
Tim
  • 5,455
8
votes
1 answer

Two frameworks one repo

So I am going to use ReactJS for the front-end for a web application The application is mostly CRUD stuff but with some ajax UI etc. For the back-end I am using Laravel Right now I have both the front-end code and the back-end code in the same…
8
votes
3 answers

when to introduce an application services tier in an n-tier application

I am developing a web based application whose primary objective is to fetch data from the database, display it on the UI, take in user inputs and write them back to the database. The application is not going to be doing any industrial strength…
user20358
  • 713
7
votes
2 answers

Does your company have architectural principles? Which ones?

Does your company have architectural principles that are written and agreed upon? How did they come about? How do you manage ownership and acceptance of these principles? Are they helping you or hinder you?
Yuriy Zubarev
  • 2,653
  • 1
  • 16
  • 15
7
votes
3 answers

What is the architectural pattern: data pollers collect push normalized data to a central server for monitoring

I am trying to find a name for this architectural pattern that I have seen in many places before: Poller - (There are a number of these) These are either plugins or services acting on there own communicate with equipment of various sorts collecting…
JeffV
  • 415
1
2 3 4 5 6 7