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.
4
votes
1answer
357 views
avoiding multiple calls to SQL while being modular
I have a BusinessLayer.dll which calls DataAccessLayer.dll which ultimately makes the tcp connection to the SQL server. Each business layer method has a corresponding method in the data access layer ...
0
votes
2answers
36 views
combining user data from user table and user_profile table to just one table [on hold]
We are using two table to manage user data. A user table that has a username, email, password. Then a user profile that has first name, last name, bio, etc. Due to some other requirements it has been ...
2
votes
3answers
76 views
Codifying architecture in requirements
For the development of a next generation of a medical monitoring device consisting of several dedicated hardware systems with embedded software, I am looking at the requirements for the current ...
0
votes
1answer
56 views
Folder structure or database structure for creating/editing 'files'?
As a hobby experiment I am creating a on-line tool for creating web sites with the ability to create custom HTML and CSS using a template engine for safe-use of functionality.
Now I am in the ...
0
votes
0answers
71 views
REST API + “Micrososervices” boundaries
I have a REST API. The fundamentals of the API takes care of two things.
Authentication
Routes
Let's say I was about to do a small service (microservice whatever...) next to the API and have it ...
-1
votes
0answers
99 views
Creating a new CPU architecture [closed]
This post might be construed as a discussion on a new computer architecture. I've been working in the field of hardware design for the past two years and have experience in C, python, VHDL.
However ...
0
votes
1answer
42 views
How to host a web service with dependencies on many APIs/SDKs which expose methods in different languages
A project I'm working on currently depends on several SDKs and APIs that perform identical tasks, but for different external products. For example, in an Internet of Things world we have a common ...
3
votes
1answer
63 views
Difference between patterns: Specification, Guarding, Conditions, Monads, Validation,
I'm currently trying to get my head around a few patterns (especially the ones mentioned in the title above) that are made to address different problems and are being used in different parts of the ...
0
votes
3answers
169 views
How do I design my application to use REST for itself?
I'm not sure how to ask this. I know this is simplistic, but I understand (I think):
REST is an architecture, not required, simply a way to build
REST is a style and a community standard for ...
0
votes
1answer
49 views
design for buffering or queuing data streams to replace database
We have a system (ms stack, .net, sql) that receives data from thousands of remote devices (several independent readings/min). We currently save all the data to a db as it arrives and a second service ...
0
votes
0answers
42 views
How to scrub Twitter and Facebook posts for many users
I'm making an Rails app that in theory should scrub new posts from the users facebook and twitter accounts and put them in a timeline for an analyst to analyze and determine if they are good or bad ...
1
vote
1answer
146 views
What kind of game mechanics makes sense to be handled on client side? [closed]
I am aware of that is a difficult question and depends on the game mechanics and game type being applied.
So, many answers can be given. For the sake of simplicity, it would be better to consider a ...
2
votes
1answer
36 views
Patterns for creating adaptive web crawler throttling
Im running a service that crawls many websites daily. The crawlers are run as jobs processed by a bunch of independent background worker processes, that picks up the jobs as they get enqueued.
Now ...
1
vote
1answer
117 views
Progress in PHP web application design [closed]
I have created an easy database-driven web application (with PHP+MySQL).
It's written procedurally with a few controllers (index.php) in a few
directories and a few template files and one stylesheet. ...
3
votes
3answers
185 views
Method waits for user action
I have a structural problem for an application I'm working on. In the interest of full disclosure, it is for a university assignment so I'm not looking for you to code me an answer, just help me ...
0
votes
0answers
88 views
How best to architect an application using the Azure Service Bus
I'm trying to determine how best to accomplish the following scenario using the Azure Service Bus. I have millions of devices (desktop software, mobile phone apps, etc) that need to have messages sent ...
0
votes
4answers
325 views
which pattern is most intuitive for a calculator app?
The title says it all. I'm trying to build a calculator application (for self-learning purposes). The application is going to have a very common UI, with plus(+), minus(-), multiply(*) and a divide(/) ...
-1
votes
0answers
37 views
Where should commands be issued from a CQRS application?
Let's say I have a very simple CQRS application for communicating with some Suppliers. I'll upload some Orders to each Supplier's FTP account.
I decided for 2 bounded contexts. One for managing ...
-3
votes
1answer
50 views
Distinct Log and Trace for each object in .NET [closed]
I am dealing with very complex objects in .NET (in my case a finite element model that can consist of thousands of other objects say a Model instance have a large list of Element instance). I would ...
2
votes
1answer
99 views
Building a string parser for user command and control?
My goal is to build a command parser that has basic syntax and multiple possible branches at each point. These commands come from users of the system and are text input (no GUI). The basic syntax is ...
0
votes
0answers
23 views
Data serialization architecture, injection on construction vs. on function call
I am creating a data serialization/deserialization mechanism for essentially a persistent storage object. Due to the variety of systems this mechanism could run on, there needs to be a a variable ...
0
votes
2answers
122 views
Is this a pattern: stand-alone classes
Having recently discovered python, I attempted to write a simple logger. Data is read from a device, processes, displayed and stored on disc. Those different tasks belong to different modules, of ...
1
vote
1answer
117 views
Are CRUD operations intended to be used with collections?
CRUD operations, by definition are...
interfaces that permit users to create, remove, modify or retrieve data
Implementations of CRUD interfaces can come in various shapes and sometimes they are ...
0
votes
1answer
32 views
how to modularize wcf services?
I am working on a WCF application that supports 4 different applications.
lets call those 4 application: App1, App2, App3, and App4.
this WCF Application has 4 services. one for each application. 4 ...
0
votes
2answers
117 views
Should I worry about performance, even if there is no loss of convenience? [duplicate]
Assume an application that shows a data table. The data is loaded from a database when the program is initialized.
Each value in the table is represented by an input field, where each keypress in one ...
0
votes
1answer
64 views
Is it possible to create an arch that allows for an app to be downloaded and installed at the same time?
In theory, if I wanted to have a developer write some sort of computer architecture/OS, could I have him/her add the capability to download + install something at the same time. I'm thinking like ...
2
votes
1answer
59 views
Feasible to keep work to a minimum for distribution purposes?
I'm faced with image manipulation requirements for a mobile app I wish to develop that I could quite easily (or 'easier', at least) implement in C# or javascript, as it's what I'm most familiar with.
...
1
vote
1answer
29 views
SPA Applications: AJAX to fetch templates or build from strings
I'm working on a large angular application and I'm currently using a factory class that builds HTML templates from strings. We don't have to worry about mobile support for the application and I'm ...
1
vote
2answers
75 views
View model structuring best practise
What is the preferred convention for structuring view model properties? It is better to use generic or more specific property names?
Let's have a user, the page where this user will be displayed ...
0
votes
1answer
143 views
Time Management System on Local PCs [closed]
I am looking to build a time management "app" that can be downloaded and used on an individual basis throughout my company. In theory, this app would be used to track time spent on several different ...
1
vote
0answers
158 views
Client side web application architecture - best practice & patterns [duplicate]
I'm inheriting some code that takes a rather different approach to architecture than I'd have chosen myself. It consists of a HTML page, some javascript library imports and a single DIV tag. This ...
1
vote
2answers
108 views
Architecture to handle service concurrency on resources exposed via REST API [closed]
REST API frameworks like Python Eve handle concurrency control via an entity tag. This ensures that several clients which loaded the same resource will not overwrite the changes of each other, because ...
0
votes
0answers
68 views
What is the integration architecture used by Github for its web interface?
I am amazed by the way Github integrates with different systems like Travis. They are separate companies, but yet Travis builds blend seamlessly everywhere in the Github interface.
Yes, i am asking ...
0
votes
2answers
91 views
What layers reference each other in a multi layer design? [duplicate]
I'm creating a project and I'm having difficulty and contrasting opinions on how to do things when it comes down to separating layers. I'm not fully sure what layers should reference each other.
I ...
2
votes
1answer
103 views
Fire domain events after transaction completes
I am trying to implement a domain event system that only fires its events when the associated unit-of-work commits successfully.
The main reason why I want to do this is because I have other ...
0
votes
2answers
95 views
Does Play framework approach necessarily leads to confuse code?
I want to start a new project and I just got in touch with Play framework, which has a ruby on rails -like approach that called my attention.
I am not an expert in rails, but I think that the ...
1
vote
2answers
48 views
Client / Server dependencies with Continuous Integration
I'm starting to use continuous integration for one of my projects and had some questions about structure and architecture.
It's basically a multi-device webservice that is split into one server ...
0
votes
1answer
78 views
Good practice to pass this information through URL parameter
Basically, let's suppose an application that manage some user's meetings.
I have a filtering zone on a page that aims to specify the category of items I need to specifically return.
...
4
votes
1answer
140 views
Error Handling Strategies in Multithreaded Environments
TL;DR What error generating and handling strategies do you use in Multithreaded code intended for use by others and why do you use them? If applicable, state what programming paradigm it's useful for. ...
17
votes
6answers
2k views
Addressing the fact that primary keys are not part of your business domain
In almost all circumstances, primary keys are not a part of your business domain. Sure, you may have some important user-facing objects with unique indices (UserName for users or OrderNumber for ...
1
vote
1answer
63 views
How to use ViewModels in a layered architecture?
I've got a Java application that is using a layered architecture, we have: presentation layer, business layer and data access layer.
Our business layer uses the models to process the "requests".
We ...
2
votes
0answers
272 views
Why does the .NET framework have no concept of classes as first-class types?
It's well known to those familiar with the history that C# and the .NET framework started out as essentially "Delphi rewritten to feel like Java," architected by the chief developer behind Delphi, ...
3
votes
3answers
212 views
How would you rewrite/refactor this ? [duplicate]
Old application that is used by 50-60.000 paying customers.
Company is several hundred people big.
Application has a lot of business critical code (30% of all code) written in classic asp.
Application ...
7
votes
4answers
460 views
Alternatives to multiple inheritance for my architecture (NPCs in a Realtime Strategy game)?
Coding isn't that hard actually. The hard part is to write code that makes sense, is readable and understandable. So I want to get a better developer and create some solid architecture.
So I want to ...
1
vote
1answer
147 views
Git-based storage and publishing, infrastructure advice
I wanted to get some advice on moving a system to "the cloud" ... specifically, I'm looking to move into some of Windows Azure's managed services, as right now I'm managing a VM. Basically, the system ...
0
votes
1answer
90 views
Single database, multiple system dependency
Consider an environment where we have a single, core database, with many separate systems using this one database.
This leads to all of these systems have a common dependency, which ultimately ...
2
votes
3answers
219 views
Decoupling software components via naming convention
I'm currently evaluating alternatives to refactor a drivermanagement.
In my multitier architecture I have
Baseclass
DAL.Device //my entity
Interfaces
BL.IDriver //handles the dataprocessing ...
1
vote
3answers
601 views
Should we enforce code style in our large codebase? [duplicate]
By "code style" I mean 2 things:
Style, eg.
// bad
if(foo){ ... }
// good
if (foo) { ... }
Conventions and idiomaticity, where two ways of writing the same thing are functionally equivalent, but ...
1
vote
2answers
148 views
How to handle “circular dependency” in dependency injection
The title says "Circular Dependency", but it is not the correct wording, because to me the design seems solid.
However, consider the following scenario, where the blue parts are given from external ...
0
votes
1answer
142 views
Implementing a modern web application with Web API on top of old services
My company has many WCF services which may or may not be replaced in the near future. The old web application is written in WebForms and communicates straight with these services via SOAP and returns ...