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. 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?
"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
> 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
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.
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
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
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
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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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...
|
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 ?
|
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.
|
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
|
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.
| |
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...
|
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
|
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...
|
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?
|
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,...
|
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...
| |
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,...
|
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...
|
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...
|
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...
|
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();...
|
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
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |