I have most of these books and for me the ones that help the most are...
http://www.amazon.com/Essential-ActionScript-3-0/dp/0596526946
http://www.amazon.com/Advanced-ActionScript-3-Design-Patterns/dp/0321426568
http://www.amazon.com/Design-Patterns-Object-Oriented-Addison-Wesley-Professional/dp/0201633612
It's so easy to get confused by the jargon.
An interface is just what is in-between - like the handle on a saucepan.
The interface tells you know what the methods are.
That's it.
So then you know how to get hold of it, talk to it, call it, pick it up.
And if something else has the same set of methods (same interface) then
either one of them can be passed into some generic method (polymorphic -
many forms, same interface) that's expecting an item with certain features.
By the way, I am eternally grateful to you all for the thousands of
comments of yours that enlighten me. Thank you!
John
(mutator)
Ron Wheeler wrote:
Second the recommendation.
Great book - applies to ActionScript easily.
Ron
Steven Loe wrote:
Check out "Head First Design Pattens" (oreilly). It's an easy to
comprehend book on patterns and software design goodness. The book
examples are in Java, so if you can read AS3 you'll be able to read
sample code.
It a great resource to learn not only what interfaces are, but why
and when you want to use them. IMO its made EAS3 *much* easier going.
Moock's interface / pattern explanations make much more sense after
spending some time with Head First Design Pattens.
-Steven Loe
This could seem weird...
But what the hell is an interface!!!???????? I've
read lots of books
and
posts without getting the answer. I bought
"Essential AS3" to read
about
interfaces and he says that helps for multi
inheritance. In other
places I
read that it is a "deal" to ensure that a
class has some methods and
so on.
But what is the real benefit that I can come out with
using
interfaces????
Maybe that is stupidity or I am not smart enough to
get the concept
but
believe me... its is been two years now!!
Please Help!!!
--
Omar M. Fouad - Digital Emotions
http://www.omarfouad.net
This e-mail and any attachment is for authorised use
by the intended
recipient(s) only. It may contain proprietary
material, confidential
information and/or be subject to legal privilege. It
should not be
copied,
disclosed to, retained or used by, any other party. If
you are not an
intended recipient then please promptly delete this
e-mail and any
attachment and all copies and inform the sender. Thank
you.
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders