473,387 Members | 1,791 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Design patterns in .NET

Hi,

i have a few questions i would like to ask :

1 - Where can i find good design patterns resources for .NET ?
2 - What's the best design pattern for a windows database application (
multiuser ) ?
3 - I'm trying to develop a simple database application . I'm thinking of
defining a class for every table in the database. Is this a good design
practice ?

Thanks,
José Carlos Ferreira
Aug 24 '05 #1
5 1825

"Coder-X" <en***************@yahoo.com.br> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Hi,

i have a few questions i would like to ask :

1 - Where can i find good design patterns resources for .NET ? http://www.wickedlysmart.com/HeadFir...ernsIndex.html
You should also check out the Microsoft Patterns and Practices site
http://msdn.microsoft.com/practices/ 2 - What's the best design pattern for a windows database application (
multiuser ) ? There are many many patterns each of which handles different areas. And
best is really dependent on what you are trying to accomplish. There is no
1 best pattern for everythign in windows forms, you'll probably want to use
multiple patterns. 3 - I'm trying to develop a simple database application . I'm thinking of
defining a class for every table in the database. Is this a good design
practice ? Probably not. Every time you have a new table , you'll have to recompile
your application. You may want to take a look at some of the OR Mappers, two
of the best I know of are www.deklarit.com and llblGenPro
http://www.llblgen.com/defaultgeneric.aspx
Thanks,
José Carlos Ferreira

Aug 24 '05 #2
I second the motion on the "Head First" book. While the code is in
Java, it does not really matter, the patterns are explained very well.

Aug 24 '05 #3

Coder-X wrote:
Hi,

i have a few questions i would like to ask :

1 - Where can i find good design patterns resources for .NET ?
"Patterns of Enterprise Application Architecture" by Martin Fowler
(ISBN 0-321-12742-0) may be just the resource you're looking for. The
author explains several patterns for working with relational databases.
2 - What's the best design pattern for a windows database application (
multiuser ) ?
There isn't a single best pattern for every problem. Hopefully, that's
a question you'll be able to answer after you have reviewed patterns
others have used in the past.
3 - I'm trying to develop a simple database application . I'm thinking of
defining a class for every table in the database. Is this a good design
practice ?
You did say it would be a simple application, so yes, it might be a
good design in your case.
Thanks,
José Carlos Ferreira


Aug 24 '05 #4
Thanks Chris, and the C# code is included on that link which makes it even
cooler. Pretty close to Java but there are definitely enough nuances to
make you apprecaite the conversion.
"Chris Dunaway" <du******@gmail.com> wrote in message
news:11*********************@z14g2000cwz.googlegro ups.com...
I second the motion on the "Head First" book. While the code is in
Java, it does not really matter, the patterns are explained very well.

Aug 24 '05 #5
SP

"Coder-X" <en***************@yahoo.com.br> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Hi,

i have a few questions i would like to ask :

1 - Where can i find good design patterns resources for .NET ?
2 - What's the best design pattern for a windows database application (
multiuser ) ?
3 - I'm trying to develop a simple database application . I'm thinking of
defining a class for every table in the database. Is this a good design
practice ?
You should be asking the question more like "how will I persist my
classes?". At one end of the spectrum is mapping each class to a table. At
the other end is mapping every class to use just one table. You will
probably want to do in between these two options.

Take a look at Agile Database Techniques by Scott Ambler.

SP

Thanks,
José Carlos Ferreira

Aug 28 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Don Vaillancourt | last post by:
Hello all, Over the years as I design more database schemas the more I come up with patterns in database design. The more patterns I recognize the more I want to try to design some kind of...
1
by: Jay | last post by:
The GOF text is widely considered the definitive book on the topic. Design Patterns: Elements of Reusable Object-Oriented Softare, Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides ...
1
by: Josh28 | last post by:
Hi We are a group of two chaps just out of undergrad, we created a software to automate the use of Design Patterns. We have put it up at Source Forge--http://dpatoolkit.sourceforge.net/ The...
13
by: John Salerno | last post by:
Here are a few I'm considering: Design Patterns Explained : A New Perspective on Object-Oriented Design (2nd Edition) (Software Patterns Series) by Alan Shalloway Design Patterns C# by...
2
by: Carlo Stonebanks | last post by:
I have the infamous GoF Design Patterns boo - it's been sittin gon my shelf for years. I have a huge reading list and find this book a rather dry read and am always putting it off. I have...
22
by: Krivenok Dmitry | last post by:
Hello All! I am trying to implement my own Design Patterns Library. I have read the following documentation about Observer Pattern: 1) Design Patterns by GoF Classic description of Observer....
5
by: Ludwig Wittgenstein | last post by:
Other than the Design Patterns book, which book(s) is/are the best to learn object-oriented software design/architecture from ?
7
by: =?Utf-8?B?bWF2cmlja18xMDE=?= | last post by:
Hi, I would like to know more about design patterns and specifically using C#. Can any one recommend a good book? Thanks
5
by: macca | last post by:
Hi, I'm looking for a good book on PHP design patterns for a OOP beginner - Reccommendations please? Thanks Paul
10
by: vital | last post by:
Hi, I am designing the middle tier of a project. It has 6 classes and microsoft application data access block. The six classes are DBServices, Logger, ProjectServices ... etc. and all these...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.