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

0
votes
1answer
32 views

Should different data resource types have different data mappers?

In my application I have to consume data from an API, do some processing and then store the data retrieved from the API in my own database. Should I have multiple Data Mappers? One for the API and ...
0
votes
0answers
26 views

Set up E-Mail message queue with digest system

We're currently building out a system to send out e-mail notifications in a digest format. We'll be delegating the actual sending to Sendgrid, but first we need to construct these messages using the ...
-4
votes
0answers
105 views

Big Projects in C++ [on hold]

After so much digging, i am asking THE question which is on my mind from almost an year. Just look at this list List of c++ softwares 10 best c++ softwares My question is, How these are ...
2
votes
1answer
81 views

REST API design: distinction between searching and getting all instances of a resource

At the moment, my (pretty standard) REST interface looks like this: POST /foo # creates a new foo PUT /foo/{id} # updates a specific foo GET /foo/{id} # returns a specific foo GET /...
0
votes
0answers
21 views

Hybrid sql / nosql

I have a problem that doesn't seem to have an immediate fix and it confuses me. My main application stores data in mysql: Users Websites (metadata) Pages (metadata) The actual pages ...
1
vote
1answer
58 views

Microservices in the Large (specifically: foreign refs)

There are lots of good resources on μServices that focus on concepts like Single Purpose, REST, Implementation and Deployment, CI/CD, Encapsulation and Isolation, Separating UI from API, etc. However,...
-2
votes
0answers
65 views

Practicing Thought driven development [on hold]

How to proceed programming in new language and in a completely different paradigm, how to understand the underlying architecture? one thought process would be to completely avoid it and on the other ...
3
votes
2answers
94 views

C header file order

I see that in many projects and examples that local includes are listed before external libs and before header files for built in compiler functionality. Is there any advantage here that I am missing?...
0
votes
2answers
74 views

Business Layer in Database logic system

Background:I'm a not very experienced software developer, currently working on a legacy project where all the business logic is in the database(sqlserver) using stored procedures. Now we are asked to ...
1
vote
1answer
52 views

How to prevent “updating” unchanged date using Data Mappers?

In some books the implementation of Data Mappers simply update the whole row of a table using the data inside an object, but in a system is possible that two different operations update different ...
1
vote
1answer
39 views

Web service + sync database + main application architecture

I got to develop a web service that will help synchronize some of our data with APIs from Google, as well other services in the future. I thought, and my boss too, we should go for a stand alone web ...
0
votes
2answers
61 views

Relation between UnitOfWork and DataMapper

I have been studying DDD for 1.5 weeks now, and I came a cross the use of the Unit Of Work pattern together with Data Mapper pattern. I understood why they are both important and when to use them but, ...
0
votes
0answers
46 views

POST REST api request parameter structure

I am working on building a REST api for a web service which aggregates results from multiple backend systems. The current structure is the following { "query" : "test", "sources": [backend1, ...
4
votes
2answers
116 views

Detecting breaking changes when modifying shared code

Currently we have about 20 solutions. The majority of these have multiple projects, including share utils projects, data access, etc. We've had a few problems where a contractor changed something in ...
0
votes
2answers
100 views

Named repositories in DDD

Today we are working with Stored Procedures to access the database. In order to allow unit testing, we implemented an interface for each group of related stored procedures, for example: ...
1
vote
0answers
104 views

Two way communication between applications

I am currently looking into re-architecture of some of my organization applications. Other questions aside, the one that I am currently trying to figure out the best approach for currently is the ...
0
votes
0answers
89 views

How do I design a Service Layer in code?

I am currently rewriting one of my projects in Java and want to implement a service layer that will be used by different clients (CLI/GUI/Web) to communicate with my core application. For now it will ...
0
votes
2answers
163 views

How should I architect my back end based on these needs?

I haven't started building my back end yet but I need to now. My needs are the following: Database needs to be holding millions of game information (just info that can be stored in a typical db ...
1
vote
1answer
152 views

Elevator design challenge [closed]

I need to strengthen my OOP skills and hence I thought to implement an Elevator simulator. At first what seem to be a simple design has grown into a complete mess and has left me confused about my ...
0
votes
0answers
22 views

How to model universal search response with heterogeneous results

I need to model something similar(but little different) to Google Universal Search where the response object is heterogeneous that contains Video, Images, Web Pages, Documents, etc coming from ...
0
votes
1answer
148 views

Reduce server hit for reports by caching REST resources

We have a conventional application built using ASP.Net Web forms which uses SQL Server for database. Reports are generated using SSRS. We have a main table called ManifestContainerDetails - this table ...
0
votes
1answer
24 views

Async web server and associated 'workers' implementation

In a regular WSGI service provider implementation there is a blocking HTTP server that services clients. When a client, for example, creates an invoice, the server simply makes a CRUD operation that ...
3
votes
2answers
97 views

Building an abstraction database

The Scenario I have a Classic ASP project with a SQL Server backend that I need to port to ASP.NET MVC. The legacy site makes liberal use of schema definition analysis in the application itself. ...
6
votes
5answers
329 views

Should I treat a worker as another 'user' in my system?

Basically I am designing a web-enabled application that should have an API in the middle. I found this question on Stack Overflow, which unfortunately has no answers. Let's say there is a system, ...
2
votes
0answers
50 views

Origin of the native compiler [duplicate]

I have been using GCC in a nix environment for as long as I remember. Given the wide range of processors, such as those from Atmel, ARM, Intel, and possibly a custom-made soft-core on an FPGA, and ...
0
votes
1answer
59 views

How To Design Tiers For Web and Mobile App

The scenario is to have a Mobile App and Web App too. So currently I can think of two scenarios Which one do you guys think is better? PS : If needed I can also implement DAL Layer in both the ...
2
votes
0answers
56 views

Adding behaviour to a part of a third party class

I am working with an effectively third-party library. This library has a base class that's used as the interface (C++ style), ComponentBase. ComponentBase has a number of methods and setters that are ...
0
votes
1answer
96 views

How to structure a REST API response for a Flux/Redux frontend?

I have a question about how to structure a response where I return objects related to other objects (one-to-many/many-to-one), and to tell me if the way I've structured my endpoints are wrong or not, ...
0
votes
1answer
174 views

Business logic - Server side vs client side [duplicate]

In my current project, I have a screen which pulls data from several webservices, pulls data from database via backend API and checks that all resources have the same data or not. The other ...
1
vote
1answer
68 views

Software architecture for uploading dynamically created websites

I have a question that is crucial for my end of year project. Background My web application allows users to build other webapps based on drag&drop (within the domain of the webapp). These ...
2
votes
1answer
39 views

What does the Kruchten 4+1 Process View implementation look like using sequence or activity diagrams?

Having read about the 4+1 Kruchten, I am required to document a system architecture using this concept. Instead of the notations proposed by Philippe Kruchten, we decided to go with UML instead. I am ...
-4
votes
1answer
80 views

User Interface and code. How they communicate? Is it just an image and nothing to do with program code [closed]

Does UI interface is just an Image created by graphics tools?. I need to know that when a user interface created to read an textbox in c#. When a text entered is it take values from keyboard by ...
2
votes
2answers
66 views

AMQP broker and happen-before guarantees

I am trying to figure out how an AMQP broker, such as RabbitMQ, can be integrated in our architecture. This should allow to easily scale horizontally in the future. For the sake of simplicity, let me ...
0
votes
1answer
31 views

Design question to best option for storing data in file or DB

I am working on a feature where I need to store some data and I am not sure what should be my best option to store this data. I am sending data to some third party and want to show some part of that ...
0
votes
0answers
73 views

How to convince teammates to start separating database queries into one single layer

We are using ORM with bunch of database models and those ORM database queries (and models, of course) - are literally all over application from top to bottom. And when change in model structure ...
1
vote
2answers
65 views

Parallel testing API based mobile application

The setup So we have a RESTful JSON API. There are iOS and Android applications that consume the said API (one of each). The code for the applications is such that the endpoints are hardcoded to "...
0
votes
0answers
64 views

Should Rails views actually render anything?

I've joined a Rails app with hundreds of pages and no tests, first thing I've done is set us up with model-, controller- and feature-tests and I'm adding them as I work on areas. One thing I'm ...
0
votes
0answers
29 views

Background layer for e-mail actions

My application features an e-mail layer (IEmailHandler) that implements various protocols (via IImapHandler, IPop3Handler etc.). Now when the user logs in, we fetch all their e-mail accounts (could ...
1
vote
1answer
88 views

Send messages from multiple services/application and display them in one place

Inside system I'm developing I have several Windows Services, couple of applications running in Scheduler and COM+ application that is running my custom DLL's. Some of them are running on same PC, but ...
1
vote
4answers
75 views

Handling missing values in response

Suppose a web application relies heavily on the third party APIs and I am expecting a response from it but somehow I don't get any, maybe because of the API exception or missing value on the API side ...
0
votes
0answers
20 views

Web application: Split auth from business logic? And session values?

So when starting a new web project (ASP.NET mostly) I always end up arguing with myself: Where do I keep the Authentication logic, the User entities and how do I combine them with my other business ...
0
votes
1answer
68 views

Cache invalidation on multiple servers

I have 6 web servers which are giving me problems due to cache inconsistency. I am thinking of building a cache invalidation service such that there is a topic on which all the servers can publish a ...
1
vote
1answer
84 views

How to decouple backend app?

I have heard this term many times, and it makes sense in theory. That app is doing many things and it'd be easier to manage, scale, test and improve them if they are not completely connected to each ...
1
vote
2answers
92 views

Handling Production Seed Data

We have a requirement for a new feature which requires some seed data to be present in the database (basically some default values) for the feature to function correctly. We have this in 2 different ...
0
votes
0answers
54 views

How does maven internally manages package dependency?

Can some let me know how does maven internally manages package dependency? Is there any architecture diagram available on the net for the same? I also asked this in Quora and maven user mailing list ...
2
votes
2answers
126 views

Unit testing / How to validate private fields of a newly created object?

I have a basic unit test (for the sample) that involves this code: void testShouldCreateACar() { Car car = someone.createFerrari(); assertTrue(car.name == "Ferrari"); // can't access name since ...
0
votes
1answer
79 views

Cross-cutting concerns and library sharing in Microservice architecture

I've been thinking about practicing with a simple Microservice (oxymoron I guess) application and I found an issue I was not able to resolve. I'll go with a concrete example since the definition of ...
22
votes
11answers
3k views

Should coding best practices always be used [closed]

When coding software, should the architecture always be best practices or practical practices in regards to the application being built? If I am building a two page web application that might live 5 ...
2
votes
2answers
134 views

How To Design Time Slot Based App

I have got a responsibility of designing an app which allocates time slots for doctors booking. The scenario is like, there'll be entry for doctors and their time slot for each days. For E.g. ...
1
vote
1answer
51 views

“An event can be made of two parts, the event header and the event body.” Is this about event or event notification?

From: https://en.wikipedia.org/wiki/Event-driven_architecture Considering: Events do not travel, they just occur. Are the following statements valid? Event channels are conduits in which events ...