RE: Advanced SQL Query Question

2003-05-27 Thread Bryan Love
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

RE: Encryption in MX?

2003-05-27 Thread Mark W. Breneman
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

CFMX and OSX

2003-05-27 Thread Dan Phillips
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:

OT: security question

2003-05-27 Thread Tim Do
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,

RE: is an object with a lot of methods a memory buster?

2003-05-27 Thread Barney Boisvert
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

RE: cfdirectory

2003-05-27 Thread Bryan Love
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]

XHTML syntax (self-closing tags)

2003-05-27 Thread Charlie Griefer
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

Re: CFMX and OSX

2003-05-27 Thread Sean A Corfield
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

Re: Help with CFC and recursion?

2003-05-27 Thread Sean A Corfield
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

Re: CFMX and OSX

2003-05-27 Thread Ian Lurie
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

RE: is an object with a lot of methods a memory buster?

2003-05-27 Thread Raymond Camden
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? :)

ot~ dmx tidy

2003-05-27 Thread Dave Lyons
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:

RE: is an object with a lot of methods a memory buster?

2003-05-27 Thread Barney Boisvert
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

RE: XHTML syntax (self-closing tags)

2003-05-27 Thread Barney Boisvert
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

RE: XHTML syntax (self-closing tags)

2003-05-27 Thread Matthew Walker
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

RE: Help with CFC and recursion?

2003-05-27 Thread Shawn Grover
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

Re: XHTML syntax (self-closing tags)

2003-05-27 Thread 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 /

Re: is an object with a lot of methods a memory buster?

2003-05-27 Thread Sean A Corfield
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

Re: Help with CFC and recursion?

2003-05-27 Thread Sean A Corfield
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

Re: XHTML syntax (self-closing tags)

2003-05-27 Thread Charlie Griefer
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

RE: is an object with a lot of methods a memory buster?

2003-05-27 Thread Barney Boisvert
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

MySQL Full text or Verity Search

2003-05-27 Thread Costas Piliotis
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

RE: Help with CFC and recursion?

2003-05-27 Thread Shawn Grover
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

Re: Translations (again!)

2003-05-27 Thread Dana Tierney
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

Why XHTML in cftags WAS - XHTML syntax (self-closing tags)

2003-05-27 Thread CF Dude
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,

Re: Help with CFC and recursion?

2003-05-27 Thread Sean A Corfield
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

Re: is an object with a lot of methods a memory buster?

2003-05-27 Thread Sean A Corfield
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

Re: Why XHTML in cftags WAS - XHTML syntax (self-closing tags)

2003-05-27 Thread Sean A Corfield
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

RE: is an object with a lot of methods a memory buster?

2003-05-27 Thread Dave Watts
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

RE: Why XHTML in cftags WAS - XHTML syntax (self-closing tags)

2003-05-27 Thread Joshua Miller
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

Re: Why XHTML in cftags WAS - XHTML syntax (self-closing tags)

2003-05-27 Thread Sean A Corfield
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,

Re: Why XHTML in cftags WAS - XHTML syntax (self-closing tags)

2003-05-27 Thread CF Dude
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

Re: is an object with a lot of methods a memory buster?

2003-05-27 Thread Sean A Corfield
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

Recursion Tutorial?

2003-05-27 Thread Jake McKee
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

Number of users brownsing website

2003-05-27 Thread Blood Python
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

Re: Recursion Tutorial?

2003-05-27 Thread Pablo Varando
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

Re: Number of users brownsing website

2003-05-27 Thread Dave Lyons
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

Re: Number of users brownsing website

2003-05-27 Thread Pablo Varando
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

Improve FB3 website performance

2003-05-27 Thread Blood Python
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

Detect Browser

2003-05-27 Thread Jonathan Oblea
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

<    1   2