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

-2
votes
1answer
96 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
67 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
193 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
146 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
121 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
189 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
184 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
302 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
95 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
186 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
106 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
321 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
150 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
258 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
211 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
122 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
587 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
257 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
294 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
251 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
47 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
40 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
87 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
268 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
169 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 ...
0
votes
1answer
70 views

Architecture of approval process

I want to design an approval process for my work flow but I wonder if there is an architecrural pattern or desing pattern for this solution. For example an engineer will create a work. And program ...
1
vote
1answer
239 views

Pros and Cons of odd iframe 'architecture'

I'm in the process of experimenting with ways of breaking up a large (and growing project). Currently, we're working with a big Angular application with what will soon be a large number of components. ...
2
votes
1answer
96 views

Web server facilitating a TCP handshake between two native apps behind typical home firewalls

I currently have two parties set up: typical HTTP web server native app distributed to consumers (presumably behind typical home router/firewall configuration) The app is designed to work on ...
3
votes
2answers
331 views

Is it better to have one web app or multiple web apps

I am going to develop a server application to provide the functionality of a book keeping software in tomcat server. I can think of two ways to achieve this. Creating a single web application - Let'...
1
vote
2answers
76 views

How should an entity that abstracts an external service do its operations?

I'm creating a system using some DDD principles and I'm stuck with a problem. To give a bit more of context on what I'm trying to do, let me first describe what the system is about: The ideia is to ...
2
votes
1answer
248 views

Scaling websocket client connections (not server) to multiple servers

I wrote a Slack bot which must connect to Slack teams through websocket connections. Since the bot might be used by thousands of team, I will eventually need to distribute the teams across multiple ...
0
votes
1answer
64 views

Concurrent languages and non-concurrent dependencies [closed]

We had a bug caused by ruby workers (4 processes, 1 thread each) doing batching records using a legacy mongodb as the store. The race condition was around whether the batch was full or not; with one ...
1
vote
1answer
174 views

Function pointers vs. Derived classes

So I have a Signal class and a client class which manages a list of Signal objects. The class provides a bunch of interfaces, one of them is an update()-function. The update()-code is completely ...
1
vote
2answers
166 views

Repositories, Gateways, Models and Architecture Questions

I am working with a Laravel project and I am looking for a way to solve the issue of bloated models and cross referencing between them. I had started extracting higher level methods to a repository ...
0
votes
1answer
136 views

Do I require an external server for my new mobile app? Only minimal text content to change within my app every couple of weeks

I am about to submit my new app to the iOS App Store. It's very simple. The app generates a random motivational quote and displays it onscreen. I have a database of 500 quotes now, stored in a plist ...
3
votes
3answers
208 views

Multi-screen MVVM architecture/design - Should my “screen” ViewModels contain sub-ViewModels?

I'm getting beyond a simple MVVM program now, and I'd just like to sense check my current architecture and makes sure I'm going down the right path here. Everything is structured around screens, and ...
0
votes
0answers
92 views

Azure Active Directory

I am developing a suite of applications that will be hosted in Azure. Some apps will be for customer use (not public tho, i.e. invited/paid up customers) and some for internal employees. For ...
3
votes
2answers
204 views

Configuring a microservice landscape, should the view be monolithic or be attached to core services?

I'm migrating my monolithic web application to a microservice based one. I'm going to use Spring cloud and I've got a discovery service where all the rest of the services are registered. A simplified ...
-1
votes
3answers
177 views

.Net Project architecture and DB connection

I'm looking at a new project to be developed in .Net, and I'd like to do it the right way. I'd like to create a solution with 3 parts : a front- and a backoffice, both using a the third part as ...
0
votes
1answer
84 views

What is the responsibility of a class 'calling' other classes as workflow?

What if I have a class X that does the following: Read a file (within its own class). Parses the file by calling a Parse class Processing the parsed file by calling a Process class Outputting by ...
2
votes
1answer
145 views

Standard System that connects to any datasource without much/any source-specific code?

We are a small team doing work on a LoB system that needs to connect to varied systems such as ERPs and CRMs to extract business processes like invoices, customer info, production orders and the such, ...
1
vote
2answers
177 views

Is this an appropriate code structure, or is there a better one?

This is an iOS app but I will try to make it as general as possible because I think a wide audience could have good feedback. I have a application I am making for iOS. It has 4 main tabs in a tab bar ...
1
vote
0answers
145 views

Handling multiple rest api versions within Android Java client

Actual architecture I have an app where a model is attached to every activity. The model ask a repository for information that can come from server or local db depending on many factors. When it asks ...
2
votes
1answer
291 views

Communicating with third party API

I am working on an App which basically communicate with a third party API, it has no back-end. The front-end will be a SPA. Here is the overall scenario: The external API needs current user's Id to ...
0
votes
0answers
56 views

Software Architecture: CQRS and port modeling

I have a PersonComponent, which an internal implementation is based on CQRS pattern. So which one is better way to model ports (and their interfaces): I'm not totally sure that how high or low -...
2
votes
2answers
227 views

Do common MVC frameworks violate the LSP and is there a MVC framework which does not?

You who have worked with a framework implementing the MVC architectural pattern most likely know how these frameworks are usually implemented. They contain a base Controller class, which you extend, ...
0
votes
0answers
30 views

Design solution for currentUser object behavior in the SDK

Background Our team working on the SDK to give third-parties access to our service. The basic functional is moving around the current logged-in user. Basically we have a User class with static ...
2
votes
1answer
138 views

ASP.NET MVC Middle tier object naming

As a corporate developer who works alone I find myself creating and writing a lot of websites that consist of screens that are basically wrappers for a DB table. So for instance on a screen that ...
3
votes
2answers
116 views

Where does apply authorization rules for my layered application?

This question is about applying rules of my application that confuse me. My controller is using service and the service is using repository. public class CommentController: ApiController{ [...