Questions tagged [architectural-patterns]

An architectural pattern is a general, reusable solution to a commonly occurring problem in software architecture within a given context. When using this tag on implementation heavy questions - tag the code language the implementation is written in.

An architectural pattern is a general, reusable solution to a commonly occurring problem in software architecture within a given context

Architectural patterns are similar to software design patterns but have a broader scope.

The architectural patterns address various issues in software engineering, such as:

  • Computer hardware performance limitations.
  • High availability.
  • Minimization of business risks.

Some architectural patterns have been implemented within software frameworks.

105 questions
1
vote
1 answer

Naming conventions for a project containg only WCF ServiceReferences?

Let's say we have a back-end that needs to talk to N external systems using some kind of Web Services. What I do is: Create a separate project and generate there the proxy classes (using the service's WSDL in the WCF Service Reference…
Nikos Baxevanis
  • 10,868
  • 2
  • 46
  • 80
1
vote
4 answers

location of interfaces dilemma

Given a code project which is supposed to adhere to the SoC principle by implementing loosely coupled layers, having an IoC container, etc., for example, a simple ASP.NET MVC solution which is separated into the following assemblies: Application…
1
vote
2 answers

React JS - How does this program work?

I took React.JS course in Codeacademy. This problem from React.JS part II. I'm learning patterns of programming but I can't understand how this pattern works Code: Parent.js var React = require('react'); var ReactDOM = require('react-dom'); var…
1
vote
1 answer

Which files are responsible specifically for Model, View and Controller in struts2 MVC framework?

My MVC concept is not clear. It seems me that .xml files are for Modeling; .jsp files are for Viewing; .java files are for Controlling. This is actually represents MVC system. I have the working basic concepts on MVC formula but I am not clear on…
1
vote
1 answer

How to display data from more than one table to my view using MVP pattern in C# winforms?

How to display data from more than one table to my view using MVP pattern in C# winforms? Say I have the following tables: Fruit Color Table definition: +----------+ | Fruit | +----------+ | Id | | Name | | Color_Id…
devpro101
  • 338
  • 1
  • 3
  • 13
1
vote
1 answer

MVC with nested views

Consider the following view structure: Layout View Map View List View Item View List View Item View Item View Item View List View Item View Item View At the moment, I have only one controller for that entire structure. All the nested…
1
vote
1 answer

Should i create a view ( consisting UIButton, UILabel etc) in a separate UIView class or inside UIViewController?

I have a UIViewController say viewControllerA which contains some view element like UIButton, UILabel etc. Now my question is should I create those view elements in a separate UIView class and then add in UIViewController, or should I create those…
russell
  • 3,668
  • 9
  • 43
  • 56
0
votes
0 answers

Centralize input validation across multiple Microservices

My company, which specializes in logistics and transportation, delegated the majority of the backend microservices to our team. All of the microservices (which our team inherited from "past generations") appear to have inconsistent input field…
0
votes
0 answers

Long-running process in NodeJS / SQS / Workers

I have to orchestrate a long-running task which involves several tasks, some of the tasks are 3rd party integrations and some others are CPU intensive, so every task has its own worker process. The tasks normally needs the result of the previous…
0
votes
1 answer

Vue2 - Plugin Install vs. Component lifecycle + main App, Mixins, Services, Vuex Actions - Organizing code that runs on initial startup

There are times when you need to add a bridge between an external API and your application. There's two pieces to this - retrieving data from an API and writing that data to the store. And sending data to an API based on user action and updating the…
Harry Robbins
  • 530
  • 4
  • 17
0
votes
1 answer

DynamoDB Single-Table Design for Advanced Set of Access Patterns

I've been working on new projects and experimenting with DynamoDB single-table design and recently I've encountered some problems with implementing more complex use cases and would like to get some input. I was wondering how you implement resources…
0
votes
1 answer

Universal Unity MVP solution

I am looking for some sort of universal solution for implementing MVP in Unity. I've been working on a project before and guys had pretty nice solution but I don't remember exactly how it worked. So I tried to recreate this as I remember and stuck…
0
votes
0 answers

React provider pattern in other languages

Sorry for this question I'm at the process of learning react in a good way and days ago when I finally get how the contexts and providers works on my mind I just fell in love with this technique. Do you know if there is a pattern that can be applied…
0
votes
0 answers

Share data between models in a MVC application

I am developing a SPA side project using the MVC pattern in vanilla JavaScript. My goal is learning how the MVC pattern can be applied. It is a simple e-commerce that shows a list of goods to sell. I have different components and each component has…
0
votes
1 answer

The service threw an exception during a call to the second service within a transaction. What general solution is possible?

My problem schematically is: service A beginning transaction; service A prepared and save any data to DB service A make some (HTTP-REST) request on service B if service B success responded (and saved data), then A commit transaction If service B…