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.

learn more… | top users | synonyms

3
votes
2answers
164 views

Write unit tests for the libraries, or just the application?

Background I am fairly new to unit testing, and have been recently using the Visual Studio Test Manager to create my Unit Tests. The way that I have currently been doing things is as follows: ...
0
votes
1answer
68 views

Is it a good practice to use a Service without Delegate?

I have a simple REST application with a single controller. The application needs to fetch data from a Database, convert it to JSON and return this to the caller. I need to decide what layers I should ...
3
votes
2answers
141 views

Do there exist terms or classifications that describe the type of command line program you are writing?

Are there terms that are used to describe what kind of command line program you are programming based on how the program is designed to interact with the user? For example, I can write a program that ...
1
vote
1answer
142 views

How to deal with states in front end?

This may sound as a naive question but its bugging me since a long time. I have the following scenario: I have written a new shiny Todo service with my favorite front-end and back-end framework. To ...
1
vote
1answer
92 views

Most efficient way to keep count of objects in State X without constantly counting

The application I work on manages hundreds of thousands of records each in a different state in their lifecycle. A large requirement is to have a nearly accurate count of these objects in each state ...
0
votes
1answer
64 views

Universal Form Handler

I'm building a API that gets called from web / mobile applications written using Ionic (web languages on mobile), which uses Angular.js. We want to be able to do server side validation of forms but ...
0
votes
1answer
51 views

Where to put peripheral use cases in android while using clean architecture

I'm trying to work myself into the Clean Architecture by Bob Martin with respect to android applications. It seems to me like there are Use Cases which do not encapsulate the Domain Layer, but belong ...
1
vote
3answers
47 views

Archiving data by semester

The problem is similar to this question, but not a duplicate. What I'm looking for is a better solution than my current one. I'm building a web application for a department in my university, and due ...
1
vote
1answer
63 views

My web app uses a number of photo hosting APIs. What would be an effective database design to store their limitations?

For the sake of an example, let's say I'm using Picasa, Flickr and 500px APIs, and that each of the services has limitations on these simplified parameters: overall account space individual file ...
1
vote
1answer
66 views

Eventing solutions for java legacy applications too old for real JMS queue/topic eventing?

What are some architectural solutions that can mimic eventing for systems (Java) that are too old to implement eventing solutions, such as conventional Queue/Topic based JMS messaging? I have a ...
-2
votes
1answer
133 views

Business domain vs technical domain

So I came across this post while researching about package structuring for MVC. I just need some clarifications on what a business domain and technical domain are. Examples would be helpful.
0
votes
0answers
34 views

Local and web apps: spawning child process vs two independent processes

This is high-level question of sorts, hoping to avoid answers that would get into OS specific logic, language/framework specific logic, etc. I have a console application that I built mostly for ...
2
votes
2answers
175 views

What is a good approach to get a detailed system design from an existing system?

I will be working on a system which will be ported over from Java to .Net. It is a pretty big system. I don't have any specifics about how the system is designed, no documentation, nothing. You know ...
3
votes
2answers
664 views

Communication between microservices - distinguishing internal calls safely

I am rearchitecturing and rewriting my monolithic BaaS solution into microservices regarding to scalability and single responsibility rules. Due to the internal dependencies, services are placed on ...
0
votes
1answer
52 views

Using static methods in layered architecture

In layered architecture does it matter where static methods go? Or is it the architect deciding this? For example can the DAL be static to cache records and perform smart data retrieval at the ...
2
votes
1answer
266 views

Onion architecture and independence

Trying to understand onion architecture. As I understand it, there is different opinions about the names of the layers. In this post I refer to the layers as: infrastructure -> api -> domain -&...
1
vote
3answers
312 views

Where should I do localization (server-side or client-side)?

I am currently developing a new web application based on a rich JavaScript client which communicates with multiple REST web services on my server. That application is intended to be used in at least ...
-3
votes
1answer
138 views

Should I use NoSQL or HDFS for storage?

I have millions of tweets currently stored in HDFS and I plan to analyze them from Spark (Data mining, text mining, Frequent Term-Based Text Clustering, Social Network Analysis) however, do not know ...
1
vote
1answer
140 views

MVC Architecture: How to generate a view-model that is displayed on every page

I have been building a greenfield application. It is three layer (data-access, domain-models, presentation) with the presentation layer being VMVC. This is the cleanest application I've ever built by ...
6
votes
2answers
315 views

DDD: Creating reusable modules and service type distinctions (Domain, Infrastructure, Application)

So after reading "Implementing Domain-Driven Design by Vaughn Vernon" I've decided to refactor my code for better re usability by isolating what I believe to be core domain concepts into separate ...
5
votes
3answers
124 views

In the MVP pattern, the Presenter must control the call flow of Model methods?

I have a Presenter ( RoomPresenter) and a Model ( RoomModel). My RoomModel have some methods like: void createRoom(RoomData roomData, List<User> users) void addUsersToRoom(int roomId, List<...
1
vote
1answer
79 views

Architecting a middle-tier enterprise system

I am a software developer with limited exposure to designing larger systems. I am interested in determining some common techniques, maybe even common diagrams, to help me complete the design of a ...
0
votes
0answers
55 views

Incorporating external web services in Java/Spring web app

With traditional Java/Spring web apps, I've historically used an JEE architecture where there's a domain tier and a web tier. The web tier mostly contains web controllers. The domain tier includes ...
1
vote
1answer
61 views

What is meant by “Call Stack” in the context of an OWASP review?

I am studying the OWASP Level 2 review measures and methodology. I am applying this to a software I am designing and developing now, so the goal is to write the software the proper way so that it will ...
-2
votes
1answer
97 views

Investigating in a highly distributed environment [closed]

I was asked this by an interviewer today and unfortunately he wouldn't share the kind of answer he was looking for so I'm hoping maybe the community can help. Say you're an engineer at company X and ...
1
vote
2answers
69 views

Circular Reference Between Data And Model Classes

I have my C# project separated in several projects, so each will become a separate .dll after. I have one project for my Model and one for my Data. Model is responsible for Business Logic and ...
-2
votes
2answers
214 views

Angular JS vs Modern MVC frameworks

I might be wrong for some things here, but here is what I recently though about. Modern frameworks MVC such as ASP.NET MVC 5, CakePHP, Java Spring etc. has their logic clearly separated into Models ...
0
votes
1answer
154 views

User browser, WebSockets, server C#/MVC, game

Moving a windows desktop game to a web server based one. User will use a modern web browser and communicate with the server via WebSockets (SignalR). Server runs .Net4.5/MVC - ie stateless. Game ...
-2
votes
2answers
135 views

Where can I find software project deliverables/ documents to help me professionally document my projects? [closed]

Hie guys. I have never been employed in the software development industry and when I do projects I usually just draw non-standard diagrams or used use case diagrams and class diagrams. This time a ...
0
votes
0answers
48 views

Deciding on a Portable Platform (given a set of requirements)

Background Before asking this question, I researched this site and found the following 3 most similar questions have already been asked: When would using a scripting language within a larger program ...
4
votes
1answer
198 views

When designing a directory structure should filenames include folder names?

Suppose I have two directories: house-1 and house-2. Each house directory needs to have files describing its windows and doors. I am trying to understand how to name the files and directories. My ...
3
votes
1answer
210 views

In MVP pattern should the View instantiate a Model object based on UI contents, or just pass these contents as parameters to the Presenter?

I'm using MVP pattern in an android app that I'm developing. I have basically 4 elements: The AddUserView where a new user can be added: The AddUserPresenter The UserInfo (the pojo) The ...
2
votes
2answers
308 views

Modeling a multi-channel communication device in C#

Background We (my coworkers and I) are architecting a high level C# API to interact with a hardware device's native Windows DLL. First I will discuss the hardware-architecture, then get to the ...
1
vote
1answer
126 views

Which way are downstream and upstream services?

For a system that consist of multiple services calling each other (e.g. Front End -> Backend -> Storage), I often heard people using terminology such as "downstream" or "upstream" services. I'm not ...
1
vote
2answers
187 views

Software Design, a fitting Design Pattern?

Currently we need to interface with a REST API. The only problem we have implementing this is choosing the right approach. We’ve done this by using Resources – for example a Photo Resource that has ...
2
votes
2answers
108 views

When should I nest one module inside another?

Assume I'm working on a JavaScript application and make extensive use of the module pattern with one file per module. Now suppose I have two folders/modules: one for module A and another for module B. ...
0
votes
2answers
327 views

Architecture question about MQTT

I'm implementing a solution for IoT/home automation, starting first test on my house... Is going to use MQTT to exchange messages using a central broker model. This are the components: cloud server, ...
5
votes
1answer
151 views

Reasons not to have flexible role management system

Our .NET web application has the ability to add roles dynamically and assign functionalities (we define them in an application enum) to that role. So those functionalities are defined by us (our ...
4
votes
2answers
263 views

What is the value proposition of “build, release, run”?

When I read factor V of the Twelve-Factor App I see only one clear and obvious end result being described: it is impossible to make changes to the code at runtime Perhaps it is supposed to be ...
2
votes
1answer
216 views

What's the equation to use for finding availability in software architecture?

I was trying to solve the following question in software architecture. A software system crashed 20 times in an year and for each crash, it takes 2 minutes to restart. Calculate availability in ...
2
votes
2answers
137 views

Where to put User Interface/Domain Model manipulation logic (transferring data from the view to Domain Model)

We are starting on a greenfield project in ASP.NET MVC. I've used the MVC pattern in other stacks (PHP and Ruby) and I keep running into the same problems of where to place business logic, UI logic, ...
6
votes
3answers
589 views

How to pick sequential item IDs and avoiding a clash

Say for example I was running a popular image host and all my images have an ID which they can be accessed by. If I wanted this ID to be sequential and not random what would be the best way to make ...
7
votes
2answers
258 views

Object reading from file, violation of SRP?

I am writing a physics simulation program in C++. I am a novice in OOP and C++. In my program, several objects need to be initialized based on data from an input file. For example, an imaginary ...
2
votes
1answer
339 views

How to refactor services into API, repository and caching (.NET)?

I am working on a .NET project with, which started out as a prototype that now has to scale. We have the ASP.NET MVC stack with Entity Framework (code first). I would like to hear how to scale this ...
1
vote
3answers
257 views

CMS Design: Is multi-site a good idea?

I'm building a new CMS with Node.js, and I have a question. Would adding WordPress-like multi-site support to the system be a good idea? Or should I let the user handle it via a reverse proxy like ...
1
vote
0answers
52 views

Converting our B2B application to SaaS need architecture advice

We have developed a small ERP application and the architecture right now is a 1-1 deployment/codebase for each client. We are now trying to convert it to a SaaS solution and we have the following ...
0
votes
0answers
41 views

Code architecture for separate apps facilitating the same process

So I am at a cross roads with deciding on my integration strategy for a few of our business apps that play a role in a larger process. Being the only developer and never having to do this before leads ...
0
votes
0answers
101 views

Rearchitecture: EF Core as DAL, how should my BLL look like?

A little background: Our system consists of a DB in SQL Server, a DAL layer using EF 6 (Database First, with a monstrous .edmx), a Web API 2 and MVC 5. The DB is very, very old and wasn't designed ...
5
votes
1answer
288 views

Who communicates with the database in MVC/MVP?

I am building a small application and want to save my business objects to a database. I have my business objects and a model that acts as a container for my business objects and provides methods for ...
4
votes
1answer
175 views

How to build notification system in Azure

I have a system running in Azure that accepts messages via a REST endpoint. The customer has a certain number of devices that send some data for example temperature and we present this data in a web ...