Some of you might recall that I wrote a tutorial for Object-Ordiented
ColdFusion Programming (OOP) beginners a while back, and now i have
part 2 on line.

The reason for the tutorial in the first place was that I realised
quite a few beginners to OOP were swamped by the language rather than
the concepts.  There were so many new terms to learn, and such a
convoluted maze of explanations that it all became quite overpowering
for me anyway.  Every time I thought i had got my head around it,
some new term would emerge, telling me I still had a lot of learning
to do.   And every new term seemed to require half a dozen more new
terms to explain it.

So I set about trying to explain the OOP concepts without all those
terms.  Explain it in ways that procedural programmers could
understand, and along the way, pick up some of the essential concepts
without all the confusing terminology.

Part 1 of the tutorials set up a simple application, manipulating
records from a database using objects rather than the way you might
have done it in the past.  It showed how to separate out all the
database activity into a separate cfc of its own, how to reuse a form
for multiple purposes, how to make sure that cfcs didnt have to access
any scopes they didnt need to,  and some other concepts too.

Part 2 is now on line at http://afpwebworks.com/index.cfm?pid=111328.
You can download the code and follow along with the tutorial.    This
part introduces the bean - explains one way to build one, what all the
parts do, and rebuilds the application from part 1 using the bean to
hand around the data your applicatoin needs.    At the end of the two
parts, you should be able to build quite sophisticated applications of
your own, you'll be using at least one automatic code generator to
write a lot of the code for you,  you'll be reusing forms, and
understand some of the OOP  language - words like encapsulation,
persistence layer, DAO, etc.

After working through the two easy-to-read tutorials,  you should be
confident in understanding the more sophisticated writing of the OOP
experts, and be less confused by all the terminology.

Let me know what you think of the tutorials.   Perhaps i might write
more if this second one gets as much readership as the first did!

-- 
Cheers
Mike Kear
Windsor, NSW, Australia
Adobe Certified Advanced ColdFusion Developer
AFP Webworks
http://afpwebworks.com
ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310925
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to