Indeed, there should only be some occasions when an update each day may be
required such as when a new feature is just added and everyone needs it for
their work.
The use of SVN etc is way more advanced than the old VSS system which is
effectively just a store of files to get back when you have a
I might have missed something but what I read was straight FTP uploads that
CF will have nothing to do with. If so, you could get them to upload
checksums as well... but I guess, even then, that the checksum could be
created using a corrupt zip file in the first place. The only thing you can
do
I was lead to believe that CFC performance (apart from instantiation) should
beat custom tag performance, partly due to posts like this:
http://www.numtopia.com/terry/blog/archives/2006/05/empirical_testing_of_custom_tag_vs_cfc_for_output.cfm
However my own experiments tell me otherwise. See:
Dan,
The reason for the decrease in performance is when CF must instantiate the
CFC each time, I.E. when using cfinvoke or createobject.
The solution is to cache the CFC by storing it in a persistant scope such as
application scope, so it only needs to be instantiated once.
One solution is to
Dan Singerman wrote:
http://musttryharder.wordpress.com/2006/12/28/coldfusion-mx-performance/
What's going on there, and who's right?
Unfortunately my crystal ball is broken so you really need to provide full code
and configuration.
This was discussed on another list I'm on a while back...one of the
prevailing ideas was to monitor the FTP server logs to see if there is a
upload complete statement for the file in question, of course that all
depends on what FTP server you are using and what it logs.
Hi Russ,
If you look at the code what you say is valid for the case of the
uninstantiated CFC (i.e. where createObject is called within the loop)
However, in the instantiated CFC case, where createObject is only called once,
and hence will be in memory for that request (to that file anyway) I
Claude,
I recently went through exactly what you are dealing with now. Our
development environment began with all developers working against the
exact same code base, where developers would overwrite each others
changes as well as break code during the development process that would
affect other
You are getting your TickCount value prior to instantiating the CFC and
also including the init method in the caluclation.
cfset reset()
cfset stringAppendCFC = createObject(component,string_append).init()
If you want to get a representation of time to call an already instantiated
CFC, then
Need a bit help - my poor ol' brain is struggling with how best to impelment
this...
I am just starting to integrate this payment service provider into our
system to handle credit card payments for our customers in the Asia Pacific
region.
I already use a PSP here in the UK and I have a cfc
Hi - just like to second what Richard has said below. We have used CVS for
over two years now and cannot think of developments without it. We have
projects distributed over teams in up to 5 countries. Even so CVS coupled
with [CF]ECLIPSE (which has very sweet CVS built in) make working together
This is a pretty standard callback method, most systems will use it.
When you sent the request, you should have the option of sending a custom
value, such as your own generated transaction or invoiceID. If not then you
could always send the CFID and CFTOKEN.
This is what you need to use on the
Snake wrote:
You are getting your TickCount value prior to instantiating the CFC and
also including the init method in the caluclation.
cfset reset()
cfset stringAppendCFC = createObject(component,string_append).init()
If you want to get a representation of time to call an already
The instantiation of a CFC does in fact add execution time, so it will be
having an impact on his reults.
If instantiating a CFC took no time at all, then there would be no reason to
cache them in a persistent scope.
There may of course be other factors involved too.
Russ
-Original
On 12/27/06, Douglas Knudsen [EMAIL PROTECTED] wrote:
he who commits first wins, eh? Second place entires have to be merged IF
there is a conflict. Sure, lock the files, but this defeats the purpose of
'concurrent versions' to steal a term from the CVS world.
I think the point is that if
when the user logs into what?
Well, there must be some repository manager on the server, no?
users have to go and fetch the latest versions. Its really
simple in Eclipse, right-click Team Update...done!
Ok, but what if they don't? They can create a new version from an
absolete copy?
First of all, I'm very familiar with the whole Eolas thing, and followed
that whole mess carefully.
I've got a flash cfform I'm working on that is making me click on it to
activate the form in IE. Our ColdFusion server /is/ patched up to 7.0.2, so
it is my understanding that I shouldn't see that
Thanks Russ,
Yes I guess getting the callback page to write to the database, and then the
original request read and wait for that database value is a way to solve
this. And yes we do pass a unique transaction reference to identify the
value - its just a bit clunky compared to it all being in one
On 12/28/06 11:28 AM, Claude Schneegans wrote:
users have to go and fetch the latest versions. Its really
simple in Eclipse, right-click Team Update...done!
Ok, but what if they don't? They can create a new version from an
absolete copy?
So? You have a complete record of all changes
On 12/28/06, Claude Schneegans [EMAIL PROTECTED] wrote:
and overwrite some more latest code already pushed by someone
else? BADA! ;-)
What happens is that you always deploy from the repository - not from an
individuals copy. so you deploy from the latest committed version.
--
You have all of the previous versions available to you so you
can easily fix things,
Well, I may be wrong, but my vision of a source control system is to
manage things so that they don't need to be fixed.;-)
If it is to create problems and then fix them, I don't really need any
tool for
Well there is a potential problem with that method. What if the users
browser crashes, they close the browser, their internet connection drops,
the page times out etc. Then the data will never be returned. Thus why
having a separate callback that happens behind the scenes is useful.
Russ
when the user logs into what?
Well, there must be some repository manager on the server, no?
There is - it comes into play when the user performs an operation
against the repository, i.e. an update or a commit. Since your working
copy is a disconnected resource until you initiate an
If things are pretty much guaranteed to happen in a few second window
(you may want to ask them of average response time), you might want to
make something like the pseudocode below:
PendingTransaction.cfc
{
_uniqueID= createUUID();
_data: struct
_response : ; // simplevalue
function
On 12/28/06 11:37 AM, Claude Schneegans wrote:
You have all of the previous versions available to you so you
can easily fix things,
Well, I may be wrong, but my vision of a source control system is to
manage things so that they don't need to be fixed.;-)
There's only so much magic a tool
This kinda sounds like Paypal Integration. They have PDT and IPN.
Before the user moves to paypal's site, I log the order as unfinished/not
approved, etc.
I send the cfid and token in the url to paypal. The user does their thing at
paypal, bounces back to my site with cfid/token in url, I
Well, I may be wrong, but my vision of a source control system is to
manage things so that they don't need to be fixed.;-)
No system can entirely prevent human error (and modifying stale code
because you didn't do an update is human error), source control systems
just dramatically reduce the
Claude Schneegans wrote:
when the user logs into what?
Well, there must be some repository manager on the server, no?
Yes. But why would would you want to automatically download code from there?
Only exchange code with the repository when you explicitly want to and have
authorized the
Claude:
First off, what you want doesn't exist and I think you need to
understand that initially. What does exist, however, are source control
packages that WILL save you time and headaches in the future working in
a team environment.
That said, the next thing you need to understand is that
Hello list and Happy New Year!
I am creating an app that is using Flash Forms. The form I have works great
in IE. I can see the entire form. However, in FireFox the form does not show
completely. It is in a box that I have to scroll down to use. Here is the
code: (I commented out the CFSELECT tags
Yes. But why would would you want to automatically download code from
there?
To make sure that a programmer will get the last version before he
starts working on a file.
At least, this should be checked by the system when a user request a
lock on a file.
--
try adding a size attribute to the cfform tag that will allow the form
to display all elements without scrolling
Bruce Sorge wrote:
Hello list and Happy New Year!
I am creating an app that is using Flash Forms. The form I have works great
in IE. I can see the entire form. However, in FireFox
Claude Schneegans wrote:
Yes. But why would would you want to automatically download code from
there?
To make sure that a programmer will get the last version before he
starts working on a file.
At least, this should be checked by the system when a user request a
lock on a file.
Hi,
CF docs about CFFTP says:
If |action = listDir|, a |mode| column is returned. The column
contains an octal string representation of UNIX permissions; for
example, |777|.
What if the server is under Window?
Will CFFTP still return file status à la Unix?, or no status at all?
--
thats OK, because the call and response are on the server - cfhttp and
process cfhttp.filecontent, so if the users browser crashes - it just means
they won't know what happened - but the system does.
On 12/28/06, Snake [EMAIL PROTECTED] wrote:
Well there is a potential problem with that method.
Ok, I found somewhere else that this applies only to Unix.
I have another question then: Is it possible to know if a file is
read-only using CFFTP?
--
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send
Thanks, I think I see how this works - thanks for the help.
On 12/28/06, Katz, Dov B (IT) [EMAIL PROTECTED] wrote:
If things are pretty much guaranteed to happen in a few second window
(you may want to ask them of average response time), you might want to
make something like the pseudocode
It is similar except that its all pages returned to the user are from our
site.
Thanks for the response - I think its starting to unscrabble in my head now
:-)
On 12/28/06, Will Tomlinson [EMAIL PROTECTED] wrote:
This kinda sounds like Paypal Integration. They have PDT and IPN.
Before the user
Hi Claude, I think many of us who have implemented source control will
recognize the issues and concerns you are grappling with - they are quite
natural. What I would say is that I wish I had tried a pilot of CVS/SVN
sooner rather than all the worrying and discussing I did over a couple of
months
OK, I must have something wrong here. I've only heard good things about
cfqueryparam on this list for both security and performance. A client sent
me an ugly report that times out for them. I spent an hour going through it
and applying cfqueryparams to each variable in the many queries with
CFQUERYPARAM does increase the amount of processing that is required
to run a query on the first execution, but subsequent executions
should be faster (assuming your database can leverage prepared
statements). I have seen CFQUERYPARAM creating a dramatic increase
(as you see) in query execution
CFQUERYPARAM does increase the amount of processing that is required
to run a query on the first execution, but subsequent executions
should be faster (assuming your database can leverage prepared
statements).
I would add that there is a limit to how long a database will cache a
prepared
I thought this would be fairly straightforward but it appears to be causing
me some distress. I need to get the value of an FCKEditor field for
transmission using AJAX. However, when I reference the fields ID, I get a
blank result when there is definitely content in it. Can someone shed some
light
What is the syntax of finding the difference in years between two date fields?
For example I'm selecting a field from a database and trying to find the
difference between that and todays date?
~|
Create robust enterprise, web
OK, I must have something wrong here. I've only heard good
things about cfqueryparam on this list for both security and
performance. A client sent me an ugly report that times out
for them. I spent an hour going through it and applying
cfqueryparams to each variable in the many queries
http://livedocs.macromedia.com/coldfusion/7/htmldocs/0440.htm
On 12/28/06, Nick G [EMAIL PROTECTED] wrote:
What is the syntax of finding the difference in years between two date fields?
For example I'm selecting a field from a database and trying to find the
difference between that and
You need to use the FCKeditorAPI to get at the value:
oEditor = FCKeditorAPI.GetInstance('art_article');
myValue = escape(oEditor.GetXHTML(oEditor.FormatOutput));
I know this is in the documentation somewhere, but I found it too long
ago to point you to the specific part.
HTH,
Michael
--
DateDiff(, Date1, Date2)
Where Date1 and Date2 are valid CF Date/Time objects.
the datepart is in years.
the datepart y is days of the year (1-365?) same as d for days.
Cheers,
Chris
Nick G wrote:
What is the syntax of finding the difference in years between two date
fields?
For
CF docs about CFFTP says:
If |action = listDir|, a |mode| column is returned. The
column contains an octal string representation of UNIX
permissions; for example, |777|.
What if the server is under Window?
Will CFFTP still return file status à la Unix?, or no status at all?
I suspect
In tis case, ftp client is more important than ftp server.
As I know all current ftp servers support *nix like features and queries.
Dave Watts wrote:
CF docs about CFFTP says:
If |action = listDir|, a |mode| column is returned. The
column contains an octal string representation of UNIX
As I know all current ftp servers support *nix like features and
queries.
Actually, I'm using FTP Voyager on a Windows FTP server, and I can get
and set all those file attributes.
The way I could do the same thing with CFFTP is not quite clear however.
--
Christopher Jordan wrote:
DateDiff(, Date1, Date2)
Where Date1 and Date2 are valid CF Date/Time objects.
the datepart is in years.
the datepart y is days of the year (1-365?) same as d for days.
Just a note since he didn't say if he wanted to do this on the CF side,
or the db
Thank you very much for your responces. At the moment I know where to focus and
what direction to follow in order to achive it. Again thanx a lot for your time.
~|
Create robust enterprise, web RIAs.
Upgrade integrate Adobe
Thanks to everyone for your feedback on that subject.
I appreciate all your comments, even if I'm aware that most of them came
from people
working on fairly large applications, with tens of developers, which is
definitely
not what I am involved in.
But thanks anyway.
--
On 12/28/06 3:55 PM, Claude Schneegans wrote:
Thanks to everyone for your feedback on that subject.
You're very welcome.
I appreciate all your comments, even if I'm aware that most of them came
from people working on fairly large applications, with tens of developers,
which is definitely not
Greg Luce wrote:
OK, I must have something wrong here. I've only heard good things about
cfqueryparam on this list for both security and performance. A client sent
me an ugly report that times out for them. I spent an hour going through it
and applying cfqueryparams to each variable in the
Yes. But why would would you want to automatically download code
from
there?
To make sure that a programmer will get the last version before he
starts working on a file.
At least, this should be checked by the system when a user request a
lock on a file.
Making sure that you are
You might want to take a look at your query execution plan, and see
what's
different when using a prepared statement.
I know how to see the query execution plan on MSSQL, but how do you see
it compared to a prepared statement?
Rich Kroll
I have a form with a varied number of form fields (they are dynamically
created). Two of the form fields are a input box and a select box. I loop
through my query and define the form names like so:
input type=text name=QTYShipped#getLineItems.CurrentRow# value=1
size=4 maxlength=3
and
select
select name=Comments#getLineItems.CurrentRow#
onchange=updateText(#getLineItems.currentRow#, 'this.value');
script type=text/javascript
function updateText(n, selOpt) {
if (selOpt == OUT OF STOCK) {
document.formName.elements[QTYShipped + n].value = 0;
}
Geez. That was fast. Thanks... Testing now...
-Original Message-
From: Charlie Griefer [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 28, 2006 4:42 PM
To: CF-Talk
Subject: Re: Javascript and Dynamic CF Forms
select name=Comments#getLineItems.CurrentRow#
All,
I just created a quick and dirty random cfc component and a quick posting to
go with it. I could really use some feedback on how to split it up if anyone
gets a chance.
http://www.danvega.org/blog/index.cfm/2006/12/28/Random-CFC
--
Thank You
Dan Vega
[EMAIL PROTECTED]
just noticed something...
change 'this.value' to 'this.options[this.selectedIndex].value' (please) :)
On 12/28/06, Che Vilnonis [EMAIL PROTECTED] wrote:
Geez. That was fast. Thanks... Testing now...
--
Charlie Griefer
...All the world shall be
Hmmm. Not working... Does selOpt need another name, dynamic name?
-Original Message-
From: Che Vilnonis [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 28, 2006 4:46 PM
To: CF-Talk
Subject: RE: Javascript and Dynamic CF Forms
Geez. That was fast. Thanks... Testing now...
see my previous post regarding the syntax of the select value.
i'd also prefer to see id attributes in the form fields (use the same
value as the 'name' attribute) and in the script, do:
document.getElementById('QTYShipped' + n).value = 0;
also...remember that JS is case sensitive.
also
Okay. I'm gonna show some ignorance here. Ready? Good. :oP
I read your blog entry, Dan, and the entire CFC. I did not read either
of the other two blog articles you mentioned (so maybe that's where this
ignorance is coming from). I understand how your code works. That's not
my problem.
Still no go...
1. took care of the select value syntax as per previous email.
2. what do you mean by i'd also prefer to see id attributes in the form
fields (use the same value as the 'name' attribute) and in the script. How
would I rewrite that?
3. already know about JS being case sensitive and
Change the name of your form to something else. Form and forms are both
reserved words.
-Original Message-
From: Che Vilnonis [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 28, 2006 5:11 PM
To: CF-Talk
Subject: RE: Javascript and Dynamic CF Forms
Still no go...
1. took
Christopher,
Please remember that I am asking these same questions so there is no such
thing as ignorance just different perspectives. With that being said I would
read the two posts because even if you do not need the random cfc they are
very good articles. Here is a situation where you would
sorry. my bad.
remove the quotes from the 'this.options[this.selectedIndex].value'
i was having you pass that literal string :\
On 12/28/06, Che Vilnonis [EMAIL PROTECTED] wrote:
Hmmm. Not working... Does selOpt need another name, dynamic name?
--
Charlie Griefer
This would be dead simple using jQuery.
I just wrote and tested this. I think it does what you want.
html
head
title/title
script src=/include/js/jquery.js/script
script
function myFunction(thisValue){
if(thisValue == OUT OF STOCK){
Has anyone tried running CFMX with Apache 2.2 on Cygwin, or any version of
Apache for that matter? Thanks.
--
Damien McKenna - Web Developer [EMAIL PROTECTED]
The Limu Company - http://www.thelimucompany.com/ - 407-804-1014
#include stdjoke.h
couple of things (and just to throw it out there, i am in no way
against jQuery...i haven't used it yet, but am fixing to download it
and start playing around with it...especially now that Rob G. has
integrated AjaxCFC into it).
in this case, i don't think using the library really saves you
First: It is *awesome* that Rob has written a distro of AjaxCFC for
jQuery. I started playing with the alpha release last night. Very cool
stuff.
Second: There is probably a much more succinct way of doing this in
jQuery. I'm not the absolute best person to ask. Also, my code below
only
This might be bad form, but in the onchange of the select box, you can
just do:
select name=comments1 onchange=updateText(1,this.value)
the 'this.value' is already the value of the selected item. I've tested
this fact in IE and FF.
Cheers,
Chris
Che Vilnonis wrote:
Still no go...
1. took
That brings back some memories.
I actually wrote a banner system once, and I believe the method I used back
then, was to query all the primary keys, then pick a random row from the
query, extract the primary key and selectthat record.
This was many years ago back in the days of CF4 though :-)
Yeah, shopping sites was the example I thought of half way through my
post. Like when amazon shows me random products that I might like...
that sort of thing. I suppose it's because I don't spend time writing
consumer sites that I forget things like that. I'm currently working on
a scheduling
I've had CFMX 6.1 running on both Apache 2 and JBoss on Cygwin for development.
I've also got CFMX 7.0.2 on Apache 2.2, but just in Windows.
If you're going to use Apache 2.2, make sure you read this TechNote as there's
a newer connector than the one that ships with the CFMX installer.
There is an issue with some upgrades to 7.0.2 where the CFIDE path where the
JS file is located isn't mapped properly.
I believe there's a technote on the problem.
Cheers,
!k
-Original Message-
From: Jacob Munson [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 28, 2006 10:29 AM
To:
If you are on SQL Server 2005 - it will actually let you pick a random row
out of the box :-)
This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Number 678540. It contains
The SQL output by a query using cfqueryparam is a prepared statement.
He was suggesting that you compare the execution plan using cfqueryparam vs.
not using it to see what the difference is.
From: Richard Kroll [mailto:[EMAIL PROTECTED]
Sent: Thu 12/28/2006
I am wondering if anyone has used a Gateway or something to receive and read
faxed documents via CF?
I need to read the incoming fax to obtain a barcode then copy the fax
document to the appropriate directory.
Anyone done anything like this?
Thanks!
eFax...converts fax to e-mail attachementCF reads mail (CFX_POP3)then
OCR the attachement to suck out the barcode ;-)
Bryan Stevenson B.Comm.
VP Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL
What utility would be used for the OCR part. The first two I can handle.
The OCR should be able to be called via CF request.
The process is to be converted from the manual process as it is now to an
Automated routine.
-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED]
Bryan,
It seems as if you were doing something very similar
(found this on Google:
http://www.houseoffusion.com/groups/CF-Talk/thread.cfm/threadid:44779 )
-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 28, 2006 8:07 PM
To: CF-Talk
Subject:
I have Dev edition running on XAMPP (apachefriends.org) which runs Apache
2.2
Eric
On 12/28/06, Adrian Moreno [EMAIL PROTECTED] wrote:
I've had CFMX 6.1 running on both Apache 2 and JBoss on Cygwin for
development. I've also got CFMX 7.0.2 on Apache 2.2, but just in Windows.
If you're
Christopher,
Thanks for the feedback. I will try to come up with a better designed
solution and some more examples of where and why to use it.
Thanks!
On 12/28/06, Christopher Jordan [EMAIL PROTECTED] wrote:
Yeah, shopping sites was the example I thought of half way through my
post. Like when
Christopher,
Thanks for the feedback. I will try to come up with a better designed
solution and some more examples of where and why to use it.
Thanks!
--
Thank You
Dan Vega
[EMAIL PROTECTED]
http://www.danvega.org
~|
Create
Dan,
I'm not saying your solution is bad, I just couldn't think of what
problem it would be the solution to. As we've discussed in other posts,
I understand why some consumer sites would need this sort of thing.
That's all. I don't think it needs a better design. I haven't really
given thought
Christopher,
I know you were not implying that. I said in my post that after writing the
component that I realized their were design flaws. The problem lies in the
init method. It should not be mandatory to initialize dbtypes and dsn if you
are using getRandomColor(). Your comments were positive
Christopher,
I know you were not implying that. I said in my post that after writing the
component that I realized their were design flaws. The problem lies in the
init method. It should not be mandatory to initialize dbtypes and dsn if you
are using getRandomColor(). Your
Hello.
I have these three queries that I am creating below. The first two work
great, but the third one gives me the following error:
The row number, (1920) is out of bound. This is happening on line 48 which
is this one:
cfset temp = QuerySetCell(yearQuery, year_num, #yearnumber[year_number]#,
On 12/28/06, Damien McKenna [EMAIL PROTECTED] wrote:
Has anyone tried running CFMX with Apache 2.2 on Cygwin, or any version of
Apache for that matter? Thanks.
Ok, I have to ask. Why? Apache runs perfectly well under Windows, why
would you want to run it in a Unix emulator? I'm sure
You have a query with 100 rows and you are trying to set a cell in row
1920. 1920 is greater than 100.
On 12/29/06, Bruce Sorge [EMAIL PROTECTED] wrote:
Hello.
I have these three queries that I am creating below. The first two work
great, but the third one gives me the following error:
The
Hello,
We need a form that is a bit different from the examples I've been able to find
so far. I am querying the db to get a list of all the products for this page
and I want it to look like this to the consumer (some numbers are same for
first 4 digits but then change for different size):
Nostalgia! :)
Jacob Munson wrote:
On 12/28/06, Damien McKenna [EMAIL PROTECTED] wrote:
Has anyone tried running CFMX with Apache 2.2 on Cygwin, or any version of
Apache for that matter? Thanks.
Ok, I have to ask. Why? Apache runs perfectly well under Windows, why
would you
96 matches
Mail list logo