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
131 views

How to design a scriptable communication emulator?

Requirement: We need a tool that simulates a hardware device that communicates via RS232 or TCP/IP to allow us to test our main application which will communicate with the device. Current flow: ...
4
votes
1answer
73 views

How to Recover from Inconsistent Job State without Database Polling

I'm working on scaling an application which is currently polling a mySQL database to send async jobs to a background processing system. A state machine is being used to keep track of the entities ...
-1
votes
1answer
113 views

Should We Use Surrogate Primary Keys for Every Table? [duplicate]

We are developing a data model for a marketing database that will import transaction, customer, inventory, etc. files and the directive is ONE process that works for every client. We have been told ...
0
votes
0answers
66 views

Web-app DAO and server architecture design for service outside LAN

i just need a suggestion what path should i take to educate myself further. Situation: We've got in our company internal (LAN only) application that, among other things, serves something like ...
1
vote
1answer
116 views

Database design: circular reference but dynamically created

I am trying to design database for this case: Assignments have vectors, relation is 1:N Assignments have submissions, relation is 1:N Submissions have executions, relation is 1:N Every execution ...
0
votes
0answers
27 views

Create a subclass of model for class-based viewmodel creation

Is it justified to create a model subclass just for creation of appropriate viewmodel based on this class. Am I missing something? How to pass data about model into viewmodel?
1
vote
2answers
1k views

Mapping between 4+1 architectural view model & UML

I'm a bit confused about how the 4+1 architectural view model maps to UML. Wikipedia gives the following mapping: Logical view: Class diagram, Communication diagram, Sequence diagram. Development ...
0
votes
1answer
61 views

monitor .net web applications [closed]

I am a junior dev, I am on a team with an internal ticketing system (more/less) I want to improve our monitoring so that I can tell when functionality on my app is broken. current alarms only alert if ...
2
votes
0answers
87 views

Video conferencing server architecture

I am developing a video conference application with the following requirements: Audio works like call conference, where all participants may talk at the same time. However, video works like ...
3
votes
1answer
124 views

Architecture for a template-building, WYSIWIG application

I'm building a WYSIWYG designer in Ember.js. The designer will allow users to create campaigns - think MailChimp. To build a campaign, users will choose an existing template. The template will have a ...
1
vote
1answer
144 views

Processing csv files (alternative to business logic in DB)

We are working on a fulfillment system for an online book store. Everyday we receive tens of CSV files (about 90 files) with data about purchased orders. Example: OrderId | BookTitle | ...
2
votes
1answer
101 views

Architectural problem for Activity communication in an Android app

I maintain an open source Flickr app Glimmr for Android. There is currently an architectural issue around pagination that I've been trying to solve for quite a while, and would appreciate ideas. ...
0
votes
0answers
55 views

Extracting models into a external dependency

About 9 months ago, I asked a question about creating a service layer for my application. Unfortunately, in the ensuing time, no progress in that area was made, primarily due to time constraints. As ...
1
vote
2answers
109 views

How to build configurable forms?

I'm working on two separate projects now that are essentially just CMSs -- a bunch of forms for recording various bits of information. Each project is built to serve many clients, and each client ...
38
votes
7answers
3k views

How do I stop designing and start architecting this project as suggested by my lead? [closed]

I'm a junior developer (~3 years' exp.) and at my job we're in the process of architecting a new system. My lead developer will be the principal architect, however he's challenged me to try ...
3
votes
2answers
883 views

Decoupling Server and Client using REST API

I was thinking about how I can decouple a web-application completely into a server-side and a client-side component. I want to decouple the app to the extent that I can host both components on ...
4
votes
1answer
213 views

Which relationship is more natural?

Have a quick question on how to best structure something for my Java project: I'm a user. I can work at one or more places. At those workplaces, I have one or more roles. For each of these roles, I ...
1
vote
1answer
64 views

Good strategy to implement a listener processing tasks provided by the database

Let's assume this conceptual scenario: The database is constantly populated with "a ton" of tasks named PleaseSendAnEmail. A scheduler/listener in background is aimed to handle those tasks. Of ...
3
votes
2answers
168 views

Is it an acceptable practice to Get a property, that involve parsing binary, that might throw an exception?

I have a property that is loaded lazily, any time after the ctor is called. It is possible that the binary that my property relies on is invalid. If invalid I might have to throw an exception. ...
2
votes
1answer
68 views

How do I respond to incoming network messages in a way that achieves loose coupling?

I'm working on a client-server sort of protocol right now in Ruby. I've hit a snag where I'm not entirely sure how to proceed. Currently, I have a class, Remote that signifies a remote connection (for ...
1
vote
1answer
136 views

Should I really need to implement event sourcing is this case?

An example of use case when event sourcing is applicable here whose excerpt is: Say, something went wrong in your app and as a result, a user gets blocked for abuse but that user claims to not ...
4
votes
1answer
133 views

Organisation by business function vs technical function

I am designing a large application (a static code analyser) and I have a choice in how to organise the code into modules: One approach is by what I'd call by technical function. This is where you ...
6
votes
1answer
625 views

Why database as queue so bad? [closed]

I've just read this article, and I'm confused. Let's imagine 1 webapp and 1 distinct application acting as "worker", both sharing the same database. Oh, I said "sharing"..but what does the article ...
0
votes
3answers
98 views

SQL string field lengths in a db having about 6 different types of addresses, with about 20 markets and environments

I have been advocating lately that all string fields should be ntext / nvarchar(max) - we're using MS SQL Server. The objections seem to be either "it's not a good idea" (without any reason) or "that ...
-4
votes
1answer
113 views

How do desktop applications talk to remote database server? [closed]

I have often seen desktop applications in stores and banks. How do these desktop applications talk to a remote database central server? There will be a desktop application which is installed on ...
0
votes
3answers
196 views

“Property Container” design-pattern in-depth definition

Could anybody, please, explain what is a Property Container or at least where can I get information about that pattern on the Internet? I've found that it exists as one of the Fundamental patterns in ...
3
votes
2answers
197 views

Is it a good idea to develop website that only has little access to DB? CRUD will be done by calling API provided by separate internal backend system

I'm going to start developing an application in near future. This application consists of : Back-end system. This system provides API to be used by client. This system connects to data store and ...
15
votes
4answers
1k views

How does persistence fit into a purely functional language?

How does the pattern of using command handlers to deal with persistence fit into a purely functional language, where we want to make IO-related code as thin as possible? When implementing ...
0
votes
1answer
89 views

How is MVC different from Layered

Based on this book , refering to pages 156 to 159 , it talks about the two different types of software architecture model : MVC & Layered . There are distributed system architecture patterns such ...
0
votes
3answers
275 views

Software architecture which allows for growth, real life situation [closed]

I know of Interfaces, Abstract classes that serve as Base class, I've been reading up on loose coupling, ... But I can't come up with a decent solution when a property of a class changes, and the new ...
0
votes
0answers
138 views

DRY on API specifcations?

When developing a new RESTful application, I generally: Define tests Define routes [ e.g.: RESTful CRUD; namespaced on /api/users ] Define models [ e.g.: "Users" ] Define forms [ e.g.: in ...
3
votes
3answers
346 views

My architecture has a problem with views that required information from different objects. How can I solve this?

I am building an architecture like this: These are my SW layers ______________ | | | Views | |______________| ______________ | | |Business Logic| |______________| ...
0
votes
1answer
60 views

How to organise intermodule integration in a modular project?

I'm currently writing my own PHP Framework (yes, another one) for studying purposes. I'll actually try to use it as my graduation dissertation. After two failed attempts, I've finally found a way to ...
1
vote
1answer
167 views

PHP OOP - Getters / setters vs. database storing

Problem I am trying to optimize the architecture of my web-application developed in PHP using the Symfony framework. I have an object "pool" that contains "swimmers". I need to display the number of ...
7
votes
2answers
315 views

Feedback on a Kanban Board for Solution Architectects [closed]

Before I get started I need to issue a pre-emptive apology: It is very likely that some of the terminology / vocabulary I use in this post is plain wrong there is also a good chance I have ...
4
votes
1answer
211 views

Designing storage service data structure for decoupled models sharing same data

Surely most of you remember the Norton Commander application where similar (sometimes the same) data is displayed in separate decoupled views. I'm building a web application that follows the same ...
0
votes
3answers
73 views

How to design routes for generalized/specialized resources

I hope I can explain what is troubling me. Example: I have an object basket with a list of fruit objects. So normally I would build my routes like this baskets/{basketId}/fruits/{fruitId). But fruit ...
2
votes
3answers
97 views

Iteratively improve software architecture & quality in an agile process?

Or to put it another way how to ensure that architecture or quality doesn't suffer, doing agile. Some of the understandings in handling architecture in agile are below(generally applies to testing as ...
1
vote
0answers
69 views

Validation and Authorisation in Domain Models and Carrying that through a Service Layer to MVC

With the current project I'm working on there's an architecture question being asked which feels like it might just be asking too much. System Basics: HTML/JS MVVM Asp.net MVC Web Services EF SQL ...
4
votes
3answers
564 views

Difference between an architecture and a framework [closed]

A terminology question appeared when I was comparing EJB 3 and Spring. Wikipedia says that Enterprise JavaBeans (EJB) is a managed, server-side component architecture for modular construction ...
1
vote
1answer
731 views

Should the views or front-end server call the RESTful API layer

I need to build a new web application and I am looking for advice on how to manage communication to my API layer. My goal is to have complete separation between the front-end and back-end code. Like ...
6
votes
6answers
439 views

Code ownership with multiple Scrum teams

If two Scrum teams use the same software component, who is responsible for providing a clear architectural vision of that component and maintain/develop this vision as the code base evolves? In Scrum ...
2
votes
1answer
147 views

Does DDD make sense for apps which mostly present data?

I'm responsible for designing a dashboard and data manipulation front-end for a sale transaction database and am not quite sure what type of architecture to use. The database is populated by an ...
0
votes
1answer
221 views

HTML markup vs programmatic JS

I've been thinking about the consequences of using programmatic JavaScript components versus HTML markup. For example I looked into the Enyo Framework, which has its power in composition. One can ...
4
votes
2answers
308 views

How to enrich a simple two endpoint SOAP application to become enterprise level?

Imagine you have some exchange of data between two endpoints (webservices or let's call URL). Data can travel in any way (Xml, Json, GET, POST) it doesn't matter. I've got the source code of the ...
1
vote
2answers
275 views

What is best software design in creating methods?

I had created a extension method which extended the string type in C#. // actually checks if the string is empty or null and then looks up the default // promotion code which is set in the backend ...
0
votes
1answer
84 views

I'm making a report generator, how should I run it?

So I've started a project to generate reports for our system. These are reports that we deliver to our end customers and they are so specialized that no existing system can generate them. This is not ...
1
vote
3answers
192 views

Should entities be accessible from all layers of an application? [closed]

I am googling this issue now for weeks, but cannot find a good discussion. It boils down to this: As POCO entities used in a dbContext are in fact a definition of the database, shouldn't they be ...
2
votes
2answers
483 views

“Clean Code”: How to organize named queries?

Few days ago I started to read Robert C. Martin "Clean Code" book and it encouraged me to look more detailed at my code. After I opened eclipse I saw this: ...
-5
votes
4answers
258 views

Why creativity is consider a bad practice by architects? [closed]

If you do something creative (for example I did a new approach to logging) is consider a bad practice. the good practice in Java is to put static field logger in every class. My approach creates ...