Meaningless Drivel is fun!*
The moose likes OO, Patterns, UML and Refactoring and the fly likes Pattern stories & screen play ..... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "Pattern stories & screen play ....." Watch "Pattern stories & screen play ....." New topic
Author

Pattern stories & screen play .....

aadhi agathi
Ranch Hand

Joined: Apr 29, 2002
Posts: 263
How to "learn" a technical book . not read.
Though, the first line belongs here!!
my experiments:
=============
1)Try to edit the book, say if its pdf copy into some word processor and edit it .
make your won notes like:-
a) "What the hell does this mean", for too abstract a sentance/topic.
2)Create your own examples.
its will be very much helpful, say,while reading Patterns.
3)relate the examples with some existing/working modal.
consider note 2, after reading a Decorator Pattern, i will relate it with the IO stream classes. say byte,char,String are reperesentors while Buffering,Conversioning are decorators.
Additional query:
Where/how would i be forming a study group to discuss patters. IS something already there???
:roll:
Help!urgent!!save me!!! life or death!!!
[ April 10, 2003: Message edited by: aadhi agathi ]

Aadhi
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
I learned Design Patterns by going through the GOF book and writing a Java example for every pattern.


Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Tony Alicea
Desperado
Sheriff

Joined: Jan 30, 2000
Posts: 3222
    
    5
Do you have that on a Web page somewhere...?
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
Nope. Just on scraps of paper in a desk drawer.
aadhi agathi
Ranch Hand

Joined: Apr 29, 2002
Posts: 263
Originally posted by Thomas Paul:
I learned Design Patterns by going through the GOF book and writing a Java example for every pattern.

Wow! that's what i am trying to do. i want more domain related examples so that i can really understand the applicability of a pattern under a given domain.

Say, for the Decorator pattern, i will have the VisaulComponent hierarchy (example, PageVisualCompoent) and a Decorator Hierarchy
(BorderVisualComponentDecorator, FrameVisualComponentDecorator) etc. The Decorator itself have to derive from the VisualCompoent and have a "contained" VisualCompoent. The method in the decorator will be something like
[code]
visualcompoent.operation();
//this will decorate the visual compoent
extraOperation()
[code]
i have the book non-software_design_patterns. But i am looking for different views on how a particular pattern can be used under different domains [say a Decorator pattern usage in Finance domain].
according to my understanding, it will attach new responsibilities to an object dynamically provided the given responsiblities can be done in any order.
the visualComponent example makes me understand the concept. But i want to know the applicability in different domain concepts.
Does my need makes sense
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
This sounds a little too meaningful for MD. Moving to the Patterns forum.


"JavaRanch, where the deer and the Certified play" - David O'Meara
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Two very interesting links on the subject are
A Learning Guide To Design Patterns
and
Design Patterns Playing Cards


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
aadhi agathi
Ranch Hand

Joined: Apr 29, 2002
Posts: 263
Thanks much Ilja, yes i am looking for something like the study group. this will be useful to remeber the pattern[what is what]. it won't give an overview of the pattern in business context.
I have tried google and throws nothing useful. am surprised that any thing like x+pattern+domain doesnt thrhow any sueful example
[say VisualComponent for Decorator]
what i am looking for is something like this.
please forgive my ignorance on the actual processing of a credit/loan. please comment.

then i will say

[ April 10, 2003: Message edited by: aadhi agathi ]
aadhi agathi
Ranch Hand

Joined: Apr 29, 2002
Posts: 263
Originally posted by Ilja Preuss:
Two very interesting links on the subject are
A Learning Guide To Design Patterns

Ilga, Thanks for pointing out. This link has induced me the thought of starting the topic
Actually, i have borrowed the "learn" from here . But it dicuss more about how you learn something , so that you wont forget. But i am looking for the applicability in real terms.
[note though that "real" has been polluted in s/w centric world].
please dont misunderstand that i want the actual source code. . Just lend me the concepts whether implemented, just hiding in your mind, or any useful thoughts [like, i was wondering if the decorator may throw an Exception, which the component is decorates doesnt throw, then ]
aadhi agathi
Ranch Hand

Joined: Apr 29, 2002
Posts: 263
Originally posted by Cindy Glass:
This sounds a little too meaningful for MD. Moving to the Patterns forum.

Cindy, thank you , i and more importantly, the post landed safely.
pls acknowledge on convenience basis
[ April 10, 2003: Message edited by: aadhi agathi ]
aadhi agathi
Ranch Hand

Joined: Apr 29, 2002
Posts: 263
Looking for your sparking feedbacks!!!
i am feeling like starting different threads for different patterns and let the team post whatever example comes to their mind.
[ not only s/w pattern , real time patterns included. ] Though, i dont know whether something of this sort already exists :roll: . I still feel that there needs to some very specific threads[not new message board] for patterns. like statergy pattern=> Real world examples i come across
decorator pattern=> Real world examples i come across
looking for anything!
[ April 10, 2003: Message edited by: aadhi agathi ]
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
aadhi,
Could you please edit the original post in this topic and give this a meaningful thread name. That one was appropriate for Meaningless Drivel but in this forum it is sort of out of place.
Just click the little pad and pencil icon on the top post.
Thanks,
Cindy
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Originally posted by aadhi agathi:
i am feeling like starting different threads for different patterns and let the team post whatever example comes to their mind.
[ not only s/w pattern , real time patterns included. ] Though, i dont know whether something of this sort already exists :roll:

What you are looking for sounds a lot like the Pattern Stories Wiki!
Another good resource on patterns in general is the Portland Pattern Repository...
aadhi agathi
Ranch Hand

Joined: Apr 29, 2002
Posts: 263
Hi Ilja,
Thanks for the links. not satisfied with it.
To quote peter(one of my favorites here).
though i am not, i want to be...

Originally posted by Peter den Haan:
I'm a pedantic perfectionist and proud of it

I am going to keep this thread as the master index and planning to add sub-links for each pattern and provide the link here .
Here we go ,
Structural pattern
==================
1.Decorator Pattern stories & screen play .....
2.Adapter Pattern stories & screen play .....
Architecural Pattern
====================
1.Pipes and Filter Pattern stories & screen play ..... ,
Please note that i want this to be as a group forum wherein we should go to the next level from "What is what" . looking to know what is the next level. Hopefuly, we will come out to know what's the next level.
Please help me to carry this to the next level!!
[ April 11, 2003: Message edited by: aadhi agathi ]
aadhi agathi
Ranch Hand

Joined: Apr 29, 2002
Posts: 263
Originally posted by Cindy Glass:
Could you please edit the original post in this topic and give this a meaningful thread name.

done!! thanks for pointing out.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Pattern stories & screen play .....