Joe, I was hesitating to jump onto the beta MG:U because this is such a major deal for my client, and MG:U is still beta. I honestly haven't even downloaded the Unity release for only that reason, and went with the lately 1.x release. I followed along Ray Camden's Model Glue series, and I have got most of my needs mapped out in Transfer now and that is running great under my MG 1.x site. Do you think I should evaluate the MG:U software (which from my understanding uses Reactor instead of Transfer)? I don't have any production code written yet, its all been test cases and design work so far. Are there any production sites out there running unity under high traffic?
Chris -----Original Message----- From: Joe Rinehart [mailto:[EMAIL PROTECTED] Sent: Thursday, May 10, 2007 9:36 AM To: CF-Talk Subject: Re: MG + Transfer for multiple sites from same code folder Hey Chris, If you're on the MG 2.0 code base (Unity), use two different ColdSpring.xml files to configure the application for the context - just edit index.cfm to switch which one to use based on host, etc. -Joe On May 10, 2007, at 8:44 AM, Peterson, Chris wrote: > I am writing my first site using MG and Transfer ORM. > > I want to serve 2 sites with similar code bases and many shared > functions, but which pull from separate databases. In my > application.cfc file, I have a cfswitch on #lcase(trim > (cgi.HTTP_HOST))#, then I check www.sitename.com, or sitename.com, and > initialize my cfapplication tag, as well as my singleton for transfer > (each site has its own transfer config files). Is there anything > wrong with doing it this way, should I totally separate my code base > (which I don't want to do for ease up management / update purposes) or > will this run well? > This > is a very high traffic site, and I cant wait to take advantage of > Transfer and MG's caching mechanisms. > > Chris > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion MX7 and Flex 2 Build sales & marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277645 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4