On Friday 08 Jun 2007, Brian Kotek wrote:
remote facade generation
I keep seeing references to this, and 'security advisors'.
Is there a good blog post or web page somewhere ?
--
Tom Chiverton
Helping to advantageously promote ubiquitous action-items
on: http://thefalken.livejournal.com
Tom Chiverton wrote, On 6/8/2007 8:50 AM:
On Friday 08 Jun 2007, Joe Lakey wrote:
To use a Config CFC, would I hard-code the settings variables in the
Config CFC file, instantiate it in application scope in
onApplicationStart(), then call application.config.getDSN() (for
example)?
Brian Kotek wrote, On 6/8/2007 2:18 PM:
Philip, questions are good. However, these questions don't really have
any bearing on why you would use ColdSpring. It makes no difference
what my database tables look like, what methods the CFCs have, what
the datasource looks like, what mapping you use
To: cfcdev@cfczone.org
Subject: Re: [CFCDEV] Application.cfc: where to set DSN
I suppose the question here is, why not consolodate them all
in exactly one place: a Config CFC?
From what you said you wouldn't want to set the DSN to
application.dsn in onApplicationStart() becuase then its
On Friday 08 Jun 2007, Joe Lakey wrote:
To use a Config CFC, would I hard-code the settings variables in the
Config CFC file, instantiate it in application scope in
onApplicationStart(), then call application.config.getDSN() (for
example)?
Yeah.
What would be the benefit of this approach
PM
To: cfcdev@cfczone.org
Subject: Re: [CFCDEV] Application.cfc: where to set DSN
I suppose the question here is, why not consolodate them all
in exactly one place: a Config CFC?
From what you said you wouldn't want to set the DSN to
application.dsn in onApplicationStart() becuase
Actually, Brian is spoiled by ColdSpring. I'm spoiled by LightWire. Horses
for courses . . .
On 6/8/07 9:53 AM, Phillip Senn [EMAIL PROTECTED] wrote:
What would be the benefit of this approach
Hello! Brian and Peter are saying
I'm just so spoiled by ColdSpring that I would never build an
On 6/8/07, Phillip Senn [EMAIL PROTECTED] wrote:
Let's cut to the chase and see an example using ColdSpring.
Not much to show really. ColdSpring is actually shockingly easy to use. This
will create your UserService instance. Because you tell ColdSpring that this
CFC requires a Config
On 6/8/07, Phillip Senn [EMAIL PROTECTED] wrote:
Let's cut to the chase and see an example using ColdSpring.
Actually I think this blog entry specifically would interest you since it
describes almost the exact situation we've been talking about in this
thread:
On Friday 08 Jun 2007, Phillip Senn wrote:
Let's cut to the chase and see an example using ColdSpring.
Does no-one read the Blogregator these days :-)
On 6/8/07, Joe Lakey [EMAIL PROTECTED] wrote:
The post about user-dependent DSNs was from someone responding to my
original question. My app uses only one DSN.
Sorry about that, got lost in the shuffle! :-)
To use a Config CFC, would I hard-code the settings variables in the
Config CFC
Very true Peter! I honstely haven't looked at LightWire at all since
ColdSpring does everything I need it to. But I should try to set aside some
time to kick the tires just to see how you approached the problem.
On 6/8/07, Peter Bell [EMAIL PROTECTED] wrote:
Actually, Brian is spoiled by
that I have lots of questions.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian
Kotek
Sent: Friday, June 08, 2007 10:40 AM
To: cfcdev@cfczone.org
Subject: Re: [CFCDEV] Application.cfc: where to set DSN
On 6/8/07, Phillip Senn [EMAIL
Philip, questions are good. However, these questions don't really have any
bearing on why you would use ColdSpring. It makes no difference what my
database tables look like, what methods the CFCs have, what the datasource
looks like, what mapping you use for your component paths, or what the
Hi Joe,
In my view, a DSN is a variable that properly belongs to an
application. Therefore, I'd go with putting it in onApplicationStart,
since by the very nature of its name, implies that you are setting
variables belonging to the application.
Others may view it differently, however.
Sam
Exactly. Set it in onApplicationStart() using an application variable (ie
application.dsn) and then pass that into whatever needs it.
Of course, if you used ColdSpring, you could let it handle all this. ;-)
HTH,
Brian
On 6/7/07, Sammy Larbi [EMAIL PROTECTED] wrote:
Hi Joe,
In my view, a
server. That way if
I ran into any permission problems, it would come out early.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sammy
Larbi
Sent: Thursday, June 07, 2007 12:43 PM
To: cfcdev@cfczone.org
Subject: Re: [CFCDEV] Application.cfc: where to set
Subject: Re: [CFCDEV] Application.cfc: where to set DSN
Hi Joe,
In my view, a DSN is a variable that properly belongs to an
application. Therefore, I'd go with putting it in onApplicationStart,
since by the very nature of its name, implies that you are setting
variables belonging to the application
request.DSN=Application.DSN in my config file that I include in
onRequest()?
Joe
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Sammy Larbi
Sent: Thursday, June 07, 2007 11:43 AM
To: cfcdev@cfczone.org
Subject: Re: [CFCDEV] Application.cfc: where to set
Brian Kotek said the following on 6/7/2007 1:17 PM:
I'm just so spoiled by ColdSpring that I would never build an app
without it. ;-)
Hey, that's my line ;-)
.Peter
You are subscribed to cfcdev. To unsubscribe, please follow the instructions at
http://www.cfczone.org/listserv.cfm
CFCDev is
Of Sammy Larbi
Sent: Thursday, June 07, 2007 11:43 AM
To: cfcdev@cfczone.org
Subject: Re: [CFCDEV] Application.cfc: where to set DSN
Hi Joe,
In my view, a DSN is a variable that properly belongs to an
application. Therefore, I'd go with putting it in
onApplicationStart,
since by the very
: [CFCDEV] Application.cfc: where to set DSN
Hi Joe,
In my view, a DSN is a variable that properly belongs to an
application. Therefore, I'd go with putting it in
onApplicationStart,
since by the very nature of its name, implies that you are setting
variables belonging
to the CF community.
Regards,
Josen
_
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Bell
Sent: Thursday, June 07, 2007 3:44 PM
To: cfcdev@cfczone.org
Subject: Re: [CFCDEV] Application.cfc: where to set DSN
+1. Only thing I put into application.cfc (in terms
23 matches
Mail list logo