Understanding Interfaces and Polymorphism
I’ve been using Interfaces a couples of time now when needed but I never fully understood those down-sized Class construct wannabes. I knew they are useful when it is required to have an universal type for different objects but I haven’t fully grasped to scope why they are so useful otherwise. Also the fact that they can’t contain properties and only public method declarations confused me.
What can I say? This small chapter explains it extremely easy and logically. I’ve read EAS 2.0 and Head First but this sample chapter made me getting it for the first time really! It also explains about the difference of Abstract Classes and Interfaces, something that has not been mentioned in any other ActionScript book I’ve read so far.
Full respect to the author! If the rest of the book is of similar quality and clarity I shall be damned if I will not be an OOP Pattern Master in near future!
On a side note, the sample books are being downloaded of what looks like an Apollo app. I’m not sure how far this is related to Apollo but it works like a standalone eBook reader is downloaded and installed and sample chapters open in it.

2 Responses to “Understanding Interfaces and Polymorphism”
By savvas
on Nov 18, 2006 | Reply
Hello there..I’m waiting for this book too here in Greece via Amazon but i didn’t know there was a chapter in labs..Thanks!
By C4RL05
on Nov 19, 2006 | Reply
It does behave pretty much like Apollo.
On the pc, an icon appears on the desktop and a new program entry is created. It works offline, without opening the browser, and you’ve got to go to the control panel to delete it.
Also, the sample chapter is a drm protected pdf (ActionScriptChap.pdf).