I'm trying to design a table-driven routing engine for a contract management application that will compute appropriate reviewers and approvers given a set of input criteria. My platform is Sharepoint with K2 and InfoPath 2007 (I'm working on the InfoPath form, a colleague is working on the K2 workflow). The results will be used by K2 to ...
So there is an internal email application, that has different installations in the company (various departments).
When an email comes into the system, I need to perform a lookup based on the email address.
Each lookup will be different, depending on the department's installation.
e.g.
When an email arrives in the accounting department,...
I think I messed up somehow in my design because I want to keep a vector of various object types. These types all share a common base class. Example:
Class Buick: AmericanCar
{
}
Class Ford: AmericanCar
{
}
then I did:
vector<AmericanCar*> cars_i_own;
Now, I have my vector of pointers but I don't have the derived class which is wh...
I have a header file with about 400 function declarations and its corresponding source file with the definitions.
In order to replace the implementation with a mock at runtime, I want to replace the implementation with calls to an object that will contain the implementation instead (pointer to implementation - pImpl).
This means I will...
I am torn between to DRY and loose coupling :(
I have two sites which you can link your account and then the sites can share data (via a RESTful api...)
one site is a media aggregation site and the other is a media store where people can buy digital media (music/photo/video).
My boss wants to emulate the itunes store and have a built-...
the vertical iPhone viewport width is 320 px, but what is the width in ems
or
what is the default font size in px in the iphone
...
I have Process objects that are monitored from two different views. A Windows.Forms.ListView (actually a derived class) and a Graph Viewer (based on Microsoft Research's Automatic Graphing Layout). Each has a context menu which can have similar events activated. While the list view can have multiple selections, I don't allow it on th...
I am in the process of building an application where clients (WPF) will be calling a web service to send data.
These clients will have different roles: Employees, Managers, etc. and each client needs to send their username/password when calling the web service for authentication.
Can I use the ASP.NET membership provider for authenticat...
Pattern of pub-sub events is that the
publisher should not know or care if
there are any subscribers out there,
nor should it care what the
subscribers do if they are there (from
Brian Noyes'
blog)
What are the best practices to using EventAggregator in Prism? Currently I have few modules which are loosely coupled and wo...
Hello everyone! I am currently trying to make a game in XNA Game Studio. Games and any software for that matter require good organization because when they get big the code starts getting out of hand. This game I am currently working on is one of my most organized projects.
I have dropped projects before because they have gotten to big ...
Anybody up for a HTML/Javascript challenge?
For those have used Apple Tv or Front Row on any mac/macbook, I am looking for some web design UI help. I'm trying to recreate the up-down list navigation style with javascript.
There would be a list, with a semi-transparent box that scroll up and down the list to frame the list entries. For...
How can I make an Application look nice and not like an amateur pulled it together?
I mean graphic-wise.
Is there some sort of book you can read regarding beautiful program layouts, etc?
I put this in Community Wiki so please feel free to leave your opinions that way we can all learn. :D
Edit: Oh my god. I completely forgot to mentio...
I would like to ask for opinion on making aggregate data by concatenating strings. If I have a column aggregate but I want to concatenate then in an aggregate column, which is faster in terms of performance? Doing one SQL then just aggregating then in the CODE. Or selecting the main data then querying one at a time.
For Example:
TABLE_...
This may seem like a trivial question but I'd be interested to hear if there's a logical or right answer to it.
Given a text box to enter data (say an email) and two buttons below it. One button is Send and the other is Preview.
Which button should be on the left and which on the right?
(Assume western left to right language.)
...
I have to use a 3rd-party library and I want to write code in which business logic is decoupled from the library vendor, so that in the future, if I change the library that I am using, there is minimal impact on my business logic.
Please suggest me Design pattern that will be highly effective. I would appreciate if you can suggest me s...
College is the first step for many professional software developers and while a Bachelor's degree in Computer Science will get you a good foundation it is heavily biased towards theory. You get a good understanding of how computers and programming languages work but it barely scratches the surface of professional software engineering.
...
Consider two classes
class A{
public:
A(){
}
~A(){
}
};
class AImpl : public A{
public:
AImpl(){
a = new AInternal();
}
AImpl(AInternal *a){
this->_a = a;
}
~AImpl(){
if(a){
delete a;
...
If my program doesn't tear down correctly, the system becomes unstable. There is no workaround really. So, should my program crash and not tear down correctly, then I need to tell the user when he tries to run it again that the system was left in an unstable state. Is the right way to do this is to create a lock file when I start and del...
Hi,
I have a program in C/C++ code, and I wonder what approaches/programs/methodologies can be used to:
change automatically or following some rules
a) all variable and function names of the program
b) redesign it completely: change indentation, order of how functions appear on the code, etc
So at the end, the program compiles again...
I'm interested in creating my own project in my spare time to learn some more about development, I have several ideas of what I want to create, and what technologies to use (java, stripes framework) but I don't know where to begin on the actual design.
I understand that design and planning is a key objective to a sucessful application, ...