473,698 Members | 2,588 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 1609
"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
1986
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
1856
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
2373
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
1925
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
2428
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
2601
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
4720
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
2376
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
3666
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
8609
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
9169
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...
1
8899
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8871
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...
0
7738
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6528
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
5861
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3052
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
2335
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.