: RE: RE: Storing Queries in Application Scope
Hi Joe,
The reason for using the duplicate() function to copy data between the
request and application scopes is that creating a pointer to an application
scope query in the request scope, i.e.
cflock scope=application ...
cset request.myquery
Hi Issac,
I wasnt aware you need to lock everything with poniter scoping
method to the application. I will test this anyways. Thanks
No worries. It's a common mistake... I don't think I actually realized it
until I started turning on required checking on my development server
PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 13 July 2002 23:56
To: CF-Talk
Subject: RE: RE: RE: Storing Queries in Application Scope
Hi Joe,
The reason for using the duplicate() function to copy data
between the request and application scopes is that creating a
pointer to an application scope
Joe
Are you saying if i' copy a session var to the request
scope simply using cfset request.var = session.var ,
because their both complex datatypes i'm still only
creating a pointer and actually need to use the
duplicate function?
Actually those were my comments to Joe, but yes, using
datasource=MyDB
Select Field1, Field2 .. from MyTable
/cfquery
Joe
Certified Advanced ColdFusion Developer
[EMAIL PROTECTED]
-Original Message-
From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 12, 2002 11:34 AM
To: CF-Talk
Subject: Re: Storing Queries in Application Scope
-Talk
Subject: RE: Storing Queries in Application Scope
Using the duplicate() arent you actually creating a DEEP DUPLICATE of the
structure.
So you have the query in APPLICATION scope and then in REQUEST scope...
taking
up MEMORY?
Why cant this just be done in the Request Scope and avoid LOCKING
Hi Joe,
Yes, your assertion is absolutely correct: using duplicate to copy data between the
application and request scopes does mean having 2 ( or more ) coppies of the same data
taking up space in different places in memory ( though my understanding is that the
request scope variable memory
Advanced ColdFusion Developer
[EMAIL PROTECTED]
-Original Message-
From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]]
Sent: Saturday, July 13, 2002 4:30 PM
To: CF-Talk
Subject: RE: RE: Storing Queries in Application Scope
Hi Joe,
Yes, your assertion is absolutely correct: using duplicate
]]
Sent: Saturday, July 13, 2002 3:09 PM
To: CF-Talk
Subject: RE: RE: Storing Queries in Application Scope
Hi Issac,
Your are right as well..Right tool for the right Job. I
wonder if it
would be a
better solution to NOT Duplicate the Structure like
cflock type=readonly
Yes... the point is to avoid locking every where else..
-Original Message-
From: Kwang Suh [mailto:[EMAIL PROTECTED]]
Sent: Saturday, July 13, 2002 6:16 PM
To: CF-Talk
Subject: RE: RE: Storing Queries in Application Scope
This wouldn't work.
If you're just doing a declarative
Hi Joe,
The reason for using the duplicate() function to copy data between the request and
application scopes is that creating a pointer to an application scope query in the
request scope, i.e.
cflock scope=application ...
cset request.myquery = application.myquery
/cflock
defeats the
You'd still need to lock with the method you suggested.
-Original Message-
From: Joe Bastian [mailto:[EMAIL PROTECTED]]
Sent: Saturday, July 13, 2002 4:37 PM
To: CF-Talk
Subject: RE: RE: Storing Queries in Application Scope
Yes... the point is to avoid locking every where else
Why can I not just reference my queries at
application.[queryName].[value] throughout my
application?
You can. This is actually described near the bottom of the technote. I'm not
sure why the writer bothered with all that copying queries to arrays stuff
at the top.
Dave Watts, CTO, Fig
-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 12, 2002 10:31 AM
To: '[EMAIL PROTECTED]'
Cc: Bogesdorfer, Dan
Subject: RE: Storing Queries in Application Scope
Why can I not just reference my queries at
application.[queryName].[value] throughout my
It seems as if it applies only to CFFORM? Is this correct?
I stay away from using CFFORM for my own reasons. Can this
be used in regular html forms?
If you have a query that's stored in an Application variable, you can
reference that query in any place you could reference any other query,
No reason at all.
Depending on your ColdFusion version:
1) You may want to investigate the use of ColdFusions built in query
cacheing as well
2) Remember to lock all access to application scope variables.
Cheers
From: Bogesdorfer, Dan [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: CF-Talk
: mark brinkworth [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 12, 2002 10:34 AM
To: CF-Talk
Subject: Re: Storing Queries in Application Scope
No reason at all.
Depending on your ColdFusion version:
1) You may want to investigate the use of ColdFusions built in query
cacheing as well
2) Remember
Dave Watts wrote:
Why can I not just reference my queries at
application.[queryName].[value] throughout my
application?
You can. This is actually described near the bottom of the technote.
I'm not
sure why the writer bothered with all that copying queries to arrays
stuff
at the top.
Subject: Re: Storing Queries in Application Scope
Dave Watts wrote:
Why can I not just reference my queries at
application.[queryName].[value] throughout my
application?
You can. This is actually described near the bottom of the
technote.I'm not
sure why the writer bothered with all
- Original Message -
From: [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, July 12, 2002 11:21 AM
Subject: Re: Storing Queries in Application Scope
*sniff sniff* ahh, the good old CF3 days, back when there were a
zillion restrictions on cfoutput Pound signs everywhere
No reason at all.
Depending on your ColdFusion version:
1) You may want to investigate the use of ColdFusions built in query
cacheing as well
2) Remember to lock all access to application scope variables.
I'm told that locking isn't necessary in CFMX although I expect it will be a
while
Yup now we're at cfmx which cf5 still is faster then
though mx does alot of neat things 5 doesn't. Maybe
someday someone can make J2EE run a little faster lol.
I've heard 2 things about the speed of MX ...
1) that it's inherently much faster than CF5
2) that code optimized for CF5
Dealey [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, July 12, 2002 11:43 AM
Subject: Re: Storing Queries in Application Scope
Yup now we're at cfmx which cf5 still is faster then
though mx does alot of neat things 5 doesn't. Maybe
someday someone can make J2EE run a little
Really? Our CFMX smokes any of our CF5 installs! You sure you don't have
debug on? ;-)
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 12, 2002 11:27 AM
To: CF-Talk
Subject: Re: Storing Queries in Application Scope
Yup now we're at cfmx which
To: CF-Talk
Subject: RE: Storing Queries in Application Scope
Really? Our CFMX smokes any of our CF5 installs! You sure you don't
have
debug on? ;-)
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 12, 2002 11:27 AM
To: CF-Talk
Subject: Re
are everone
elses thoughts?
Douglas Brown
Email: [EMAIL PROTECTED]
- Original Message -
From: Matt Liotta [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, July 12, 2002 10:44 AM
Subject: RE: Storing Queries in Application Scope
It really depends on how your application
]]
Sent: Friday, July 12, 2002 1:45 PM
To: CF-Talk
Subject: RE: Storing Queries in Application Scope
It really depends on how your application is put together. If you
followed some of the standard ways CF applications were put together,
then CFMX will smoke CF 5. However, if you had taken the time
: [EMAIL PROTECTED]
-Original Message-
From: Douglas Brown [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 12, 2002 10:54 AM
To: CF-Talk
Subject: Re: Storing Queries in Application Scope
This really is a problem with upgrading to MX. I would hate to
re-write
and
entire application just
This really is a problem with upgrading to MX. I would hate
to re-write and entire application just because MX does not
seem to play well with CF5 code. I have seen so many posts
regarding problems people are having with MX and am wondering
if I should just wait until a SP comes out for
elses thoughts?
Douglas Brown
Email: [EMAIL PROTECTED]
- Original Message -
From: Matt Liotta [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, July 12, 2002 10:44 AM
Subject: RE: Storing Queries in Application Scope
It really depends on how your application
for
it. What are everone elses thoughts?
Douglas Brown
Email: [EMAIL PROTECTED]
- Original Message -
From: Matt Liotta [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, July 12, 2002 10:44 AM
Subject: RE: Storing Queries in Application Scope
It really depends on how your
Thanks Ben
Coming from you, that gives me a little more confidence.
Douglas Brown
Email: [EMAIL PROTECTED]
- Original Message -
From: Ben Forta [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, July 12, 2002 11:06 AM
Subject: RE: Storing Queries in Application Scope
Ben,
What about 3rd party upgrades...? Example given: Axis - Are those being
released in the form of a patch or perhaps instructions on how to do it?
Same thing with the jre?
Just curious.
~Todd
On Fri, 12 Jul 2002, Ben Forta wrote:
Douglas,
Well, if you are planning to wait for an
[mailto:[EMAIL PROTECTED]]
Sent: Friday, July 12, 2002 10:57 AM
To: CF-Talk
Subject: RE: Storing Queries in Application Scope
However, if you had taken the time to write applications
that were designed to smoke every other application server
on the market with CF 5, you are pretty much
Ben Forta wrote:
Douglas,
Well, if you are planning to wait for an SP you could end up waiting for
a long long time, there is no SP scheduled at this time.
And while there have been posts here about problems upgrading, realize
that there are a couple of thousand subscribers to this list
954.360.9022 X159
ICQ 417645
- Original Message -
From: Ben Forta [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, July 12, 2002 2:06 PM
Subject: RE: Storing Queries in Application Scope
Douglas,
Well, if you are planning to wait for an SP you could end up waiting for
a long
: Friday, July 12, 2002 2:06 PM
Subject: RE: Storing Queries in Application Scope
Douglas,
Well, if you are planning to wait for an SP you could end up waiting for
a long long time, there is no SP scheduled at this time.
And while there have been posts here about problems upgrading, realize
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 12, 2002 2:07 PM
To: CF-Talk
Subject: RE: Storing Queries in Application Scope
Ben,
What about 3rd party upgrades...? Example given: Axis - Are those being
released in the form of a patch or perhaps
Forta [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 12, 2002 11:23 AM
To: CF-Talk
Subject: RE: Storing Queries in Application Scope
Todd,
I was in Newton this week and spent some time with the CF team, they
are
reviewing this right now. A service pack is not out of the question,
but
as I
-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 12, 2002 2:07 PM
To: CF-Talk
Subject: RE: Storing Queries in Application Scope
Ben,
What about 3rd party upgrades...? Example given: Axis - Are those being
released in the form of a patch or perhaps instructions on how
.
--- Ben
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 12, 2002 2:07 PM
To: CF-Talk
Subject: RE: Storing Queries in Application Scope
Ben,
What about 3rd party upgrades...? Example given: Axis - Are those being
released
What about 3rd party upgrades...? Example given: Axis - Are
those being released in the form of a patch or perhaps
instructions on how to do it?
Unfortunately, this appears to be more difficult than just dropping in the
new Axis jar over the old one. Admittedly, I don't really know what's
No... he's saying that rather than having to sit and
install all the patches. All we have to do is drop a
.jar file in a directory (and probably hiccup the service)
and voila.. Just like us Apach'er had to do for the
2.0.39 hotfix.
But, in all honesty, that's all that was necessary for
At 02:19 PM 7/12/2002 -0400, you wrote:
Wow I've been thinking about something.
Since MM took over Allaire we haven't had /any/ SP's for Coldfusion.
Either that says the products are perfect or they don't give a damn lol.
Well, CF5 was really close to perfect.
I seem to remember Ben
definitive.
--- Ben
-Original Message-
From: Matt Liotta [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 12, 2002 2:31 PM
To: CF-Talk
Subject: RE: Storing Queries in Application Scope
Apache Axis is supposed to be at 1.0 by the end of the month or early
August. Any chance we will see a hotfix
1:45 PM
To: CF-Talk
Subject: RE: Storing Queries in Application Scope
It really depends on how your application is put together. If you followed
some of the standard ways CF applications were put together, then CFMX will
smoke CF 5. However, if you had taken the time to write applications
configurations (with
session replication - sweet). JRun4 is a sweet machine...and CFMX is built
on it.
Cheers,
Stace
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 12, 2002 2:19 PM
To: CF-Talk
Subject: Re: Storing Queries in Application Scope
Wow
: Friday, July 12, 2002 12:39 PM
To: CF-Talk
Subject: RE: Storing Queries in Application Scope
I can't say I agree there...I'm sure there are instances of this side
effect...it's just I haven't seen it yet. At the moment all our apps
are
still CF5 code base aside from the current project
Manager Fayetteville ColdFusion User Group
http://www.fcfug.org
-Original Message-
From: Matt Liotta [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 12, 2002 4:12 PM
To: CF-Talk
Subject: RE: Storing Queries in Application Scope
That seems awfully contradictory. On the one hand you
Bingo!
--- Ben
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 12, 2002 2:40 PM
To: CF-Talk
Subject: RE: Storing Queries in Application Scope
Brian,
No... he's saying that rather than having to sit and install all the
patches. All we have
-
From: Matt Liotta [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 12, 2002 4:12 PM
To: CF-Talk
Subject: RE: Storing Queries in Application Scope
That seems awfully contradictory. On the one hand you disagree, but on
the other you acknowledge that there must surely be instances
Makes sense to me, I'll ask.
--- Ben
-Original Message-
From: Matt Liotta [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 12, 2002 2:31 PM
To: CF-Talk
Subject: RE: Storing Queries in Application Scope
Apache Axis is supposed to be at 1.0 by the end of the month or early
August. Any
Subject: Re: Storing Queries in Application Scope
Wow I've been thinking about something.
Since MM took over Allaire we haven't had /any/ SP's for Coldfusion.
Either that says the products are perfect or they don't give a damn lol.
I mean I know they have all those hotfixes when we bitch enough to get
, July 12, 2002 11:53 AM
To: CF-Talk
Subject: RE: Storing Queries in Application Scope
Bill,
That was a long time ago, small start-ups can function differently.
Plus, the economy back then made doing highly unprofitable things
possible (heck, it was even encouraged g).
The reason CF5 has no service
I'm doing a similar thing except I use request (so no locking)
Is there any problems using request this way?
Seamus
At 12:31 am 13/07/2002 , you wrote:
Why can I not just reference my queries at
application.[queryName].[value] throughout my
application?
You can. This is actually
55 matches
Mail list logo