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
0
votes
1 answer

Entity Framework for multi-form winforms desktop app

I am developing desktop app based on winforms and EF. At the moment I have some problems with EF and architecture: Syncronizing data. There are multiple forms and each form uses it's own instance of database context. When data is updated on one…
0
votes
1 answer

How to track with ormlite that database changes were made?

I am working with the com.j256.ormlite package. My goal is to have a working database-file and a file the user can save with an UI-button to. To reach this goal I intent to track changes in the working file at the database abstraction layer and…
0
votes
1 answer

Avoid code replication

In my code I have many functions with this signature (params + return type), and they all use this same try-catch clause. public ActionResult methodName(int id) { try { //Some specific code here return new…
Flame_Phoenix
  • 16,489
  • 37
  • 131
  • 266
0
votes
0 answers

Proper Architecture with Unit of Work and Repository Pattern in C#

I am working on implementing a repository and unit of work pattern; but instead of putting my unit of work in the controller and having business logic in the controller I am implementing a request/handler to divide this logic. Is there any downside…
0
votes
1 answer

Model View Controller - How to divide the code?

I have a more general question about how to divide the code and responsibilities of the model, view and controller within the MVC pattern. For a better understanding I am going to use an example case. My Question The application is divided into the…
0
votes
1 answer

Quartz Engine as Winforms, Service with Sel Hosted HTTP

I currently have a winforms app running the quartz .net engine and I have a self Hosted HTTP engine inside the APP. I got my windows service example from here: http://www.codeproject.com/Articles/14353/Creating-a-Basic-Windows-Service-in-C My quartz…
0
votes
1 answer

I need a download of the Enterprise Development Reference Architecture

I'd like to get the assets that were part of the patterns & practices: Enterprise Development Reference Architecture: Releases: Home The releases used to be on GotDot.net - …
JJS
  • 6,431
  • 1
  • 54
  • 70
0
votes
3 answers

How to build a cloud application and keep portability intact?

Please check the answer and comments of my previous question in order to get a better understanding of my situation. If I use Google DataStore on AppEngine, my application will be tightly coupled and hence loose portability. I'm working on Android…
0
votes
2 answers

MVVM Pattern Contradiction - Architectural Vs Presentation?

What is a Presentation Layer Pattern/Presentation Pattern? As far as I know MVVM is an Architectural Pattern, but I see many people, articles, blogs referring it as a Presentation Pattern. And I got confused. It seems a bit contradictory. If it's…
atiyar
  • 7,762
  • 6
  • 34
  • 75
0
votes
1 answer

How many tiers does my application have?

I have done research on the different kinds of architectures but I'm still not too comfortable choosing between 3-tier and 4-tier. What constitutes a 4-tier system? My application is as follows: The client is based on iOS iPhone app using MVC…
-1
votes
1 answer

What problem of Layer Architecture really solve Onion Architecture?

I have read several articles about onion architecture and they all point to the fact that the problem of layer architecture is that changes in the database would impact the services layer, but, why would that be so if the connection between both…
-1
votes
1 answer

Architectural Pattern with Windows Services

I'm newbie and I always write my code simply without any architecture, so to speak. I have task to make a small Windows Service project (service connects to API every hour, gets some info and write it into eventlog). And I've done it, it works just…
-1
votes
1 answer

What design pattern/architectural pattern does this represent?

I have created a Connect 4 game for my final year project which has both multiplayer and singleplayer. It uses Monte-Carlo Tree Search to play against the computer. I am doing a report based on this and would like to know what design…
-1
votes
2 answers

What pattern or technique should be used to generate a report from events?

Suppose there is a some system where rows in a database are filled when something happens: when user simply logs in, a row is inserted to the database with type of login and time in table user_logins. when operator make a call to the user, a row…
Cherry
  • 31,309
  • 66
  • 224
  • 364
-2
votes
1 answer

Which architectural pattern am I using?

I have developed web application without using any framework via PHP. My application mainly have two type of files - frontends and backends. The first type may contain HTML, PHP, CSS, JavaScript (jQuery) and the backends - only PHP. I have one class…
nicksona
  • 326
  • 2
  • 13
1 2 3 4 5 6
7