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.
1
vote
0answers
22 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
14 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 ...
-1
votes
0answers
33 views
Language to implement GNU toolchain type pipelines? [on hold]
I have some quick and dirty pipelines implemented as bash scripts that :
consume a stream of data from a socket using CURL
do some regexp matching and reformating (grep | awk | grep -v | sed | ... )
...
0
votes
2answers
102 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 ...
0
votes
1answer
100 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
0answers
10 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
114 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
62 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
0answers
44 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.
...
0
votes
1answer
21 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 ...
0
votes
0answers
57 views
What kind of design pattern for an “investment” system? [closed]
I'm developing a browser game with Node.js. I'm trying to make an "invest" function, letting users invest according to their balance.
For example:
A user came and invested 20 dollar %40 of ...
1
vote
2answers
72 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 ...
-3
votes
0answers
25 views
SPA: outsourcing client-side development [closed]
Given a SPA-based web site (with a client developed using any JS MVC framework and the server providing a REST API), does anyone have any experience in outsourcing the development of the client side ...
0
votes
1answer
136 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
91 views
Architecture to handle service concurrency on resources exposed via REST API
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
88 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
76 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
88 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
0answers
46 views
Command execution structure for graph database
We're building an application which uses complex data with rich relationships. In order to allow us to make the most of this data and easily extend the model, we have decided to use a graph database ...
1
vote
2answers
42 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
77 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
124 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
60 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
256 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
206 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
449 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
146 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
82 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
213 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
594 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 ...
2
votes
0answers
78 views
Is it a good idea to create shared UI library that would render natively on different platforms? [closed]
I am designing an application that has following flow:
User designs a form using web application (J2EE backend application)
The form is sent to mobile device (Android)
Mobile device User fills out ...
1
vote
2answers
128 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
113 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 ...
1
vote
2answers
102 views
Where should the “not empty field” validation code be written on a 3-layer application?
When working with the 3-layer model, where should the validation code be placed? for: not empty fields, unchecked options, null values, wrong-written dates, etc.
To keep total isolation between a ...
0
votes
2answers
187 views
How often do you refactor or restructure your code in long term projects? [duplicate]
As developers we are always eager to learn new things and better ourselves at what we do.
You've all had moments when you look at your old code and get that feeling:
"WTH, I can't believe I used ...
4
votes
0answers
134 views
“Middle ground” architecture for client-server iOS apps?
I see two obvious approaches to the architecture for an iOS app which needs to talk to a server to do its job.
Pretend to be a web browser
Under this approach, the app fetches a chunk of data ...
2
votes
2answers
47 views
How to ensure the success of processes after a deadlock exception occurs?
No matter the programming language is and whatever the database is, the concept should be the same:
I have 2 threads, each locking some database entities and inserting new data in database.
Let's ...
0
votes
2answers
86 views
Which layer should service errors be handled in?
I am coding in a multitier architecture in Java, and I perform a query to a web service.
Is it better form for the errors returned by the service be handled in the data access layer or in the ...
1
vote
1answer
41 views
Managing non-domain application behaviour in CQRS
Here's a scenario.
I am building QueueUnderflow, a community-edited Q&A site for people who haven't yet grasped the basics of data structures. My users don't like it when people edit their posts ...
0
votes
0answers
26 views
Implementing multiple tables for the same entity due to processing power on Client apps
I reached a design/architectural issue on the large application I'm working on, at the point of writing possibles solutions on a chalkboard. Our product consist of a client-server information system ...
0
votes
4answers
58 views
alerting that an object cannot be deleted (due to constraints)
Assume an application with a rich domain model with many classes (e.g School, Classroom, Teacher, Student, Course, Exam, Submission, ...) linking to each other. Model and links are mapped to the ...
0
votes
3answers
118 views
Assigning responsibility for cancelling an Order
During a conversation with our Domain Expert we can across this feature:
A Customer service agent can cancel an Order by decreasing its quantity. To cancel an Order we decrease its quantity by the ...
2
votes
1answer
266 views
Things developers do before the coding phase [closed]
I'm a new software developer, and in my internship my boss asked me to develop an application that allows him to manage his inventory. Something small but, for me, very enriching.
The application is ...
1
vote
1answer
73 views
Data generation system modular design
I am trying to think of the most sensible way to design the architecture of a data generation system with several steps.
Data in the system goes through several transformations which can be divided ...
0
votes
1answer
71 views
Architecture for dashboard
I'd like to know if my Architecture idea, is the best approach following some pattern.
I'll create a Dashboard for my company, and I never will delete or update data in my database, just read the ...
0
votes
3answers
261 views
How do you make a service stateless?
When doing Domain Driven Design it is advised that services should be stateless. There are several kinds of services when doing DDD:
Application services.
Domain services.
Infrastructure services.
...
0
votes
1answer
46 views
Long running task initiated in the web site
The plan is to develop generic solution for long running task initiated in web site by users such as:
1. upload large file and do some custom processing and then insert in the database.
2. export ...