> Extensions. The normal extension is .cfm, but then there are 
> .cfc files.
> 
> Are there other extensions than these and what are they used for?

No, those are the two extensions used by CF scripts. CFM files are typically
used to render pages, and CFC files are used to define components, which are
somewhat analogous to classes in other languages.

ColdFusion does support other extensions - those used by J2EE web apps - but
you don't use those as a matter of course when writing CF apps.

> Can I call a .cfc file from an form on Post?

You can. Actually, you would call a method defined within a CFC, rather than
just the CFC itself. Your method would then be responsible for rendering the
content of the HTTP response, which would usually contain HTML. Not too many
CF developers do things this way, in my experience. Most CF developers use
CFCs for code that doesn't directly generate output, and CFMs for code that
does generate output.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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

Reply via email to