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.
-3
votes
0answers
23 views
books on architectures that have been implemented in practice and are hot
Do you know any books or blogs on some new architecture and designs patterns, that have been implemented in practice, and which explain why those designs were choosen by the respective company?
2
votes
3answers
106 views
Separation of construction and initialization
I'm confused by this post by Mark Seeman.
And his comment on IInitializable below:
The problem with an Initialize method is the same as with Property
Injection (A.K.A. Setter Injection): it ...
1
vote
2answers
144 views
Very-Loose Coupling and Dependency Injection for Database Management
I'm currently setting up a MongoDB database for a web-app. I'm running node.js and using Mongoose to help manage mapping, validation ect.
I'm wondering if it's a good idea to really decouple MongoDB ...
22
votes
1answer
677 views
If the spec is flawed, should it still be followed?
I have been assigned to develop an integration to one of my employer's applications to an external system developed by our client. Our client's specification for the integration that has some blatant ...
1
vote
0answers
38 views
Where to set the model in this design (service-provider pattern)?
we are modelling an application using the "Service-Provider" pattern, where the service will offer a generic functionality implemented by different providers registered on the service.
The ...
6
votes
1answer
215 views
+150
What logic is used to control Lock and Update actions in P2P networks? (similar to Bitcoin)
Bitcoin relies on Proof of Work (hashing) to control the writing to a central repository (the blockchain). It also relies on a set of rules for these updates, and defines what happens if a conflict ...
0
votes
1answer
47 views
Rest API Architecture from Rest in Practice book
We maintain an API that as part of its purpose makes a call to an external API. This external API takes a few seconds to fulfil the request we make to it. With our current architecture the request is ...
3
votes
2answers
313 views
DI / IoC Abstract Factory Galore
Given a project architecture as follows, where each box represents an assembly (all are class libraries), and each arrow stands for a dependency:
Might be worth nothing that this project is massive ...
4
votes
1answer
139 views
Where to Perform Authentication in REST API Server?
I am working on a set of REST APIs that needs to be secured so that only authenticated calls will be performed. There will be multiple web apps to service these APIs. Is there a best-practice approach ...
2
votes
1answer
68 views
Data integrity in NoSQL situations
Background
To start off, at work I work with a legacy system that, in its day, was quite spectacular, but now is ...interesting... to work with. It uses IBM (now Rocket) UniVerse as its backing ...
1
vote
2answers
74 views
Create and delay task for 24 hours
I'm trying to come up with a sane architecture to delay a task for 24 hours. So far I've thought of:
unix cron job, but this will not be able to take the load we give it, since we will have many ...
2
votes
1answer
197 views
Established antipattern name? Only getting data ducks in a row right before you need them
This one's all over our codebase but I'm not sure I've ever heard a name put to it.
We have C# and Java (and Rails but we don't have to touch it very often) so I'll speak more generally. It's like ...
4
votes
7answers
454 views
Why don't companies ship multiple modules within a mobile app? Are there concerns about tight coupling?
Preface: My question does not exclusively pertain to Google and it doesn't exclusively pertain to iOS. I'm only using Google and iOS as examples because they are familiar to many. I could have just as ...
3
votes
1answer
199 views
How to design a composite pattern in Python?
The concept
I'm programming an interface over pygame as a personal project, to make the creation of games easier for me.
So far I managed to design an architecture that behaves like this :
Objects ...
0
votes
1answer
38 views
Dependencies between services in pipeline [closed]
I am working on creating a new data processing system, where there are multiple steps each fulfilled by different services. For example, there is a scheduling service that kicks of something, an ...
1
vote
1answer
77 views
Software Design Stability , YAGNI and Agile [duplicate]
I've met the criterion of good system desing as its stability relative to requirements change.
Small req. changes should raise small changes in design.
Yet I have gut feeling that almost for any ...
3
votes
1answer
74 views
Dynamic form builder forms and database design?
Say your users can create their own web-based forms (textboxes, selects, etc) and publish them on the web for their users to fill out.
Does anyone have a resource or any advice on how to architect ...
2
votes
1answer
61 views
How does the Microsoft Operations Framework define the role of Architects and architecture in the SDLC
I have been trying to get some architecture documentation passed at work. I've spoken to my CIO and he has said to me that if I prove to him that if we stay within MOF then we can implement it. I am ...
1
vote
5answers
392 views
What architectures are used commonly in php?
I want to know what architectures are commonly used in developing PHP web applications. I've used MVC earlier for J2EE, but in J2EE everything is separated as part of the language itself ...
0
votes
1answer
91 views
Configuring DI in a decoupled app
I'm reading through Mark Seeman's Dependency Injection in .NET (excellent read so far) and something is escaping me.
If the application's architecture is like [DAL] => [BLL] <= [UI], with the ...
3
votes
1answer
84 views
Assessing Relative Maintainability
We (a contractor, actually) are implementing an off the shelf system to replace a legacy homegrown system for the core domain of the company (designing widgets). Unfortunately both systems will have ...
1
vote
1answer
103 views
ROA on top of SOA [closed]
I already have a stable Service Oriented Architecture for my application which exposes services as API calls. (the verbs)
Now, I need to build a Resource Oriented Architecture to expose a RESTful API ...
6
votes
4answers
193 views
Are the technologies used in an application part of the architecture, or do they represent implementation/detailed design details?
When designing and writing documentation for a project an architecture needs to be clearly defined: what are the high-level modules of the system, what are their responsibilities, how do they ...
-1
votes
0answers
46 views
A generic Re-usable C# Property Parser utility [closed]
This is about a utility i have happened to write which can parse through the properties of a data contracts at runtime using reflection. The input required is a look like XPath string. since this is ...
1
vote
2answers
154 views
Distinction between API and frontend-backend
I'm trying to write a "standard" business web site. By "standard", I mean this site runs the usual HTML5, CSS and Javascript for the front-end, a back-end (to process stuff), and runs MySQL for the ...
-1
votes
0answers
90 views
Generic Repository with SQLite and SQL Compact Databases [closed]
I am creating a project that has a mobile app (Xamarin.Android) using a SQLite database and a WPF application (Code First Entity Framework 5) using a SQL Compact database. This project will even ...
1
vote
1answer
71 views
HTML Canvas: Should my app x, y values be global?
I have a large file of functions. Each of these functions is responsible for drawing a particular part of the application. My app has x and y parameters that I use in the setup function to move the ...
3
votes
2answers
127 views
How should modules access data outside their scope?
I run into this same problem quite often. First, I create a namespace and then add modules to this namespace. Then issue I always run into is how best to initialize the application? Naturally, each ...
-4
votes
0answers
48 views
How many classes would an average navigation-view app have? [closed]
Is there an average for class number per any particular app type?
4
votes
1answer
220 views
How should I architect a personal schedule manager that runs 24/7? [closed]
I've developed an ADHD management system for myself that's attempting to change multiple habits at once. I know this is counter to conventional wisdom, but I've tried the conventional for years & ...
3
votes
2answers
96 views
Tester/Doer pattern: Assume the caller conforms to the pattern or be defensive and repeat the check?
Assume a simple class that implements the Tester/Doer pattern:
public class FooCommandHandler : ICommandHandler
{
public bool CanHandle(object command)
{
return command is FooCommand;
...
0
votes
0answers
33 views
Architecture- Tracking lead origin when data is submitted by a server
I'm looking for some assistance in determining the least complex strategy for tracking leads on an affiliate's website. The idea is to make the affiliate's integration with my application as easy as ...
4
votes
3answers
222 views
Why should I adopt MVC? [duplicate]
I decided to get my hands wet and got the YII framework for PHP.
I created my first application, then created new controller, model and view. Connected to database, got my record passed from ...
2
votes
3answers
163 views
Recommened design pattern to handle multiple compression algorithms for a class hierarchy
For all you OOD experts. What would be the recommended way to model the following scenario?
I have a certain class hierarchy similar to the following one:
class Base {
...
}
class Derived1 : ...
4
votes
6answers
190 views
Query something and return the reason if nothing has been found
Assume I have a Query - as in CQS that is supposed to return a single value.
Let's assume that the case that no value is found is not exceptional, so no exception will be thrown in this case. ...
0
votes
0answers
60 views
What tools, libraries, or framework is needed to create a completely offline Javascript application? [closed]
I am interested in creating a HTML application that can run as disconnected from the server as possible. Two examples of this include OWA in Exchange 2013 and to a lesser extent and the client ...
1
vote
2answers
58 views
Decorator not calling the decorated instance - alternative design needed
Assume I have a simple interface for translating text (sample code in C#):
public interface ITranslationService
{
string GetTranslation(string key, CultureInfo targetLanguage);
// some other ...
3
votes
1answer
75 views
What specific features of NHibernate cause it to be recommended for legacy database systems?
So, I've been evaluating Entity Framework and NHibernate (I'm not looking for an EF vs. NH battle here, though!).
One thing that I see come up very often is that NHibernate is recommended for ...
0
votes
0answers
15 views
Basic behaviour and structure of an angularjs app [migrated]
I am trying to introduce myself into angularjs.
Although i have worked through the tutorial and watched the basic building videos, i am still struggling with the behaviour and architecture of a ...
-1
votes
1answer
93 views
Compile and run submissions of online judge in the same or separate server?
I am going to make an online judge platform.
I have looked for some online judge platforms on the Internet for reference (I mean the platforms which have the source code available, and can be hosted ...
0
votes
2answers
97 views
In OnionArchitecture can UI talks directly to datastore or not?
I'm fan of onion architecture but looking for some relaxing solutions in some areas.
First of all I was thinking about communicating directly from UI (from controller in mvc) to data on the read ...
0
votes
0answers
37 views
Raven DB architecture suggestions
I am working on a experimental project of my own implementing RavenDB. The project deals with analyzing tweets and detecting user groups from them. The project stores all the tweets in RavenDB. Now I ...
0
votes
1answer
115 views
Redis & MongoDB for Metrics Platform
I'm in the process of writing an app that will ultimately display analytics to the user. I've written a service that collects data from an API. This data will then be processed, stored, then when the ...
5
votes
4answers
269 views
Building a web application that is almost completely rendered by Javascript, while back end only delivers Json. Do or don't?
As a programmer, and taking into account the overall "funness" of the process, I'm tempted to start a project in Sinatra where the back end's sole concern is the logic, and returning a Json API, and ...
1
vote
0answers
170 views
Persistent async queue - reviewing various architecture options [closed]
I'm writing a system that dispatches reports and need some help with the design:
The requirements in high level:
reports are being created ad hoc
reports are being sent via emails to a list of ...
1
vote
3answers
178 views
How do I convert a list of Requirements into Constraints?
I am trying to prepare my first software design document. I am self-taught and have no formal training in CS. Having done a wee bit of reading up on it beforehand, I have created a list of ...
0
votes
1answer
81 views
Architecture for writing add-ins for closed-source software
currently I'm designing an add-in for the modelling tool Enterprise Architect. The general architecture is shown in the picture below.
Basically every action where the add-in can react to is ...
1
vote
2answers
151 views
What diagram to construct when familiarizing oneself with new code?
When I first encounter a new code base, I often find myself constructing flowchart-like-thingies-on-paper, while stepping through the code - either by reading it, or with the debugger.
Another ...
0
votes
3answers
122 views
How do you balance out code structuring (few big functions vs. many small ones)?
The golden rule of code structuring is always said as splitting into many sub functions is a good thing. Though I noticed it becomes a problem in complex applications when a class of e.g. 10 bigger ...
0
votes
0answers
37 views
Design for migrating to Multitenant architecture
We are in a process of redesigning our product code in such a way so as to support multitenancy.
Currently the implementation is such that one product deployment caters to only one customer.
Thus ...