RE: [Flashcoders] OT: Design patterns

2006-02-23 Thread Bjorn Schultheiss
One way to describe design patterns is to separate the responsibility of
classes in your application, therefore making decoupling possible.
Eg MVC separates the model, view and controller, potentially promoting
reusability, and the ability to work on either model, view or controller
independently of one another.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Roman Blöth
Sent: Friday, 24 February 2006 3:06 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] OT: Design patterns

Anggie Bratadinata schrieb:
> Stephane, that's a good article. 
[..]
> Take a look at this interesting interview of Erich Gamma about Design 
> Patters (How to use):
>>> http://blog.itpub.net/post/1087/48817

And - if not already mentioned here - think about buying the book "Head 
First - Design Patterns" by O'Reilly - definitely THE book for learning 
and fully understanding Design Patterns; there's nothing like this one 
out there (except maybe the other "Head First"-books). Get a free sample 
chapter (PDF) at ora.com.


Best regards,
Roman.

-- 

---
 gosub communications gmbh | fredersdorfer str. 10  | 10243 berlin
t [030] 29 36 39 1 - 43 | f [030] 29 66 88 84 | http://www.gosub.de
---

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] OT: Design patterns

2006-02-23 Thread Anggie Bratadinata

I'm still waiting for that book (from a nearby bookstore).
Maybe next month :(

--
Anggie Bratadinata
Web|Graphic|Flash
Jl. Raya Langsep 21
Malang - East Java
I N D O N E S I A
http://design.ibshastautama.com



Roman Blöth wrote:

Anggie Bratadinata schrieb:

Stephane, that's a good article. 


[..]

Take a look at this interesting interview of Erich Gamma about Design 
Patters (How to use):



http://blog.itpub.net/post/1087/48817



And - if not already mentioned here - think about buying the book "Head 
First - Design Patterns" by O'Reilly - definitely THE book for learning 
and fully understanding Design Patterns; there's nothing like this one 
out there (except maybe the other "Head First"-books). Get a free sample 
chapter (PDF) at ora.com.



Best regards,
Roman.


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] OT: Design patterns

2006-02-23 Thread Roman Blöth

Anggie Bratadinata schrieb:
Stephane, that's a good article. 

[..]
Take a look at this interesting interview of Erich Gamma about Design 
Patters (How to use):

http://blog.itpub.net/post/1087/48817


And - if not already mentioned here - think about buying the book "Head 
First - Design Patterns" by O'Reilly - definitely THE book for learning 
and fully understanding Design Patterns; there's nothing like this one 
out there (except maybe the other "Head First"-books). Get a free sample 
chapter (PDF) at ora.com.



Best regards,
Roman.

--

---
gosub communications gmbh | fredersdorfer str. 10  | 10243 berlin
t [030] 29 36 39 1 - 43 | f [030] 29 66 88 84 | http://www.gosub.de
---

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] OT: Design patterns

2006-02-23 Thread Anggie Bratadinata

Stephane, that's a good article.

Thanks everyone,

--
Anggie Bratadinata
Web|Graphic|Flash
Jl. Raya Langsep 21
Malang - East Java
I N D O N E S I A
http://design.ibshastautama.com



Martin Wood wrote:

Take a look at this interesting interview of Erich Gamma about Design
Patters (How to use):

http://blog.itpub.net/post/1087/48817



thats really good.

definitely worth reading for anyone with questions about design patterns.


:)

Martin.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] OT: Design patterns

2006-02-23 Thread Martin Wood

Take a look at this interesting interview of Erich Gamma about Design
Patters (How to use):

http://blog.itpub.net/post/1087/48817


thats really good.

definitely worth reading for anyone with questions about design patterns.


:)

Martin.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] OT: Design patterns

2006-02-23 Thread Stéphane Bebrone
Hi Anggie,

Take a look at this interesting interview of Erich Gamma about Design
Patters (How to use):

http://blog.itpub.net/post/1087/48817

Greets,
Stéphane.

2006/2/23, Troy Rollins <[EMAIL PROTECTED]>:
>
>
> On Feb 23, 2006, at 1:07 AM, Manuel Saint-Victor wrote:
>
> > Aangie- I'm a noob also and I 've been trying to figure out the
> > role of
> > design pattterns.
>
> Not too long ago, I couldn't see it either. But as you go along with
> a few advanced projects, you begin to realize where they would be
> useful. I'm only beginning out with them but I'm already seeing
> improvements in technique... now I KNOW where to place (and later
> find) various types of functionality. I KNOW that if I want to add
> additional functionality, I know where to "tap in" to my code.
>
> --
> Troy
> RPSystems, Ltd.
> http://www.rpsystems.net
>
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>



--
Regards,
Stéphane Bebrone
--
Flash | ASP.NET | Web Developer
http://weblog.shaoken.be
--
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] OT: Design patterns

2006-02-22 Thread Troy Rollins


On Feb 23, 2006, at 1:07 AM, Manuel Saint-Victor wrote:

Aangie- I'm a noob also and I 've been trying to figure out the  
role of

design pattterns.


Not too long ago, I couldn't see it either. But as you go along with  
a few advanced projects, you begin to realize where they would be  
useful. I'm only beginning out with them but I'm already seeing  
improvements in technique... now I KNOW where to place (and later  
find) various types of functionality. I KNOW that if I want to add  
additional functionality, I know where to "tap in" to my code.


--
Troy
RPSystems, Ltd.
http://www.rpsystems.net


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] OT: Design patterns

2006-02-22 Thread stacey
Design Patterns help you solve problems. You need to have many objects
listening to one, dependant on that one - Observer Pattern might help. You
need extend an object without subclassing - Decorator Pattern might help.
You need one instance only of a class, Singleton comes in handy ( often
people have called it the new global - think that was Keith Peters who
said that). MVC isn't a particular pattern per say, it can be a combo of
patterns ( observer, composite...etc)

Its like anything else, you can probably totally overdo them - its a
matter of knowing what to use when and why. They do help in providing
structure and organization. And if you carry it over into your naming
conventions, its super easy for other people to recognize the approach
you're taking.

This subject is just way too broad for this list :)





> If I don't plan to extend my app. nor there is late requirements to meet
>  then using DP is not necessary?
>
> Thanks Troy,
> --
> Anggie Bratadinata
> Web|Graphic|Flash
> Jl. Raya Langsep 21
> Malang - East Java
> I N D O N E S I A
> http://design.ibshastautama.com
>
>
> Troy Rollins wrote:
>>
>> On Feb 22, 2006, at 11:11 PM, Anggie Bratadinata wrote:
>>
>>> What is the advantage(s) and disadvantage(s) of design patterns? I've
>>> been studying MVC and Singleton patterns but so far I'm not sure how
>>> those can make my software better.
>>
>>
>> They don't necessarily make your software any better.
>>
>> They can probably make your software easier to extend and or maintain.
>>
>> --
>> Troy
>> RPSystems, Ltd.
>> http://www.rpsystems.net
>>
>>
>> ___
>> Flashcoders@chattyfig.figleaf.com
>> To change your subscription options or search the archive:
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>> Brought to you by Fig Leaf Software
>> Premier Authorized Adobe Consulting and Training
>> http://www.figleaf.com
>> http://training.figleaf.com
>>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] OT: Design patterns

2006-02-22 Thread Manuel Saint-Victor
Aangie- I'm a noob also and I 've been trying to figure out the role of
design pattterns.  To tell you truth
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] OT: Design patterns

2006-02-22 Thread Grant Cox
Wouldn't it be great to have a project like that - that actually stays 
on track and doesn't have last minute changes :)


It is never necessary to use design patterns, but they can make your 
project more structured.  More structured usually means easier to 
understand, and easier to modify (as it is more obvious what else will 
be affected by any change).  I would suggest spending time on less 
critical projects to explore using some design patterns, to see how you 
feel about them, and if you find they are useful then keep using them.


When I first started using design patterns (when FAMES kicked off) I 
thought it was important to use "pure" patterns, and got quite stressed 
trying to understand wtf all the patterns actually are and why I should 
be using them.  Now that I have made a few projects (~6) in this fashion 
I am much more laid back - I use the patterns that I understand, 
bastardise others to something I like, and ignore the rest.  We're not 
making works of art here - as long as the project is done to time and 
budget and isn't a complete dog's breakfast then it's fine :)


Regards,
Grant Cox


Anggie Bratadinata wrote:

If I don't plan to extend my app. nor there is late requirements to 
meet then using DP is not necessary?


Thanks Troy,
--
Anggie Bratadinata
Web|Graphic|Flash
Jl. Raya Langsep 21
Malang - East Java
I N D O N E S I A
http://design.ibshastautama.com


Troy Rollins wrote:



On Feb 22, 2006, at 11:11 PM, Anggie Bratadinata wrote:


What is the advantage(s) and disadvantage(s) of design patterns?
I've been studying MVC and Singleton patterns but so far I'm not sure
how those can make my software better.




They don't necessarily make your software any better.

They can probably make your software easier to extend and or maintain.

--
Troy
RPSystems, Ltd.
http://www.rpsystems.net


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] OT: Design patterns

2006-02-22 Thread Anggie Bratadinata
If I don't plan to extend my app. nor there is late requirements to meet 
then using DP is not necessary?


Thanks Troy,
--
Anggie Bratadinata
Web|Graphic|Flash
Jl. Raya Langsep 21
Malang - East Java
I N D O N E S I A
http://design.ibshastautama.com


Troy Rollins wrote:


On Feb 22, 2006, at 11:11 PM, Anggie Bratadinata wrote:


What is the advantage(s) and disadvantage(s) of design patterns?
I've been studying MVC and Singleton patterns but so far I'm not sure
how those can make my software better.



They don't necessarily make your software any better.

They can probably make your software easier to extend and or maintain.

--
Troy
RPSystems, Ltd.
http://www.rpsystems.net


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] OT: Design patterns

2006-02-22 Thread Troy Rollins


On Feb 22, 2006, at 11:11 PM, Anggie Bratadinata wrote:


What is the advantage(s) and disadvantage(s) of design patterns?
I've been studying MVC and Singleton patterns but so far I'm not sure
how those can make my software better.


They don't necessarily make your software any better.

They can probably make your software easier to extend and or maintain.

--
Troy
RPSystems, Ltd.
http://www.rpsystems.net


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] OT: Design patterns

2006-02-22 Thread Anggie Bratadinata

Hi experts,
What is the advantage(s) and disadvantage(s) of design patterns?
I've been studying MVC and Singleton patterns but so far I'm not sure
how those can make my software better.

TIA,
--
Anggie Bratadinata
Web|Graphic|Flash
Jl. Raya Langsep 21
Malang - East Java
I N D O N E S I A
http://design.ibshastautama.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com