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

1
vote
0answers
40 views

How to expose the domain model as options to drive the view behavior

First off, I'm not thrilled with the title, so I'm open to suggestions there. Here's my question: I'm designing a simple application that takes input from a user and produces an output document. ...
3
votes
5answers
138 views

Should I use BLOB or Tables for storing large data?

Problem Currently investigating a solution to improve the performance of a web application. The application works well for small projects, but faces performance issues in the UI when working with ...
2
votes
2answers
112 views

Does this data processing pipeline design need to be so complex?

I have a data processing pipeline with well defined stages and IO boundaries. I can choose a language to suit the needs of this design. It starts with an InputObject. At the end of each stage, ...
1
vote
1answer
41 views

Advice on architecture (WCF / MVC)

First of all, the basics. N-tier application: presentation, business layer, database. It is an old .NET 2.0 (WSE + WinForms) application, a bit more tightly coupled than I'd like, and the requirement ...
3
votes
0answers
35 views

Service repository and discovery without WSDL

I'm in the very early stages of moving a development team away from large monolithic app development to an SOA approach. One of the things that caught my eye in this article about SOA: Stevey's ...
1
vote
0answers
35 views

Will using a pure MQTT approach be the right decision?

I plan to provide additional functions for a closed-source 3rd party point of sales application. That application is used in restaurants, is run on Windows and uses dbase style databases. I know the ...
1
vote
1answer
24 views

Using session managed application environment vs no protection

First of all sorry for the title, I didn't know how to explain it. So here comes the story; We are bunch of coders, front-end and back-end, and we are going to create this new system, based on ...
7
votes
3answers
140 views

Database Normalization vs dependencies

I am developing 3-4 interdependent programs. Call them foo bar baz and auth. I want them to be independent of each other. Imagine if I were to license out each program to other companies. Some ...
1
vote
0answers
19 views

Top Menu bar driving a sidebar sub menu

I have an application written is C# ASP.NET MVC 4 with Razor views. I am a bit stuck on my menu structure. As per the image above, one can see that there is a Top Menu and a Side Menu. The ...
3
votes
1answer
91 views

Is contructing complex mocks for unit testing a sign of bad architecture?

The title is fairly self explanatory. To elaborate: I'm currently updating a suite of unit tests for an application which makes heavy use of Entity Framework. We connect to this via a classic ...
0
votes
2answers
67 views

When developing an MVC framework, how should I be using Knockout.js?

I'm currently using the Laravel PHP MVC Framework to develop a web application; and it's going along quite nicely. I'm very comfortable with the expectations of the framework and how my application ...
2
votes
3answers
106 views

What is the preferred way to store application configurations?

Most of the time, I store development application config in root directory of the project, like this: app |-- config.json But that doesn't seem to be the best approach, since this config ends up ...
1
vote
0answers
29 views

Embedded tomcat cold deployment without service disruption

I have the following scenario. For various reasons I chose to use embedded tomcat for my rest backend that will form a cluster of AWS machines. I will want to deploy fairly frequently updates ...
0
votes
1answer
67 views

Domain Driven Design, where is the turning point for adoption? [closed]

Every software can be designed in a DDD fashion, but not all should. There's a overhead with the DDD methodology that just doesn't pay off for small projects or simple ones. The question here is, in ...
3
votes
2answers
84 views

Understanding how layers are separated in an MVC application

I am using Visual Studio 2013 MVC 5 application using Razor. I want to understand in which order layers sit and interact with each other. In my solution I have: UI Layer (Main Project) - ...
-2
votes
0answers
27 views

Should scraper interface with REST service, or directly with DB?

I'm interested in creating an application with a pretty simple architecture, but I'm newly attempting to make it modular and scalable (i.e. backend components as separate projects running in their own ...
0
votes
0answers
43 views

How to design a general AOP in a project? [closed]

This is a general question about how AOP is designed and applied in a .NET/Java……project. AOP has many advantages. However it won't be so easy to apply it directly in projects, for example, many ...
4
votes
0answers
58 views

How can one simply follow reactive manifesto? [closed]

I am quite confused about the Reactive Manifesto. According to this manifesto a reactive system should be: Responsive Resilient Elastic Message Driven Now for being responsive and resilient, as ...
1
vote
2answers
28 views

Application model management questions

Consider the following type of Java / Spring web application, with an SQL database: there are multiple data entity types (about 100) with relations between them the entities are viewed, edited or ...
4
votes
1answer
92 views

Azure table storage and SQL

I am in the middle of an architectural decision that down the line will be important. I have a system where I use ATS (Azure Table Storage) as the store for simple and very little data. It's not ...
1
vote
1answer
52 views

Shared database vs tightly coupled message model

We have an ASP.NET MVC application sitting on top of a MySQL database. Now we're thinking about creating a public REST API so that third parties may integrate their services with ours. Now, I would ...
2
votes
1answer
49 views

Upload files from mobile device to Amazon S3 architecture

I have an iOS app that communicates to a REST API I developed. I am using Amazon S3 for storage of image and audio files. Right now I am able to upload/download the files directly from the mobile app ...
3
votes
1answer
36 views

Architecting a SaaS for backwards-compatibility in regards to data and business logic

I have a SaaS platform where the user fills out a form and data entered into the form is saved to a database. The form UI has a large amount of config (originates from the DB but ends up in ...
0
votes
1answer
41 views

Cache policy categorization

From what I search online, there are 2 most common policies used in cache access: Cache aside Read through + Write through But there are some other policies like: For write hit case: Write ...
2
votes
2answers
102 views

Dealing with states in a immutable approach [closed]

I want to know how to deal when you have some states in a program, with functions that depends on them, but with a immutable approach. I read some examples and questions, but all focus in a small ...
0
votes
0answers
50 views

Microservices - remove unnecessary boilerplate?

My thoughts: microservices are becoming popular for distributed architecture java is (for now) a main course in enterprise applications JEE stack too How to reduce a boilerplate (including Maven ...
1
vote
3answers
167 views

Why is a architecture with anemic models the JavaEE standard?

I took a JavaEE course today and I was presented to the "default" JavaEE architecture, which consists mainly of Entities, Services and DTOs. The guy presenting the course explained that it was indeed ...
5
votes
2answers
66 views

Partitioning REST API resources into areas based on business domains

In a major application REST API that covers several related domains, does it make more sense to split resources into 'areas' based on the business domain they belong to or is it better to to maintain ...
3
votes
4answers
161 views

Architecture: Are form default values considered business logic and where should the logic to calculate them be placed?

An example of default form values on a search form might be: Start Date - Today End Date - The last day of the next month Obviously, these are fairly simple examples, but default values can get a ...
14
votes
2answers
290 views

Conceptual mismatch between DDD Application Services and REST API

I'm trying to design an application that has a complex business domain and a requirement to support a REST API (not strictly REST, but resource-oriented). I have some trouble coming up with a way to ...
0
votes
0answers
73 views

Using xsd2Code and custom c# classes

I am using the xsd2code class generator to generate classes based on a schema file provided by a system vendor. This vendor also provides a REST API to access data via Web Services, and I've had a ...
3
votes
1answer
72 views

Consistent snapshot

Suppose process A has a consitent snapshot of some entities. And it is constantly receiving updates for this enteties. Now client B connecting to A and it should receive the consistent snapshot of ...
4
votes
3answers
76 views

Web Service and Message Queue

We're looking at creating a web services/REST API layer that will be consumed by web and mobile clients. To make the solution more robust I was considering putting the commands from PUT, POST, and ...
1
vote
1answer
33 views

Synchronization of resource that has moved out of requests filter range

I have a RESTful API with corresponding clients. If a client request fetches a set of resources (Events) based on a filter, say events taking place between 2015-04-13 - 2015-04-19. If an event which ...
1
vote
1answer
56 views

Web applications and homogeneity across users

My boss is asking me to implement certain features in a web application (rails) that are relevant for only a couple users, sometimes just one user (the reason is this is targeted for businesses and a ...
29
votes
6answers
8k views

Is it okay to have code smells if it admits an easier solution to another problem? [closed]

A group of friends and I have been working on a project for the past little while, and we wanted to invent a nice OOP way of representing a scenario specific to our product. Basically, we're working ...
11
votes
1answer
536 views

Slicing up the Development Stack - diagonally?

We've got a new project going on, and at the moment developers have been split into two teams, team A and team B. This project has 2 parts to it which require development throughout the development ...
1
vote
1answer
101 views

Clarification on MVC Architecture Overview

I'm doing an MVC 4 architecture diagram for a report and since I'm relatively new to MVC,i was wondering could some one clarify with me is REST (HTTPPOST etc) between view and controller, or ...
1
vote
1answer
40 views

Databinding When View Differs From Model

I have an entity Customer. Customer has a collection of Accounts. I have corresponding classes. The Customer class has-a List<Accounts>. I have two views. First page shows the Customer's name, ...
1
vote
0answers
89 views

How long should a GET request via a REST call take? [closed]

I am building a Single Page Application, and get the data through a REST API from a PHP backend. The admin view contains a list of all available websites in the system. There, a website is an object ...
2
votes
4answers
263 views

How to optimize the application with huge number of database requests per minute

I have to provide free demo of some service to end users in my application. Free demo could be of 30 mins, 1 hours, 5 hours etc. (predefined time) for a new user for one time only. User can also ...
2
votes
2answers
83 views

Having Foreign Keys in Business Objects

Let's say I have a business object called Child. It has no persistence logic, and is not designed around the UI. It merely represents a business entity. Parent will have a reference to the Child ...
2
votes
0answers
27 views

IRLBot Paper DRUM Implementation - Why keep key, value and auxiliary buckets seperate?

Repost from here as I think it may be more suited to this exchange. I'm trying to implement DRUM (Disk Repository with Update Management) as per the IRLBot paper (relevant pages start at 4) but as ...
9
votes
2answers
345 views

Should HTTP Request/Response objects be immutable?

I think it's safe to say that most web applications are based on the request/response paradigm. PHP has never had a formal abstraction of these objects. One group is trying to change this: ...
0
votes
1answer
77 views

Architecture for web and mobile clients

The application that I work on needs to have a web interface (ASP.NET MVC) and mobile interfaces (Android/IPhone native). The features for mobile applications and web application might not overlap ...
1
vote
1answer
65 views

Where view models inside Web project of n-tier application should be placed?

Let's assume we have an ASP.NET MVC web application with following tiers: Business logic Entities (business domain and database POCOs) Common (resources, consts) Data access (database EF queries, ...
2
votes
1answer
96 views

How do sites like SquareSpace and Wix support multiple design templates? [closed]

How do these guys do it? I've worked on a couple multi-tenant sites and I have a hard time wrapping my head around how you would go about having each page of your site support many designs. Sure you ...
0
votes
2answers
296 views

Structuring project (refactoring) [closed]

I'm working on a project that requires from me to make modular and extendible code structure. This code should be able to support multiple clients. The good news is that code should not do anything ...
0
votes
1answer
107 views

Architecture for my Java application [closed]

I try to create small Java tools to help me at my work every now and then. Usually these do not have to be pretty and I find myself coding a single, sometimes massive, Java class. However, now my plan ...
0
votes
0answers
52 views

REST Services with ASP MVC WebApi architecture feedback

I'm working on a new project and I had to design some REST Services with ASP MVC WebApi. I would like to show you my app architecture and learn from more experienced architects what I have ...