Most of the general ideas are still applicable. The biggest differences that I can think of are:
- All function-local variables must be declared with the "var" keyword - The VARIABLES scope within a CFC represents private data - The VARIABLES scope should be used instead of the THIS scope for object properties to enforce encapsulation - An init() method is the de-facto constructor method - We can now call super.[method] to invoke methods on a superclass. If you can keep those rules in your head as you read (which I realize may be difficult), the majority of the concepts are still valid (composition, polymorphism, etc,). (Yes, I know the variables scope behaves like protected, not private. Yes, I know some people prefer keeping properties in the THIS scope. I kept the list simple because it's already going to be hard enough for him to keep track of it and there's no need to dive into minutiae at this point.) Regards, Brian On Sat, Feb 7, 2009 at 8:06 PM, Mike Soultanian <[email protected]> wrote: > > Hey Everyone, > I just purchased Discovering CFCs by Hal Helms and I already know that > the book is somewhat out of date (Hal told me so). However, what I > really wanted was an introduction to OO and CFCs and this seemed like a > descent starting point. > > I am starting to get further into the book (on page 50 right now) and > I'm starting to see more CFC code. What I wanted to find out is what > stuff is out of date, if it's possible to generalize. Are there any > sites out there that outline the changes since MX? Any suggestions > would be much appreciated! > > Thanks, > Mike > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319027 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

