Skip to main content
Filter by
Sorted by
Tagged with
5 votes
6 answers
2k views

I have a need to create a "transactional" process using an external API that does not support COM+ or .NET transactions (Sharepoint to be exact) What I need to do is to be able to perform a number of ...
Matt's user avatar
  • 1,370
22 votes
11 answers
114k views

Can/Should I use a LIKE criteria as part of an INNER JOIN when building a stored procedure/query? I'm not sure I'm asking the right thing, so let me explain. I'm creating a procedure that is going to ...
Dillie-O's user avatar
  • 29.9k
7 votes
7 answers
4k views

The Gang of Four's Design Patterns uses a word processor as an example for at least a few of their patterns, particularly Composite and Flyweight. Other than by using C or C++, could you really use ...
Mark Cidade's user avatar
18 votes
5 answers
10k views

I'm working on a WinForm .Net application with the basic UI that includes toolbar buttons, menu items and keystrokes that all initiate the same underlying code. Right now the event handlers for each ...
Rick's user avatar
  • 5,029
69 votes
23 answers
21k views

Singletons are a hotly debated design pattern, so I am interested in what the Stack Overflow community thought about them. Please provide reasons for your opinions, not just "Singletons are for lazy ...
Adam's user avatar
  • 26.6k
6 votes
4 answers
8k views

Does anybody recommend a design pattern for taking a binary data file, parsing parts of it into objects and storing the resultant data into a database? I think a similar pattern could be used for ...
Keith Sirmons's user avatar
29 votes
16 answers
4k views

What's the penetration of design patterns in the real world? Do you use them in your day to day job - discussing how and where to apply them with your coworkers - or do they remain more of an academic ...
Chris Smith's user avatar
  • 18.8k
8 votes
6 answers
10k views

I'm looking for patterns that concern coding parts of a GUI. Not as global as MVC, that I'm quite familiar with, but patterns and good ideas and best practices concerning single controls and inputs. ...
Peteter's user avatar
  • 689
7 votes
3 answers
4k views

I'm looking for a pattern for performing a dynamic search on multiple tables. I have no control over the legacy (and poorly designed) database table structure. Consider a scenario similar to a ...
Geoff's user avatar
  • 9,350
37 votes
4 answers
10k views

I've done some WPF programing and one thing I never got was the command pattern. Every example seems to be for built in ones, edit, cut, paste. Anyone have an example or suggestion of best practice ...
Brian Leahy's user avatar
  • 35.8k
101 votes
14 answers
21k views

As I learn more and more about OOP, and start to implement various design patterns, I keep coming back to cases where people are hating on Active Record. Often, people say that it doesn't scale well (...
Adam Tuttle's user avatar
  • 19.9k
11 votes
3 answers
2k views

The singleton pattern is a design pattern that is used to restrict instantiation of a class to one object instance. Although I know how to code the singleton pattern in C++ and Java, I was wondering ...
CodingWithoutComments's user avatar
2346 votes
40 answers
741k views

Inversion of Control (IoC) can be quite confusing when it is first encountered. What is it? Which problem does it solve? When is it appropriate to use and when not?
Mike Minutillo's user avatar
2388 votes
24 answers
584k views

When looking beyond the RAD (drag-drop and configure) way of building user interfaces that many tools encourage you are likely to come across three design patterns called Model-View-Controller, Model-...
Mike Minutillo's user avatar

1
640 641 642 643
644