473,738 Members | 3,854 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Design Patterns Advice And Resources

Hi Folks: Can anyone direct me to a good resource on design patterns. I'd
like to use them for a project I'm working on regarding set theory - in
particular I'd like to use the Decorator pattern to present an interface for
a 'sortable' set template derived from the default unsorted set template.
And, I'd like to have a Factory pattern used as a source of the set objects.
I am a relative newbie to this sort of design approach, so if I'm thinking
wrong about things then I appreciate being set (NPI) back on the correct
path. I have seen some C# source for these things, but I want to do it in
C++ and I'd do better with source examples than trying to divine what should
be a pointer and what should be a reference and so on when setting up the
original template. Any direction (aside from misdirection) would be
appreciated.

regards,
L.
Jul 22 '05 #1
8 1612
"NKOBAYE027 " <NK********@Rog ers.Com> wrote...
Hi Folks: Can anyone direct me to a good resource on design patterns.[...]


How about comp.software.p atterns?
Jul 22 '05 #2
"NKOBAYE027 " <NK********@Rog ers.Com> wrote in message
news:sp******** *************@n ews04.bloor.is. net.cable.roger s.com...
Hi Folks: Can anyone direct me to a good resource on design patterns. I'd
like to use them for a project I'm working on regarding set theory - in
particular I'd like to use the Decorator pattern to present an interface for a 'sortable' set template derived from the default unsorted set template.
And, I'd like to have a Factory pattern used as a source of the set objects. I am a relative newbie to this sort of design approach, so if I'm thinking
wrong about things then I appreciate being set (NPI) back on the correct
path. I have seen some C# source for these things, but I want to do it in
C++ and I'd do better with source examples than trying to divine what should be a pointer and what should be a reference and so on when setting up the
original template. Any direction (aside from misdirection) would be
appreciated.


http://hillside.net/patterns/

-Mike
Jul 22 '05 #3
> NKOBAYE027 wrote:
Hi Folks: Can anyone direct me to a good resource on design patterns. I'd like to use them for a project I'm working on regarding set theory - in
particular I'd like to use the Decorator pattern to present an interface

for
a 'sortable' set template derived from the default unsorted set template. And, I'd like to have a Factory pattern used as a source of the set

objects.
I am a relative newbie to this sort of design approach, so if I'm thinking wrong about things then I appreciate being set (NPI) back on the correct
path. I have seen some C# source for these things, but I want to do it in C++ and I'd do better with source examples than trying to divine what

should
be a pointer and what should be a reference and so on when setting up the original template. Any direction (aside from misdirection) would be
appreciated.


http://hillside.net/patterns/


"Can patterns be harmful":
http://www.netobjectives.com/ezines/ezine_2004_01.pdf

discussions (vaguely) about that document:
http://groups.yahoo.com/group/extrem.../message/88654

--
Phlip
http://www.xpsd.org/cgi-bin/wiki?Tes...UserInterfaces
Jul 22 '05 #4
NKOBAYE027 wrote:
Hi Folks: Can anyone direct me to a good resource on design patterns.


"Design Patterns" by Gamma, Helm, Johnson, Vlissides, often called the
"GOF" (gang of four) book, because it was written by four authors.
Jul 22 '05 #5
Rolf Magnus wrote:
NKOBAYE027 wrote:

Hi Folks: Can anyone direct me to a good resource on design patterns.

"Design Patterns" by Gamma, Helm, Johnson, Vlissides, often called the
"GOF" (gang of four) book, because it was written by four authors.


Another view on the subject:
http://www.laputan.org/foote/papers.html

Jul 22 '05 #6
Thanks a lot everyone - I'm certain to have enough for many masochistic
hours of fun. :o)

regards,
L.

"lilburne" <li******@godzi lla.net> wrote in message
news:bv******** ****@ID-203936.news.uni-berlin.de...
Rolf Magnus wrote:
NKOBAYE027 wrote:

Hi Folks: Can anyone direct me to a good resource on design patterns.

"Design Patterns" by Gamma, Helm, Johnson, Vlissides, often called the
"GOF" (gang of four) book, because it was written by four authors.


Another view on the subject:
http://www.laputan.org/foote/papers.html

Jul 22 '05 #7
NKOBAYE027 wrote:
Thanks a lot everyone - I'm certain to have enough for many masochistic
hours of fun. :o)


Okay. I get it. We'll stop. We won't even mention Enterprise Application
Patterns, or all the PLOP papers.

Besides, those are all Booooring.

--
Phlip
http://www.xpsd.org/cgi-bin/wiki?Tes...UserInterfaces
Jul 22 '05 #8
On Tue, 03 Feb 2004 22:31:22 +0000, Phlip wrote:
NKOBAYE027 wrote:
Thanks a lot everyone - I'm certain to have enough for many masochistic
hours of fun. :o)


Okay. I get it. We'll stop. We won't even mention Enterprise Application
Patterns, or all the PLOP papers.

Besides, those are all Booooring.


But less boring is "Antipatter ns" by Brown e.a. Probably not what the OP
is looking for, but a good read anyway.

HTH,
M4

Jul 22 '05 #9

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

Similar topics

4
1988
by: Ian Giblin | last post by:
I am an experienced C programmer, learning C++ by writinging a mathematical toolkit in the framework of a script interpreter. I am posting here to ask for advice (or references) on the object design and implimentation. Currently I have a portable "ScriptSession" class which contains the mechanics of looping with a user prompt, parsing a sentence and handling syntax errors, etc., and I wan this to be a class I can use for any script...
5
1858
by: Coder-X | last post by:
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 ?
1
2374
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 Note, all the examples are in C++ but you can get through them with a little work.
4
1928
by: Frazer | last post by:
hi are there any good samples illustrating design patterns in C#? builder, adapter, facade etc. i found a few but the reviews of that article were bad. eg http://www.codeproject.com/csharp/csdespat_1.asp#xx327127xx thnx
4
2430
by: Tarun Mistry | last post by:
Hi all, I have posted this in both the c# and asp.net groups as it applies to both (apologies if it breaks some group rules). I am making a web app in asp.net using c#. This is the first fully OO application I will be making, also my first .NET application, so im looking for any help and guidance. Ok, my problems are todo with object and database abstraction, what should i do.
2
2606
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 recommendation for "Head First Design Patterns" book, but it's aimed aimed at Java developers. I'd rather have a book that has a "For Dummies" readability that that hopefully exploits C# and .NET features and (oh, please, please, please) includes a CD...
22
4731
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. Also describes implementation via ChangeManager (Mediator + Singleton) 2) Pattern hatching by John Vlissides Describes Observer's implementation via Visitor Design Pattern. 3) Design Patterns Explained by Alan Shalloway and James Trott
23
2381
by: JoeC | last post by:
I am a self taught programmer and I have figured out most syntax but desigining my programs is a challenge. I realize that there are many ways to design a program but what are some good rules to follow for creating a program? I am writing a map game program. I created several objects: board object that is an array of integers each number 0-5 is a kind of terrain, a terrain object that is an array of terrain types and each number of...
10
3671
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 classes talk to front-end directly. Do I need to use any design pattern in this? or what kind of design pattern is this?
0
8968
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8787
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9473
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9208
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6750
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4569
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4824
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3279
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2744
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.