Join Now
|
Login
home
login
join now
.NET pattern framework
javascript + jquery patterns
database pattern framework
products and pricing
.NET design patterns
javascript design patterns
javascript tutorial
sql + database tutorial
connection strings
visual studio shortcuts
c# coding standards
html color codes
all references
explore
questions
ask question
tags
users
contact us
training courses
schedule
registration
about us
training and education for professional developers
login
join now
how to search
Home
Questions
Explore
reset
Explore
47
records found
date
active
views
answers
votes
What pattern(s) to use for this system ? HRIS/Payroll system
Hello! I am currently working on a Human Resource Information System(HRIS)/Payroll system. Our professor only require us to use Strategy, Decorator and Observer patterns. Any ideas what pattern to be use, how can ...
Feb 26, 2013
by
mj emaznol
50
50
Last:
Mar 08, 2013
by
Dennis Tucker
103
96.7
C#
Views
575
Answers
1
Votes
0
Answer
Code
Follow
0
Factory or Strategy or Builder Pattern
I've got an application that creates and sends packets. A packet consists of one or more document objects. e.g. Packet1 = [ DocA, DocB, DocB, DocB ] Packet2 = [ DocB, DocB, DocC ] Packet3 = [ DocC, DocB, DocA ] ...
Feb 16, 2013
by
Kip Keino
50
50
Last:
Feb 19, 2013
by
Kip Keino
50
50
Factory Pattern
Strategy Pattern
Builder Pattern
Views
628
Answers
1
Votes
0
Answer
Code
Follow
0
Adapter or Proxy?
In a case where there are 3 classes and i need to choose 1 of the class to use. Then by using a standard method, i can access the file. The reason of having 1 standard method is to prevent re-writing of codes if ...
Jan 08, 2013
by
Christopher Lim
54
94.1
Last:
Jan 10, 2013
by
Vikram Karumbaiah
50
50
Proxy Pattern
Adapter Pattern
Views
954
Answers
1
Votes
0
Answer
Code
Follow
1
VS 2008 - Product location management with strategy pattern
Hi all experts! I'm currently developing a WinMobile application for picking system. The user must have the possibility to change the positions of the products on the shelf (using the built in barcode reader); I ...
Dec 14, 2012
by
BARBON DARIO
50
50
Strategy
C#
Views
771
Answers
0
Votes
0
Answer
Code
Follow
0
Optimal Design Pattern to generate a file
The process to generate a file is : 1. get header 2. get content 4. generate file 6. download file for exmple, there are two types: 1. txt file 2. xml file the get header function is same. txt file and xml file use ...
Oct 18, 2012
by
Oo Hml
50
50
Last:
Nov 07, 2012
by
Vivekananda P
50
50
C#
Design Pattern
Views
1.5K
Answers
1
Votes
0
Answer
Code
Follow
0
Strategy Pattern vs Decorator Pattern
I am trying to understand the difference between Strategy and Decorator Pattern. It seems like both are serving the same purpose , in fact decorator pattern is more preferred. If anybody who can let me understand ...
Nov 06, 2012
by
Sukesh Marla
48
0
Last:
Nov 07, 2012
by
Vivekananda P
50
50
Views
1.7K
Answers
1
Votes
-1
Answer
Code
Follow
0
Two questions: Interface and Encapulation
What qualities a good Interface has??? I have a class which has many properties every member function uses some of these properties. member function signature are as shown Class Signal { ...
Jul 01, 2012
by
Punit Asdf
63
95.5
Last:
Aug 04, 2012
by
Michael Lopez
55
94.1
Interface
Encapulation
C#
VB.NET
Views
2.7K
Answers
3
Votes
0
Answer
Code
Follow
1
What design pattern is best for the following scenario?
I have 3 car rental agencies. Each agency requires the data in XML, but in a different format, for example: Agency 1 <Rental> <Customer> <FirstName>test</FirstName> ...
Jul 17, 2012
by
Xaisoft S
55
94.1
Last:
Jul 20, 2012
by
Michael Lopez
55
94.1
C#
Builder Pattern
Interfaces
Dependency Injection
Views
2.5K
Answers
2
Votes
0
Answer
Code
Follow
1
What design pattern(s) to use to build a extractor for a flat file based on a specification?
I have a flat file where each row has a specification. Say the first row specification level 100 a header row and all 200s are data rows and level 199 is a file summary. I have created a data table that ...
Jun 16, 2011
by
Tony Blogumas
50
50
Last:
Mar 15, 2012
by
Tony Blogumas
50
50
C#
Business Tier
Flat File Parser
Views
5.5K
Answers
4
Votes
0
Answer
Code
Follow
0
Singleton as a static class
I was wondering why are Singletons not implemented as a static class with a static public Instance property?
Feb 02, 2010
by
Juan Perez
129
96.7
Last:
Jan 26, 2012
by
Joness K
50
50
Singleton Pattern
Gang of Four
Views
14.4K
Answers
5
Votes
4
Answer
Code
Follow
0
Strategy Pattern in Design Pattern Framework 4.0
The ShippingMethod in the 'Patterns in Action' shopping cart seems to be using also Factory Pattern. Could anyone confirm ...
Jan 23, 2012
by
Shanglin Hsieh
50
50
Strategy Pattern
Factory Pattern
Design Pattern Framework
Views
1.5K
Answers
0
Votes
0
Answer
Code
Follow
0
Question - Strategy Design Pattern
Hi All, Following is the structure of my class public abstract class BaseUser { protected List<Perm> permissions; public abstract void AddPerm(Perm perm); } public class NormalUser : ...
Dec 28, 2011
by
A Solvent
50
50
Last:
Jan 05, 2012
by
Sivakumar Sivaprakasam
50
50
Strategy Pattern
Views
1.9K
Answers
1
Votes
0
Answer
Code
Follow
0
What pattern to use for caching?
Let's assume there is a requirement to cache calls to get products from database for N minutes. What design / patten would you recommend? In what layer it could be ...
Sep 21, 2011
by
Michael S
50
50
Last:
Nov 01, 2011
by
Tarriq Ferrose Khan
80
96.3
Caching
Views
4K
Answers
2
Votes
0
Answer
Code
Follow
0
Design Pattern Training Videos
Have you guys though about doing a video series on design patterns? I've come across one website that does them, but they refer to Java! It would make alot of sense if you guys did consider ...
Jul 15, 2010
by
Peter St Angelo
88
96.5
Last:
Oct 21, 2011
by
Itman Man
50
50
Video
Design Pattern Framework
NET 4.0
Views
14.6K
Answers
8
Votes
1
Answer
Code
Follow
1
Strategy again. This time: Manipulating a View (that has different "Modes")
Hi there again, It's been some time and my last question was aimed at the strategy pattern. I wanted to know how I can make use of this pattern to replace a switch/case with something more SOLID. :) This time, I ...
Aug 30, 2011
by
Christian Jacob
555
99.9
Last:
Oct 06, 2011
by
Tarriq Ferrose Khan
80
96.3
VB.NET
Strategy Pattern
Best Practices
MVP
Winforms
Views
2.1K
Answers
1
Votes
0
Answer
Code
Follow
0
How to avoid if else condition is there any pattern to use ?
How to avoid if else condition is there any pattern to use ? ...
Sep 06, 2011
by
John Prasad
50
50
Last:
Sep 10, 2011
by
Rahhal Taoussi
60
95.3
Views
2.6K
Answers
1
Votes
0
Answer
Code
Follow
0
Help to decide appropriate pattern to be implement.
What is the best solution to resolve the following problem? Problem: I would like to implement generic business logic (method) which can be invoked by any methods irrespective input type. Scenario: ...
Aug 29, 2011
by
Nirav Valera
50
50
Last:
Aug 30, 2011
by
Pubudu Thilakarathna
50
50
Views
1.8K
Answers
1
Votes
0
Answer
Code
Follow
0
View models and accessing data in the presentation tier
I see that in the pattern's in action source you are using a Provider to sit over your data access as you are using the Provider Model to hot swap DALs based on config settings. My current project we are using an ...
Jul 28, 2011
by
Ryan Andrus
60
95.3
Last:
Aug 26, 2011
by
Tarriq Ferrose Khan
80
96.3
Views
2.1K
Answers
1
Votes
0
Answer
Code
Follow
0
Need some good .NET Design Pattern interview questions
Hello. I will be interviewing a few candidates for a senior architecture position that we have open at our company. As an architect we expect them to be familiar with commonly used .NET Design Patterns. Does anyone
Mar 25, 2010
by
Craig Johnston
128
96.7
Last:
Aug 19, 2011
by
Danut Prisacau
108
96.7
Design Patterns
Interview Questions
Views
18.1K
Answers
6
Votes
1
Answer
Code
Follow
0
With which Design Pattern would you recommend I start?
Hi: I am from México, sorry for my English. I am a student in Computer Systems and I don't know where to start with Design Patterns. My professor taught some of Singleton and Factory Patterns, but I ...
Jul 28, 2011
by
Alberto Chargoy
60
95.3
Last:
Jul 29, 2011
by
Rajesh Pillai
1,354
100.0
Design Patterns
Study
Beginner
Views
2.7K
Answers
1
Votes
1
Answer
Code
Follow
0
Interpretation Setup Consultation (C#)
Hello. This is my first question ever. Party right here. Now, onto the question! Background information: I am creating a framework for a game. It is a M(ulti) U(ser) D(ungeon) or a text based imagination driven ...
Jul 25, 2011
by
Karl Wessels
63
95.5
Last:
Jul 28, 2011
by
Karl Wessels
63
95.5
C#
Framework
Interpretation
Gaming
Views
2.5K
Answers
2
Votes
0
Answer
Code
Follow
0
Is there still a future for NHibernate?
I was just wondering with the new release of Entity Framework 4.1 which supports Code First, Data First, and Model First does it still makes sense to start a web project with NHibernate? I know it has many ...
Apr 19, 2011
by
Sunil Patel
50
50
Last:
Apr 26, 2011
by
Robert Blixt
1,128
99.9
NHibernate
Entity Framework
Views
2.8K
Answers
1
Votes
0
Answer
Code
Follow
0
Do you feel guilty when using a C# switch statement?
Now that I am familiar with Design Patterns I am beginning to feel guilty whenever I use the C# switch statement. It is almost like switches are a 'code smell' and that a better solution is possible ...
Mar 29, 2011
by
John Telstra
56
94.4
Last:
Mar 29, 2011
by
Robert Blixt
1,128
99.9
C#
switch
Code Smells
Views
2.9K
Answers
1
Votes
0
Answer
Code
Follow
0
Best practice: Store images in DB or on File System?
We are building an ASP.NET MVC web application where users continually upload images -- several hundreds per day. The images are somewhere between 200 - 800K. The two alternatives, as I see it, is ...
Mar 27, 2011
by
Tim Sawyer
76
96.2
Last:
Mar 29, 2011
by
Dan Corbett
80
96.3
Best Practices
Database
File System
Image Storage
Views
12.4K
Answers
3
Votes
0
Answer
Code
Follow
1
Chain of responsibility pattern
Hi Could anyone please explain the real-world scenarios in which Chain-of-Responsibility is actually used? ...
Feb 15, 2011
by
Anup R
50
50
Last:
Mar 28, 2011
by
Daniel Musiał
60
95.3
Chain of Responsibility Pattern
Views
4.5K
Answers
3
Votes
0
Answer
Code
Follow
0
Difference between Strategy and Inversion of Control (IOC)?
Hi, When getting into Design Patterns I first studied the GoF patterns, which includes Strategy. After that I started tackling ASP.NET MVC in which the Inversion of Control ...
Mar 23, 2011
by
John Telstra
56
94.4
Last:
Mar 23, 2011
by
Robert Blixt
1,128
99.9
Strategy Pattern
Inversion of Control
Dependency Injection
Views
2.9K
Answers
1
Votes
0
Answer
Code
Follow
0
Strategy Design Pattern usage in .NET
I have a quick question: How is the Stategy Pattern used ...
Mar 06, 2011
by
Rajeev Kumar
250
96.9
Last:
Mar 08, 2011
by
Robert Blixt
1,128
99.9
Strategy Pattern
.NET
Views
4.4K
Answers
3
Votes
0
Answer
Code
Follow
0
Steps to Architecting a Solution
Is there a definitive set of steps you should take to architect a solution? For instance, start with the use cases to determine the data that needs to be stored and their relationships, build the database, ...
Mar 07, 2011
by
Daniel Hicks
60
95.3
Last:
Mar 08, 2011
by
Rajesh Pillai
1,354
100.0
Architecture
Multi Tier
Multi Layer
Views
2.5K
Answers
1
Votes
1
Answer
Code
Follow
0
Correcting Code Smells with Design Patterns?
I think I understand what a code smell is (don't you love that term? -- reminds me of fish for some reason). Here is what Wikipedia has to say about these smells: A code smell is any symptom in the source ...
Mar 04, 2011
by
Leo Benson
122
96.7
Last:
Mar 06, 2011
by
Rajesh Pillai
1,354
100.0
Code Smells
Refactoring
Design Patterns
Views
2.8K
Answers
1
Votes
0
Answer
Code
Follow
0
What Design Pattern to use for collections of parsers
I have string and I need to pass it through different parsers and eventually get the processed string. Lets say, I have string s = "<input type='text' /> some text <span>hello</span> ...
Jan 29, 2011
by
Igor M
50
50
Last:
Feb 17, 2011
by
Stephanie Schwinn
50
50
Design Patterns
Parsing
Views
3.5K
Answers
1
Votes
0
Answer
Code
Follow
0
1
2
Next
15
30
50
Per Page
return to top