Re: MG + Transfer for multiple sites from same code folder

2007-05-11 Thread Joe Rinehart
Hey Chris,

Yep, there are a few sites running on the Unity core.

MG:U supports both Reactor and Transfer - if you grab the latest from  
SVN, it's just a matter of commenting in the right part of your app's  
ColdSpring config file.

-Joe

On May 10, 2007, at 1:03 PM, Peterson, Chris wrote:

 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 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

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


RE: MG + Transfer for multiple sites from same code folder

2007-05-11 Thread Peterson, Chris
Yea, after digging around and changing my point of view a few times, I
have MG:U manhandled into using the Transfer adapter.  Right now I am
stuck on figuring out how to actually call a scaffold object (they
auto-generated, but I don't know how to invoke them)

Thanks to everyone for your help!

Chris 

-Original Message-
From: Joe Rinehart [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 11, 2007 11:15 AM
To: CF-Talk
Subject: Re: MG + Transfer for multiple sites from same code folder

Hey Chris,

Yep, there are a few sites running on the Unity core.

MG:U supports both Reactor and Transfer - if you grab the latest from
SVN, it's just a matter of commenting in the right part of your app's
ColdSpring config file.

-Joe

On May 10, 2007, at 1:03 PM, Peterson, Chris wrote:

 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

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

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


RE: MG + Transfer for multiple sites from same code folder

2007-05-11 Thread Peterson, Chris
Haha, ok.  I went from an example of Transfer that generated a package,
then an object inside of it, so I have to call it like this:

Index.cfm?event=user.user.list

Got it now, I am LOVING scaffolds, this will make generating my simple
CRUD admin interface trivial!

Chris

-Original Message-
From: Peterson, Chris [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 11, 2007 1:25 PM
To: CF-Talk
Subject: RE: MG + Transfer for multiple sites from same code folder

Yea, after digging around and changing my point of view a few times, I
have MG:U manhandled into using the Transfer adapter.  Right now I am
stuck on figuring out how to actually call a scaffold object (they
auto-generated, but I don't know how to invoke them)

Thanks to everyone for your help!

Chris 

-Original Message-
From: Joe Rinehart [mailto:[EMAIL PROTECTED]
Sent: Friday, May 11, 2007 11:15 AM
To: CF-Talk
Subject: Re: MG + Transfer for multiple sites from same code folder

Hey Chris,

Yep, there are a few sites running on the Unity core.

MG:U supports both Reactor and Transfer - if you grab the latest from
SVN, it's just a matter of commenting in the right part of your app's
ColdSpring config file.

-Joe

On May 10, 2007, at 1:03 PM, Peterson, Chris wrote:

 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



~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

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


Re: MG + Transfer for multiple sites from same code folder

2007-05-10 Thread Joe Rinehart
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

 

~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

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


RE: MG + Transfer for multiple sites from same code folder

2007-05-10 Thread Peterson, Chris
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