I'm concerned about best practices that help reflecting the design of the software system in the implementation. Simple example may be naming: The names of the structures and identifiers should be equal. Do you have any advices o this?
...
I'm looking for a good WPF/XAML designer to do some contract work, but I don't know where to find one.
Where's the best place to find good XAML designers for hire?
...
During the implementation, or even after it I sometimes find a better design solution. I think it`s quite common thing for all developers as software once written can always be done better.
But how to analyze your mistakes to prevent similiar mistakes in future?
I know 2 things for that: Code reviews and post mortal meetings.
Can you...
I am sure all of you have observed the cohesive design of this site. My question is about some of the cool info-boxes...that appear on various events. Like when someone with lower reputation tries to down-vote OR the long box that appears just below the browser address bar when I have got response to one of my questions.
These are basic...
I'm just about getting into WCF; but from what I've read so far, like the sample scenarios I found on MSDN and some other sites, I can do all that with web services and applications that call those web services. So why the need for an elaborate layer like WCF?
Most of the comparisons I've googled for explain it more from a programming p...
Consider a rectangle with sides X and Y, and area Z such that Z=X*Y.
The rectangle has to be modeled into the cleanest OOD which will supply the following two services,
Given side X and side Y, calculate area Z.
Given side X and area Z, calculate side Y.
One possible design I was thinking on is,
A class Rectangle that have private...
In the application I am currently writing the specification asks that a number of dates are entered without years. I want to know everyone opinion of the best way of doing this, at all levels.
I am almost certain that they should be stored in the DB as normal Date fields, However before they get here, the year should always be set to th...
What are free/paid adobe air applications available for
Project collaboration and management
Wireframe
issue tracer
testing
color
.....
.....
etc
...
I am trying to set hyperlink to logo which is at the left side of the banner. when i use
<a href="home.php"> <div class="logo"></div></a>
its not working. help me to come out of this problem
...
I'm trying to hack my own dependency injection container in PHP, based on constructor injection. The container instantiates complex objects and inject them with the required objects based on the type hints in the constructor using reflection.
One thing I obviously stumbled upon is the fact that I can register multiple components that ca...
I'm looking at the C# library called BitStream, which allows you to write and read any number of bits to a standard C# Stream object. I noticed what seemed to me a strange design decision:
When adding bits to an empty byte, the bits are added to the MSB of the byte. For example:
var s = new BitStream();
s.Write(true);
Debug.Assert(s.To...
I'm using ASP.NET MVC and I am trying to separate a lot of my logic. Eventually, this application will be pretty big. It's basically a SaaS app that I need to allow for different kinds of clients to access. I have a two part question; the first deals with my general design and the second deals with how to utilize in ASP.NET MVC
Primaril...
Hello!
This question might appear very simple, but i haven't found an answer yet, so i'm asking the stack overflow community. As the title suggests i have a Class with several getXXX() methods where some of them may return null. This is documented and the user of this class should be aware of this fact.
To simplify the usage of this cl...
Hi,
Our application is developed using Spring framework. Is it good practice to check null condition in all layers (presentation. business, database) ? The flow in our application is
Form submission -> jQuery validator -> Spring validator -> Controller -> Service -> Database
Currently we are checking the parameters for null condition ...
I'm writing an iPhone application and I find that there are three controllers in the application that have very similar functionality. They are similar enough that it doesn't make sense to separate them into three separate classes, so I have a "mode" property that clients of the class use to specify how the controller should behave in c...
Just for kind of "fun" I'm developing almost every algorithm (if possible) shown in the book Introduction to Algorithms (Cormen) in C. I've reached the graphs chapters and I'm not sure how to design my functions, but first take a look at my data structures (hope this will make clear my question).
typedef struct s_multi_matrix
{
...
Dependency injection is a useful technique but what approach is recommended when faced with runtime dependencies?
e.g. Say you want to glue an event to an event processor depending on the type of the event and the user who initiated the request.
public interface Event {}
public interface EventProcessor {
public void handleEvent(Ev...
At present I have two WPF listboxes imitating the following functionality
I am using 2 ObservableCollections to allow users to select whatever items they require (flexibility is the key here). The main issue is that I have thousands of items that are grouped in both listboxes. All in all the design works really well (with a few dozen ...
HI
I am going to create a website, So I need to have a master page for all my own pages.
But its difficult to design it from scratch, Is there any template I use and just changing
for example the colors, font sizes, ...?
...
On a project targeting as many feature phones as possible (Nokia 3110 Classic, Samsung E250, Motorola SLVR L7, etc.), how should it be designed at a high level in terms of code structure? I don't mean in terms of per-handset support, as we are using Polish for that.
I'm an experienced C# developer moving on to J2ME development within my...