Programming Practices are the commonly or not so commonly used practices in development of software. These can include things like Agile Development, Kanban, Coding shortcuts, etc.
1
vote
2answers
102 views
C# Subject Observer Architecture question
I'm making a C# application using the Subject Observer design pattern in a slightly different way.
I am passing the Provider Class, implementing IObservable (this has the OnNext() method that ...
1
vote
2answers
79 views
Auto Transaction Failsafe's, Third Party API's, Coldfusion Schedule Files
I have an automated invoicing web app and I'm trying to build in some failsafes and a structure that will, under no circumstance, allow an invoice to be double charged.
All things working perfectly, ...
1
vote
1answer
164 views
Program Architecture: How to manage objects that are interdependent
Consider the following case, image I making a simple chat program; I want it to be extensible such that it would be fair easy to add add different scripting and user interfaces.
I want the core ...
1
vote
1answer
237 views
Methods for structuring JavaScript SDKs
I've built a REST API and have been using Backbone models throughout a couple different applications to communicate to it.
I would really like to build a single JS SDK that can be used in any ...
0
votes
1answer
154 views
Creating Set Subclasses or Allowing Outside Configuration
I have a TriggerCaller and a TriggerAction class. The Caller "calls" the do() method on the action, which is set with the TriggerCallers setAction() method. The rest of the program should deal with ...
2
votes
0answers
117 views
Preferred method for handling Failed CRUD operations in Entity Framework (6)?
I am using EF 6 as my ORM. I am trying to decide how to handle CRUD failures.
Option 1:
Use exceptions (custom or built-in) to inform the web layer that an item didn't correctly save. Handle the ...
2
votes
0answers
131 views
How much segregation is too much in this design?
We are working on ASP.NET webforms application developed using WCSF (MVP pattern). In the application, there is a search screen that allows the user to enter some fields and display the results.
We ...
1
vote
0answers
76 views
Single page application automatically download dependent HTML
I'm currently developing an application using ASP.NET MVC5 and Knockout.
For now, the typical architecture is this:
FooController.cs:
public ActionResult GetFoos(){
//...
var model = // ...
1
vote
0answers
58 views
Java MVC: multiple use of the same event for different actions
I am working on a large Java project which employs the model-view-controller pattern. Should I use a different event for each action (to let the views communicate with their respective controllers)? ...
1
vote
0answers
76 views
What is the best way to remember a successful execution over several program calls?
I'm working on a build process, that is called manually over the command line.
To check if it exited unsuccessfully during the build I want to set a lock file (symbolic link) and remove it on ...
1
vote
0answers
29 views
Manual repetitive conversion between file types
Let's say i have an interest in file conversions, but everything should be made by hand and i have multiple output formats (say: csv and excel).
Once i get contacted by a client, i have to link ...
1
vote
0answers
36 views
how to combine logs coming from multiple virtual machines for processing?
Scenario:
Two virtual machines produce logs. I want these logs to be sent to a central server for processing (as soon as a line of these logs is generated-->streaming ). The condition here is that I ...
1
vote
0answers
172 views
What's a good approach for updating millions of rows independently?
I have a MongoDB database with millions of users in collection. An aggregation function returns millions of results with the following format:
Array ( [_id] => Array ( [user] =>
MongoId ...
0
votes
0answers
19 views
Test-first iterative development in Common Lisp environment
Given: I want to practice proper test-first, continuous delivery-style software development in Common Lisp environment.
Problem: How each red-green-refactor iteration of the process should look ...
0
votes
0answers
23 views
Add new/modify existing callback to/in API
I am working on a common API for a user interface. My colleagues use this framework in all their projects, but the UI is not our main aspect here, so the knowledge of the UI framework is somewhat ...