On Sunday, Nov 24, 2002, at 04:48 US/Pacific, Dick Applebaum wrote:
> What do you mean by "design patterns" -- that is a term that I am
> unfamiliar with?

http://www.google.com/search?hl=en&ie=ISO-8859-1&q=design+patterns

The Patterns Home Page (http://hillside.net/patterns) is the first link 
and has lots of good information. The "Gang of Four" Design Patterns 
book is also highly recommended:

http://www.corfield.org/index.php?fuseaction=bookstore.main

Under "Hot" Technical Books.

I show how some classic design patterns can be used in ColdFusion here:

http://www.macromedia.com/desdev/articles/facades.html

Shlomy Gantz is working on a Design Patterns for ColdFusion book.

> I have made several attempts to learn Java.
>
> The biggest deterrent, I have found is the long learning curve.

I think the biggest deterrent you're really finding is the OO thought 
processes. Java has very simple *syntax* but the OO nature can make it 
hard to learn for folks with only procedural programming as a reference 
point.

> I was amazed, after several hours of this, I had a complete CF program
> (with CF self documentation and Perl comments) that worked.

Actually, I'm not amazed - this is one of ColdFusion's biggest selling 
points: that it is very easy to learn and it's very easy to get your 
first CF program running.

> But, I was able to learn CF, well enough to be comfortable with it, in
> a few days.

Yes, and I would expect most of us here would say the same - CF has 
certainly been the easiest language I've ever learned.

> If CF had inline Java code, it would allow someone learning Java to
> take a segment of a working CF program and recode that in Java --
> without the need to "learn everything about Java", including its
> theory, structure, syntax documentation, etc., "all at once"

I don't think that would be a good idea. People would not 'learn Java' 
that way, merely learn a different syntax for something they were 
already doing. What's more, they'd have to learn all the complexities 
of how to access CF variables etc from Java in order to translate just 
a small part of their code. Have you looked at the Java code that CFMX 
generates? It's quite complex - because CF is a much higher-level 
language that does a lot of things for you.

> At some point, you would be proficient enough to write entire programs
> (or major portions) as Java servlets, applets, beans JSPs or whatever

I very much doubt that. Sorry. The whole structure of J2EE applications 
is a major learning exercise on its own that has no equivalent in CF 
that you can 'learn by example' from.

> (I don't know what term applies here, and there are so many of them)

That's exactly my point: nothing in CF can actually let you learn these 
things!

Sean A Corfield -- Director, Architecture
Web Technology Group -- Macromedia, Inc.
tel: (415) 252-2287 -- cell: (415) 717-8473
aim: seancorfield -- http://www.macromedia.com
An Architect's View -- http://www.corfield.org/blog/

Introducing Macromedia Contribute. Web publishing for everyone.
Learn more at http://www.macromedia.com/contribute


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Reply via email to