RE: RE: RE: Storing Queries in Application Scope

2002-07-14 Thread Joe Bastian
: 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

RE: RE: RE: Storing Queries in Application Scope

2002-07-14 Thread S . Isaac Dealey
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

RE: RE: RE: Storing Queries in Application Scope

2002-07-14 Thread Kola Oyedeji
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

RE: RE: RE: Storing Queries in Application Scope

2002-07-14 Thread S . Isaac Dealey
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

RE: Storing Queries in Application Scope

2002-07-13 Thread Joe Bastian
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

RE: Storing Queries in Application Scope

2002-07-13 Thread Mark A. Kruger - CFG
-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

RE: RE: Storing Queries in Application Scope

2002-07-13 Thread S. Isaac Dealey
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

RE: RE: Storing Queries in Application Scope

2002-07-13 Thread Joe Bastian
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

RE: RE: Storing Queries in Application Scope

2002-07-13 Thread Kwang Suh
]] 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

RE: RE: Storing Queries in Application Scope

2002-07-13 Thread Joe Bastian
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

RE: RE: RE: Storing Queries in Application Scope

2002-07-13 Thread info
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

RE: RE: Storing Queries in Application Scope

2002-07-13 Thread Kwang Suh
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

RE: Storing Queries in Application Scope

2002-07-12 Thread Dave Watts
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

RE: Storing Queries in Application Scope

2002-07-12 Thread Bogesdorfer, Dan
-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

RE: Storing Queries in Application Scope

2002-07-12 Thread Dave Watts
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,

Re: Storing Queries in Application Scope

2002-07-12 Thread mark brinkworth
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

RE: Storing Queries in Application Scope

2002-07-12 Thread Bogesdorfer, Dan
: 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

Re: Storing Queries in Application Scope

2002-07-12 Thread Zac Spitzer
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.

Re: Storing Queries in Application Scope

2002-07-12 Thread ksuh
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

Re: Storing Queries in Application Scope

2002-07-12 Thread Bill Wheatley
- 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

Re: Storing Queries in Application Scope

2002-07-12 Thread S . Isaac Dealey
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

Re: Storing Queries in Application Scope

2002-07-12 Thread S . Isaac Dealey
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

Re: Storing Queries in Application Scope

2002-07-12 Thread Bill Wheatley
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

RE: Storing Queries in Application Scope

2002-07-12 Thread Stacy Young
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

RE: Storing Queries in Application Scope

2002-07-12 Thread Matt Liotta
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

Re: Storing Queries in Application Scope

2002-07-12 Thread Douglas Brown
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

RE: Storing Queries in Application Scope

2002-07-12 Thread Ben Forta
]] 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

RE: Storing Queries in Application Scope

2002-07-12 Thread Matt Liotta
: [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

RE: Storing Queries in Application Scope

2002-07-12 Thread Dave Watts
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

Re: Storing Queries in Application Scope

2002-07-12 Thread todd
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

RE: Storing Queries in Application Scope

2002-07-12 Thread Ben Forta
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

Re: Storing Queries in Application Scope

2002-07-12 Thread Douglas Brown
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

RE: Storing Queries in Application Scope

2002-07-12 Thread todd
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

RE: Storing Queries in Application Scope

2002-07-12 Thread Matt Liotta
[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

Re: Storing Queries in Application Scope

2002-07-12 Thread Jochem van Dieten
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

Re: Storing Queries in Application Scope

2002-07-12 Thread Bill Wheatley
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

Re: Storing Queries in Application Scope

2002-07-12 Thread Bill Wheatley
: 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

RE: Storing Queries in Application Scope

2002-07-12 Thread Ben Forta
-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

RE: Storing Queries in Application Scope

2002-07-12 Thread Matt Liotta
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

RE: Storing Queries in Application Scope

2002-07-12 Thread Brian Scandale
- 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

RE: Storing Queries in Application Scope

2002-07-12 Thread todd
. --- 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

RE: Storing Queries in Application Scope

2002-07-12 Thread Dave Watts
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

RE: Storing Queries in Application Scope

2002-07-12 Thread Dave Watts
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

Re: Storing Queries in Application Scope

2002-07-12 Thread Jeffry Houser
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

RE: Storing Queries in Application Scope

2002-07-12 Thread Ben Forta
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

RE: Storing Queries in Application Scope

2002-07-12 Thread Stacy Young
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

RE: Storing Queries in Application Scope

2002-07-12 Thread Stacy Young
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

RE: Storing Queries in Application Scope

2002-07-12 Thread Matt Liotta
: 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

RE: Storing Queries in Application Scope

2002-07-12 Thread Timothy Heald
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

RE: Storing Queries in Application Scope

2002-07-12 Thread Ben Forta
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

RE: Storing Queries in Application Scope

2002-07-12 Thread todd
- 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

RE: Storing Queries in Application Scope

2002-07-12 Thread Ben Forta
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

RE: Storing Queries in Application Scope

2002-07-12 Thread Ben Forta
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

RE: Storing Queries in Application Scope

2002-07-12 Thread Shawn Kernes
, 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

RE: Storing Queries in Application Scope

2002-07-12 Thread Seamus Campbell
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