On Thursday, Feb 6, 2003, at 15:00 US/Pacific, Bryan Stevenson wrote: > Personally I'd like to see how/if the default directory for CFC > storage can > be changed (after install). For example I don't want to stuff all my > CFCs > used for remoting in the CFusionMX/wwwroot folder (or sub-dirs off that > folder).
Since Flash Remoting is "similar" to Web Services, your remote CFCs need to be web-accessible. Read my article on Macromedia's Designer & Developer Center about Design Patterns for Flash Remoting (it's linked from the Architecture topic page - I'm on BART and don't have the link handy, sorry!). That explains why the Facade pattern is a good idea for Flash Remoting (and Web Services): you build your application CFCs and put them outside the web root, then you build specific 'service' facades - in the web root - that expose the appropriate API to Flash Remoting (or Web Services). This allows you to ensure that clients (Flash movies, 3rd party sites) can only access the facilities you want them to. Remember that when you expose a CFC as a Flash Remoting service you are also effectively publishing it as a Web Service for everyone to use. Using a facade allows you much better control of your API. Sean A Corfield -- Director, Architecture Web Technology Group -- Macromedia, Inc. tel: (415) 252-2287 -- cell: (415) 717-8473 aim/iChat: seancorfield -- http://www.macromedia.com An Architect's View -- http://www.macromedia.com/go/arch_blog ColdFusion MX and JRun 4 now available for Mac OS X! http://www.macromedia.com/go/cfmxosx ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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 Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

