This seemingly simple query can turn nasty in a hurry... If you don't have
very many records then use CF to do it like so:
SELECT
FROM table1
ORDER BY theCategory, theDate
cfoutput query=myquery group=theCategory
#whatever#
/cfoutput
Notice this will only print the first record
I have been using cfx_encrypt_aes. The site claims that it should be secure
then it would take that machine approximately 149 thousand billion (149
trillion) years to crack a 128-bit AES key. And it can (if you want it to
be) be bound to a MAC address of the Network card so in theory if someone
Has anyone installed CFMX on Apple's OSX? Any success or horror stories?
Dan Phillips
www.CFXHosting.com
1-866-239-4678
[EMAIL PROTECTED]
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
Hello All,
I have a security issue that I need to do some research on. I have a
webserver outside the firewall, and in my application I need to access a
directory on a server that is inside the firewall. Any ideas on the most
secure way to do this? Running win2k and mx.
Thanks,
Functions are data, methods are not. CFC's don't really define whether the
things they are made up of which take arguments are one or the other. Right
now, I believe CF only has functions, no methods. However, the fact that
CFCs can contain instance data implies (at least to me) that we're
you could do something like this...
cfdirectory directory=#expandPath([virtual directory])#
+---+
Bryan Love
Database Analyst
Macromedia Certified Professional
Internet Application Developer
TeleCommunication Systems
[EMAIL PROTECTED]
Hey all...
I know the topic of using XHTML syntax to have tags close themselves has
been discussed in the past, and IIRC, the answer was that it was simply a
matter of preference.
OK...i like to keep consistent, so I've started doing things likse cfset
foo = bar / etc.
Certain tags tho, will
On Tuesday, May 27, 2003, at 14:41 US/Pacific, Dan Phillips wrote:
Has anyone installed CFMX on Apple's OSX? Any success or horror
stories?
I have five instances of CFMX (various versions) running on Tomcat and
JRun, all on my laptop. It's been pretty smooth sailing. One gotcha is
that JRun
On Tuesday, May 27, 2003, at 13:14 US/Pacific, Shawn Grover wrote:
As for my use of the CFPROPERTY tags, I know they are kinda useless in
the
manner I'm using them, EXCEPT for documentation.
And of course it all depends on whether you want to use public data
members - this scope - which you
Went pretty smoothly for us, except for some really annoying JAVA
installer issues that, I think, have long been resolved by Macromedia.
I do all my MX/MySQL development work on a Powerbook running the latest
OSX. We're also running it on an iMac, because we can :)
No crashes and no hangups
Talking about souped structs - you can do this:
cfset s = structNew()
cfset s.name = ray
cfscript
function display() {
writeOutput(this.name);
}
/cfscript
cfset s.display = display
And as you can imagine, calling s.display() will return ray. Could this
be a lite CFC? :)
has anyone used this extension before?
if so what did you think about it?
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
If you don't mind an extra scope, you can even use function names that CF
won't let you use, because they are built-in functions:
cfscript
function d() {
return hey;
}
functions = structNew();
functions.dateFormat = d;
/cfscript
It doesn't execute twice. Simple test:
cfset s = /
cfset s = listAppend(s, val) /
cfoutput#s#/cfoutput
You'll only get one 'val' in your output, so it's only firing once.
You also have to be careful with custom tags, and you simply can't use XML
syntax on CFELSE. Also, CFIF, CFELSEIF and
Try this:
cfset a = 1
cfset a = a + 1 /
cfoutput#a#/cfoutput
Seems it doesn't run twice in CFMX.
-Original Message-
From: Charlie Griefer [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 28 May 2003 10:16 a.m.
To: CF-Talk
Subject: XHTML syntax (self-closing tags)
Hey all...
I know
We're declaring a Clear function which initializes the THIS properties to a
valid, known state. Our procedure is to ensure the clear function matches
the CFPROPERTY declarations, and we call the Clear function when the CFC is
initialized.
-Original Message-
From: Sean A Corfield
On Tuesday, May 27, 2003, at 15:16 US/Pacific, Charlie Griefer wrote:
Certain tags tho, will display twice (eg cfdump var=#session# /).
Are you sure? That's not the behavior I see (with CFMX).
Is anybody actively/currently using this syntax? Any definitive
answer on
whether or not cfset /
On Tuesday, May 27, 2003, at 11:36 US/Pacific, Sean A Corfield wrote:
On Tuesday, May 27, 2003, at 11:00 US/Pacific, Raymond Camden wrote:
So what you are saying is this (and let me know if I'm wrong):
A.cfc contained method test that returns 1.
User creates instance of A.cfc and stores it in
On Tuesday, May 27, 2003, at 16:20 US/Pacific, Shawn Grover wrote:
We're declaring a Clear function which initializes the THIS properties
to a
valid, known state. Our procedure is to ensure the clear function
matches
the CFPROPERTY declarations, and we call the Clear function when the
Original Message -
From: Sean A Corfield [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, May 27, 2003 4:16 PM
Subject: Re: XHTML syntax (self-closing tags)
On Tuesday, May 27, 2003, at 15:16 US/Pacific, Charlie Griefer wrote:
Certain tags tho, will display twice (eg
Personally, I think it should be changed. It leaves you with the
possibility of different instances of the same CFC having different
behaviour. I can never be sure what methodX() of CFC Y is going to do,
because I'm not sure if it was instantiated after I uploaded a patch to my
app. Seems like
I have a choice to use one of thse. Which would you guys recommend? I know
the MSSQL full text is buggy, so I use verity, but I haven't had any
experience with mySQL
Costas Piliotis
Application Developer
Voyus Canada Inc.
T: 604.630.5655 (direct line)
F: 604.320.6568
E-Mail: mailto:[EMAIL
This falls under the black box concept, in that the component isn't
supposed to know about the environement is getting used in. We don't care
if some arbitrary code changes the properties. However, we do care about
having valid data before it is placed into the database. So, our components
as someone with a similar problem I suspect that it's because it is easier
to find a volunteer to read the page than a volunteer to translate it. I
don't know the quality of translation produced by the tag but I suspect it
probably isn't satisfactory; I know I really wasn't impressed with
I don't understand why you would decide to XHTML-ize your cftags when cftags are
server side.
EG :
br / is client side and is xhtml
cfset foo = bar = cfset foo = bar / with the exception being you are typing
more than you need to.
Did I misunderstand the original post?
Eric
Oh yeah,
On Tuesday, May 27, 2003, at 17:30 US/Pacific, Shawn Grover wrote:
We were initially going to create get and set methods for member
variables (not in the THIS scope), but quickly realized this was
meaningless, because I was free to set variables on the object
willy-nilly.
But the variables
On Tuesday, May 27, 2003, at 16:43 US/Pacific, Barney Boisvert wrote:
Personally, I think it should be changed. It leaves you with the
possibility of different instances of the same CFC having different
behaviour. I can never be sure what methodX() of CFC Y is going to do,
because I'm not
On Tuesday, May 27, 2003, at 18:09 US/Pacific, CF Dude wrote:
I don't understand why you would decide to XHTML-ize your cftags when
cftags are server side.
So that the mix of HTML and CFML in your source file is consistent (and
attempts to be XHTML styled). If you get into the habit and
Functions are data, methods are not.
Admittedly I'm no expert on OO programming, but I've never heard this
distinction. In my experience, a method is simply a function that is a
member of an object.
In JavaScript, which is an OO language (although significantly different
from class-based OO
Problem with that is CF treats start and end tags differently depending
on the tag. You can write Custom Tags with Start and End methods, so if
you write cf_tag / you're essentially calling both start and end
methods.
I think I've seen something on this list previously regarding this.
It would
On Tuesday, May 27, 2003, at 20:32 US/Pacific, Joshua Miller wrote:
Problem with that is CF treats start and end tags differently depending
on the tag. You can write Custom Tags with Start and End methods, so if
you write cf_tag / you're essentially calling both start and end
methods.
Yes,
I certainly agree with that, but I still find it to be un-needed. Especially if you
are able to seperate most of your
CF code from your xHtml code. Just my two cents
E
- Original Message -
From: Sean A Corfield [EMAIL PROTECTED]
So that the mix of HTML and CFML in your source file
On Tuesday, May 27, 2003, at 20:27 US/Pacific, Dave Watts wrote:
Functions are data, methods are not.
Admittedly I'm no expert on OO programming, but I've never heard this
distinction. In my experience, a method is simply a function that is a
member of an object.
I agree. Barney, I think it
Hi there, I am hoping someone can point me in the right direction. I am
looking for good sources of help/tutorial on recursion. I understand the
basic concept of setting up the database, but I tend to have problems
making it work in real life code.
Can anyone point me to some good
hi all.
I've done a portal using FB3 for one of my clients and he wants to display
the number of users browsing his website.
I was thinking about using some session variables to do that and put the
code in the main fbx_settings.cfm. Maybe some of you guys have made
something like that and
http://www.easycfm.com
;)
Pablo
- Original Message -
From: Jake McKee [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, May 27, 2003 11:16 PM
Subject: Recursion Tutorial?
Hi there, I am hoping someone can point me in the right direction. I am
looking for good sources of
in your application.cfm template
!--- start users online ---
!--- does the user already exist ---
CFLOCK SCOPE=Application Timeout=15 type=Exclusive
cfif NOT isdefined(Application.UsersInfo)
cfset Application.UsersInfo = StructNew()
/cfif
/CFLOCK
!--- reference the structure using UUID
http://tutorial12.easycfm.com/
Pablo
- Original Message -
From: Blood Python [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, May 27, 2003 11:58 PM
Subject: Number of users brownsing website
hi all.
I've done a portal using FB3 for one of my clients and he wants to
I've just realized that the main page of one of the websites i've made for
my client is taking 6000+ ms of execution time.
The fbx_fusebox30_CF50.cfm is beeing called 32 times, and the avg execution
time for this file is about 200ms. Is there anythink i can do to reduce
execution time in this
Hi All,
How can I detect the browser and version using ColdFusion?
If a client is using an old browser, i'm planning to show a message that
will ask the client to
download the latest browsers. Any better ideas?
Thank you,
Jonathan
101 - 140 of 140 matches
Mail list logo