Thanks Mark, that actually makes perfect sense.

> -----Original Message-----
> From: Mark A. Kruger - CFG [mailto:mkruger@;cfwebtools.com]
> Sent: Friday, October 25, 2002 11:26 AM
> To: CF-Talk
> Subject: RE: CFC in .NET
> 
> Nick,
> 
> Cold fusion doesn't use constructors in a traditional sense, but the
> concept
> still applies to the invocation. You are instantiating a component or
> object
> and you will use it's methods and properties when it's instantiated.
You
> can
> even make the object persistent using application and/or session
scopes
> (There's a great article on persistence on desdev or CFDJ - I think it
was
> Ben who wrote it).  To put it another way, when you invoke a web
service
> the
> platform you are on uses the WSDL file. The file describes the class,
it's
> properties, methods and interfaces.
> 
> The platform is able to use the WSDL information to create a "stub" or
a
> "proxy class" that acts (to the code) as if the class is local. In
other
> words it acts as any other class - or component - acts for that
platform.
> It's basically the same concept as an RPC call - without the
proprietary
> baggage (theoretically <g>).  In fact, that is the way web services
are
> often described: "the ability to make an "RPC-like" calls across
platforms
> over standard protocols (XML and http)". So if a platform uses
> constructors,
> a constructor for the class looks similar to any other constructor.
The
> internals are "masked" from the code by the proxy - giving you the
> buzzword
> pillars of OO (again... theoretically) "encapsulation and
abstraction".
> Again, the process is applied differently on different platforms.
> 
> -mk


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Reply via email to