Questions about problem solving and planning for a solution through software design.

learn more… | top users | synonyms

0
votes
1answer
84 views

How do I support interfaces for different devices in the same input scenario?

I asked this question on SO but someone pointed out that I would be better off here. He's most likely right. So here I go! So I just wanted an opinion. I have 2 different ways to approach the ...
1
vote
3answers
634 views

Coding to interfaces

I understand why it is a good idea to code to an interface rather than to a concrete class. I find it hard to implement though as other methods generally need to use properties of the given object. ...
0
votes
2answers
142 views

Path to learning compiler design [on hold]

I'm not sure if this is an acceptable question, but compiler-os-design-where-to-start was, so I figured that I'd take a shot at it. I have taken no formal Computer Science classes. I have programmed ...
4
votes
2answers
153 views

Testcase runner for parametrized testcases

Let me explain my situation. I'm planning a kind of test case runner for doing testcases on external devices, which are microcontroller based. Lets consider the devices: Device 1 Device 2 There ...
1
vote
1answer
132 views

Interfaces, Adapters, exposing business objects via WCF design

I know there have been countless discussions about this but I think this question is slightly different and may perhaps prompt a heated discussion (lets keep it friendly). The scene: I am developing ...
3
votes
4answers
190 views

What would the general design for an XSD to C# class converter look like?

I am looking to create a simple code generator to convert XSD definitions to C# classes. This is partly as a learning exercise, but I would also like to get some practical use out of it eventually. ...
1
vote
1answer
110 views

How should I handle two crons that update the database?

I'm working on a Bitcoin-clone block explorer (specifically Mincoin) which has a block timer of about 1 minute. For those unfamiliar with Bitcoin, basically a new data structure called a block is ...
2
votes
1answer
200 views

How do you handle deployment configuration of your thick browser (html/javascript/css) clients?

Question For those of you working with html/javascript/css "thick clients", specifically those that work against some client-independent server API, how do you manage your deployment environment ...
3
votes
1answer
149 views

Standard practices for access control (design pattern)

I'm looking at my interface design and I am struggling to decide which is the most "correct" way to implement role-based access control, given a user and a subject that the user would like to access. ...
-2
votes
1answer
55 views

Dealing with internal archeticture API breaks [on hold]

There is many technical books, discussing design of programm archeticture. I am looking for one, which does not explains the process or creating arch, but talks about refractoring and changing it. ...
46
votes
8answers
4k views

Are design patterns really essential nowadays?

I was reading "Coders at Work" and have faced the fact that some of the professionals interviewed in the book are not so enthusiastic about design patterns. I think that there are 2 main reasons for ...
0
votes
0answers
57 views

Recaching calculations

I'm working on a webapp which has an existing framework to cache values from the database. I have a requirement which needs multiple values from the database and the values have to be ...
37
votes
12answers
2k views

Documentation in OOP should avoid specifying whether or not a “getter” performs any computation?

My school's CS program avoids any mention of object oriented programming, so I've been doing some reading on my own to supplement it -- specifically, Object Oriented Software Construction by Bertrand ...
-1
votes
0answers
10 views

Write table dynamically in jsp [closed]

I have N number of lists in my jspContext. Each list represents a column in a html table. The lists are of type X, where class X { String value; String description; String priority; ... } The ...
1
vote
7answers
640 views

Finally block for methods - is it a bad idea?

The finally block for a try-catch structure is well known, and gives a really easy and elegant way to deal with some must-be-done code. Therefore, I can see no reason why It shouldn't be good for ...

15 30 50 per page