Re: CFHTTP weirdness - Connection Timeout

2007-05-17 Thread AJ Mercer
this worked for me
http://64.119.37.62/xml"; result="web">


FileContent:

  West Coast ATC - 24HR
1

  

On 5/18/07, Jared Smith <[EMAIL PROTECTED]> wrote:
>
> I'm trying to use CFHTTP to capture a simple XML file from a remote server
> -
> http://64.119.37.62/xml"; method="GET" timeout="10">
>
> When I try to access the #cfhttp.filecontent# is shows only
> "Connection Timeout".
>
> However, I can access the file from a browser on the server, the
> cfhttp.errorDetail is empty, the cfhttp.statusCode is 200, the
> mimeType is being picked up correctly, and if I sniff the packets I
> see the entire file is send to CF. And if I set the path and file
> attributes of CFHTTP, the XML file is saved successfully to my server.
> So why is #cfhttp.filecontent# broken?
>
> It only does this for some sites. With most of them, everything works
> fine, but with this site and others like it, CF is choking on the
> content somewhere.
>
> I have tried setting the character set, setting user-agent, setting
> the Accept-Encoding and TE headers to "deflate;q=0" to solve any
> compression issues, and about everything else I can think of.
>
> Can anyone else try to CFHTTP that file (http://64.119.37.62/xml) and
> see if it works? This is a FRESH install of MX 7.
>
> Frustrated!
>
> Jared
>
> 

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278560
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: java unzip :: verify file

2007-05-17 Thread Maximilian Nyman
FYI for the list.

It turned out that the issue AJ got was a Java bug for ZipFile. It
turns out that ZipFile doesn't handle corrupt zip files very well - It
throws an InternalError which will just kill JRun. :S

So, I updated my ZipVerifier to use ZipInputStream instead of ZipFile,
which will correctly catch the corrupt ZipFile exception.

/Max


import java.util.*;
import java.io.*;
import java.util.zip.*;

public class ZipVerifier {

  public static String EXCEPTION_STR = "";

  public static boolean verifyZip(String filePath) {
try {
  ZipInputStream zipin = new ZipInputStream(new 
FileInputStream(filePath)) ;
  while( zipin.available() == 1 ) {
  ZipEntry zipEntry = zipin.getNextEntry();
  System.out.println(zipEntry);
  }
  return true;
}
catch( Exception e ) {
EXCEPTION_STR = e.getMessage();
}
return false;
  }

  public static void main(String[] args) {
if( args.length > 0 ) {
  System.out.println( "Valid Zip file?: " +
ZipVerifier.verifyZip(args[0]) );
  System.out.println( EXCEPTION_STR );
}
else {
  System.out.println( "usage: java ZipVerifier " );
}
  }
}


~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278559
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: cfdocument, exporting PDF files and Flash content

2007-05-17 Thread Andy Matthews
Anyone else? Am I pretty much resigned to recreating this as HTML?

> I have a customer who asked me to build a fairly simple reporting app 
> using Flash. They save information to the db, then run the reports, 
> and the data gets pulled into Flash and displayed.
> 
> Now the customer is wondering if these reports can be exported as PDF. 
> Luckily the host is running CF7. So I'm trying to save this as a PDF 
> but it's not working. Does anyone have an idea as to what might be 
> happening?
> 
> I'm using the FlashObject code and at first I got a message saying 
> that FO wasn't deined. Then, I changed it to use the basic 
> object/embed code and got a jumble of PDF code. Now I get a blank 
> screen with either method.
> 
> Here's the page:
> http://2802designers.com/reporting/reportPDF.
> cfm?region=1&period=2007-4-1
> 
> Anyone have 
ideas?

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278558
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


CFHTTP weirdness - Connection Timeout

2007-05-17 Thread Jared Smith
I'm trying to use CFHTTP to capture a simple XML file from a remote server -
http://64.119.37.62/xml"; method="GET" timeout="10">

When I try to access the #cfhttp.filecontent# is shows only
"Connection Timeout".

However, I can access the file from a browser on the server, the
cfhttp.errorDetail is empty, the cfhttp.statusCode is 200, the
mimeType is being picked up correctly, and if I sniff the packets I
see the entire file is send to CF. And if I set the path and file
attributes of CFHTTP, the XML file is saved successfully to my server.
So why is #cfhttp.filecontent# broken?

It only does this for some sites. With most of them, everything works
fine, but with this site and others like it, CF is choking on the
content somewhere.

I have tried setting the character set, setting user-agent, setting
the Accept-Encoding and TE headers to "deflate;q=0" to solve any
compression issues, and about everything else I can think of.

Can anyone else try to CFHTTP that file (http://64.119.37.62/xml) and
see if it works? This is a FRESH install of MX 7.

Frustrated!

Jared

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278557
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: SQL Tree Traversal

2007-05-17 Thread James Holmes
This is a good summary of SQL useful in this situation:

http://www.oreilly.com/catalog/sqlpr/chapter/ch01.pdf

On 5/18/07, Rey Bango <[EMAIL PROTECTED]> wrote:
> Guys, its been awhile since I've done tree/hierarchical SQL manipulation
> so I need some help. The data looks something like this:
>
> parent_member_idmember_id   Level
> 1   2   1
> 1   3   2
> 2   4   1
> 3   5   1
> 4   6   1
> 4   7   2
>
> In this scenario, I would be trying to find all downline members of a
> specific parent id. For example:
>
> If I wanted to see all downline members for parent_member_id 1, it would be:
>
> 2,3,4,5,6,7
>
> If I wanted to see all downline members for parent_member_id 2, it would be:
>
> 4,6,7
>
> If I wanted to see all downline members for parent_member_id 3, it would be:
>
> 5
>
> If I wanted to see all downline members for parent_member_id 4, it would be:
>
> 6,7
>
> Any guidance on this would be helpful. I've tried Googling this but to
> no avail.
>

-- 
mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278556
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Regular Expression to count links

2007-05-17 Thread Bobby Hartsfield
That's also a runaway loop when there are no links found ;-)

-Original Message-
From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 17, 2007 11:53 PM
To: CF-Talk
Subject: RE: Regular Expression to count links

Actually... the while loop I posted is considerably faster. About 16ms
faster. Maybe it’s the loop or the cfscript... I dunno.

-Original Message-
From: chopper [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 17, 2007 11:33 PM
To: CF-Talk
Subject: Re: Regular Expression to count links

It may be more efficient to scan the string without actually copying
and replacing parts of it, or searching it more than the necessary
number of times.  Also, you may want to verify that the  tag has an
'href' attribute to prevent the counting of named anchors as links.
See below.  This codes scans through the string once, checking for
matches and counting them as it goes:


  
  
  
  
]*?href[^>]+>.*?", s, i + 1)>

  
  




On 5/17/07, Bobby Hartsfield <[EMAIL PROTECTED]> wrote:
> Tom just answered your question ;-)
>
> I can think of a few other tags that use the href attribute other besides
> anchors/links by the way :-)
>
> This seems to work ok...
>
> 
> function linkcount(str)
> {
> var links = 0;
>
> while(refindnocase("", str))
> {
> str = RemoveChars(str, refindnocase("",
> str), refindnocase(".*?<\/a>", str));
> links = links + 1;
> }
> return links;
> }
> 
>
> Use: #linkCount(thetext)#
>
> Basically it says:
> 1) Count the link
> 2) Remove the link
> 3) Repeat until no more links found.
>
>
> This also seems to work...
>
>
> 
> function linkcount(str)
> {
> var links = 0;
>
> while(findnocase(" {
> str = replacenocase(str, " links = links + 1;
> }
> return links;
> }
> 
>
> This one basically says:
> 1) count the instance of " 2) remove the instance of " 3) repeat until no more instances of "
>
>
> -Original Message-
> From: K Simanonok [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 17, 2007 9:52 PM
> To: CF-Talk
> Subject: Re: Regular Expression to count links
>
> Thanks Charlie, looks like your solution will work, I'll test.
>
> Andy, I appreciate your suggestion even if it won't work.
>
> Tom, you may be well-intentioned, but do you realize your posts were
> useless?  A question like "Hey buddy, can you tell me where the train
> station is?" is never intended to be taken so literally that "yes" is a
> worthwhile answer.
>
>
> >yeah.  can't use multiple character delimiters in CF.  Not with native
> >CF array/list functions.
> >
> >if you use split(), you can.
> >
> >
> >
> >
> >
> >   #listLen(myString, '_!_')#
> >   
> >   #arrayLen(myArray)#
> >
> >
> >On 5/16/07, Tom Chiverton <[EMAIL PROTECTED]> wrote:
> >>
>
>
>
> 





~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278555
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Regular Expression to count links

2007-05-17 Thread Bobby Hartsfield
-Original Message-
From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 17, 2007 11:53 PM
To: CF-Talk
Subject: RE: Regular Expression to count links

Actually... the while loop I posted is considerably faster. About 16ms
faster. Maybe it’s the loop or the cfscript... I dunno.

-Original Message-
From: chopper [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 17, 2007 11:33 PM
To: CF-Talk
Subject: Re: Regular Expression to count links

It may be more efficient to scan the string without actually copying
and replacing parts of it, or searching it more than the necessary
number of times.  Also, you may want to verify that the  tag has an
'href' attribute to prevent the counting of named anchors as links.
See below.  This codes scans through the string once, checking for
matches and counting them as it goes:


  
  
  
  
]*?href[^>]+>.*?", s, i + 1)>

  
  




On 5/17/07, Bobby Hartsfield <[EMAIL PROTECTED]> wrote:
> Tom just answered your question ;-)
>
> I can think of a few other tags that use the href attribute other besides
> anchors/links by the way :-)
>
> This seems to work ok...
>
> 
> function linkcount(str)
> {
> var links = 0;
>
> while(refindnocase("", str))
> {
> str = RemoveChars(str, refindnocase("",
> str), refindnocase(".*?<\/a>", str));
> links = links + 1;
> }
> return links;
> }
> 
>
> Use: #linkCount(thetext)#
>
> Basically it says:
> 1) Count the link
> 2) Remove the link
> 3) Repeat until no more links found.
>
>
> This also seems to work...
>
>
> 
> function linkcount(str)
> {
> var links = 0;
>
> while(findnocase(" {
> str = replacenocase(str, " links = links + 1;
> }
> return links;
> }
> 
>
> This one basically says:
> 1) count the instance of " 2) remove the instance of " 3) repeat until no more instances of "
>
>
> -Original Message-
> From: K Simanonok [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 17, 2007 9:52 PM
> To: CF-Talk
> Subject: Re: Regular Expression to count links
>
> Thanks Charlie, looks like your solution will work, I'll test.
>
> Andy, I appreciate your suggestion even if it won't work.
>
> Tom, you may be well-intentioned, but do you realize your posts were
> useless?  A question like "Hey buddy, can you tell me where the train
> station is?" is never intended to be taken so literally that "yes" is a
> worthwhile answer.
>
>
> >yeah.  can't use multiple character delimiters in CF.  Not with native
> >CF array/list functions.
> >
> >if you use split(), you can.
> >
> >
> >
> >
> >
> >   #listLen(myString, '_!_')#
> >   
> >   #arrayLen(myArray)#
> >
> >
> >On 5/16/07, Tom Chiverton <[EMAIL PROTECTED]> wrote:
> >>
>
>
>
> 





~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278554
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Regular Expression to count links

2007-05-17 Thread Bobby Hartsfield
Actually... the while loop I posted is considerably faster. About 16ms
faster. Maybe it’s the loop or the cfscript... I dunno.

-Original Message-
From: chopper [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 17, 2007 11:33 PM
To: CF-Talk
Subject: Re: Regular Expression to count links

It may be more efficient to scan the string without actually copying
and replacing parts of it, or searching it more than the necessary
number of times.  Also, you may want to verify that the  tag has an
'href' attribute to prevent the counting of named anchors as links.
See below.  This codes scans through the string once, checking for
matches and counting them as it goes:


  
  
  
  
]*?href[^>]+>.*?", s, i + 1)>

  
  




On 5/17/07, Bobby Hartsfield <[EMAIL PROTECTED]> wrote:
> Tom just answered your question ;-)
>
> I can think of a few other tags that use the href attribute other besides
> anchors/links by the way :-)
>
> This seems to work ok...
>
> 
> function linkcount(str)
> {
> var links = 0;
>
> while(refindnocase("", str))
> {
> str = RemoveChars(str, refindnocase("",
> str), refindnocase(".*?<\/a>", str));
> links = links + 1;
> }
> return links;
> }
> 
>
> Use: #linkCount(thetext)#
>
> Basically it says:
> 1) Count the link
> 2) Remove the link
> 3) Repeat until no more links found.
>
>
> This also seems to work...
>
>
> 
> function linkcount(str)
> {
> var links = 0;
>
> while(findnocase(" {
> str = replacenocase(str, " links = links + 1;
> }
> return links;
> }
> 
>
> This one basically says:
> 1) count the instance of " 2) remove the instance of " 3) repeat until no more instances of "
>
>
> -Original Message-
> From: K Simanonok [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 17, 2007 9:52 PM
> To: CF-Talk
> Subject: Re: Regular Expression to count links
>
> Thanks Charlie, looks like your solution will work, I'll test.
>
> Andy, I appreciate your suggestion even if it won't work.
>
> Tom, you may be well-intentioned, but do you realize your posts were
> useless?  A question like "Hey buddy, can you tell me where the train
> station is?" is never intended to be taken so literally that "yes" is a
> worthwhile answer.
>
>
> >yeah.  can't use multiple character delimiters in CF.  Not with native
> >CF array/list functions.
> >
> >if you use split(), you can.
> >
> >
> >
> >
> >
> >   #listLen(myString, '_!_')#
> >   
> >   #arrayLen(myArray)#
> >
> >
> >On 5/16/07, Tom Chiverton <[EMAIL PROTECTED]> wrote:
> >>
>
>
>
> 



~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278553
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Regular Expression to count links

2007-05-17 Thread chopper
It may be more efficient to scan the string without actually copying
and replacing parts of it, or searching it more than the necessary
number of times.  Also, you may want to verify that the  tag has an
'href' attribute to prevent the counting of named anchors as links.
See below.  This codes scans through the string once, checking for
matches and counting them as it goes:


  
  
  
  
]*?href[^>]+>.*?", s, i + 1)>

  
  




On 5/17/07, Bobby Hartsfield <[EMAIL PROTECTED]> wrote:
> Tom just answered your question ;-)
>
> I can think of a few other tags that use the href attribute other besides
> anchors/links by the way :-)
>
> This seems to work ok...
>
> 
> function linkcount(str)
> {
> var links = 0;
>
> while(refindnocase("", str))
> {
> str = RemoveChars(str, refindnocase("",
> str), refindnocase(".*?<\/a>", str));
> links = links + 1;
> }
> return links;
> }
> 
>
> Use: #linkCount(thetext)#
>
> Basically it says:
> 1) Count the link
> 2) Remove the link
> 3) Repeat until no more links found.
>
>
> This also seems to work...
>
>
> 
> function linkcount(str)
> {
> var links = 0;
>
> while(findnocase(" {
> str = replacenocase(str, " links = links + 1;
> }
> return links;
> }
> 
>
> This one basically says:
> 1) count the instance of " 2) remove the instance of " 3) repeat until no more instances of "
>
>
> -Original Message-
> From: K Simanonok [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 17, 2007 9:52 PM
> To: CF-Talk
> Subject: Re: Regular Expression to count links
>
> Thanks Charlie, looks like your solution will work, I'll test.
>
> Andy, I appreciate your suggestion even if it won't work.
>
> Tom, you may be well-intentioned, but do you realize your posts were
> useless?  A question like "Hey buddy, can you tell me where the train
> station is?" is never intended to be taken so literally that "yes" is a
> worthwhile answer.
>
>
> >yeah.  can't use multiple character delimiters in CF.  Not with native
> >CF array/list functions.
> >
> >if you use split(), you can.
> >
> >
> >
> >
> >
> >   #listLen(myString, '_!_')#
> >   
> >   #arrayLen(myArray)#
> >
> >
> >On 5/16/07, Tom Chiverton <[EMAIL PROTECTED]> wrote:
> >>
>
>
>
> 

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278552
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Errant Web-inf directories

2007-05-17 Thread Dave Watts
> > What's in those other WEB-INF directories? I suspect they don't 
> > contain the entire contents of the original WEB-INF directory.
> 
> Well, in one example, there are 19,195 .class files. Not as 
> many as are in the root web-inf, no. But, a sizable amount.

Is that all that's in there, compiled classes? Is that all that's in your
original one?

And, that's a lot of class files. You should probably disable the option to
save class files in CF Administrator. In your environment, it's likely to
take longer to find one file out of twenty thousand in a single directory,
than to just recompile the source.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

This email has been processed by SmoothZap - www.smoothwall.net


~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278551
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Regular Expression to count links

2007-05-17 Thread Bobby Hartsfield
Tom just answered your question ;-)

I can think of a few other tags that use the href attribute other besides
anchors/links by the way :-)

This seems to work ok...


function linkcount(str)
{
var links = 0;

while(refindnocase("", str))
{
str = RemoveChars(str, refindnocase("",
str), refindnocase(".*?<\/a>", str));
links = links + 1;
}
return links;
}


Use: #linkCount(thetext)#

Basically it says: 
1) Count the link
2) Remove the link
3) Repeat until no more links found.


This also seems to work...



function linkcount(str)
{
var links = 0;

while(findnocase("

This one basically says:
1) count the instance of "mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 17, 2007 9:52 PM
To: CF-Talk
Subject: Re: Regular Expression to count links

Thanks Charlie, looks like your solution will work, I'll test.

Andy, I appreciate your suggestion even if it won't work.

Tom, you may be well-intentioned, but do you realize your posts were
useless?  A question like "Hey buddy, can you tell me where the train
station is?" is never intended to be taken so literally that "yes" is a
worthwhile answer.  


>yeah.  can't use multiple character delimiters in CF.  Not with native
>CF array/list functions.
>
>if you use split(), you can.
>
>
>
>
>
>   #listLen(myString, '_!_')#
>   
>   #arrayLen(myArray)#
>
>
>On 5/16/07, Tom Chiverton <[EMAIL PROTECTED]> wrote:
>>



~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278550
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: java unzip :: verify file

2007-05-17 Thread AJ Mercer
wow - that is impressive!
Would you be able to compile it for me?

On 5/18/07, Maximilian Nyman <[EMAIL PROTECTED]> wrote:
>
> Then I would suggest find/writing a small Java ZipVerifier that will
> do this verification for you.
>
> I created a quick example of a verifier and it seems to do the job.
>
> 
> import java.util.zip.ZipFile;
> import java.util.zip.ZipException;
> import java.io.IOException;
>
> public class ZipVerifier {
>
>   public static String EXCEPTION_STR = "";
>
>   public static boolean verifyZip(String filePath) {
> try {
>   ZipFile zipFile = new ZipFile(filePath);
>   return true;
> }
> catch( ZipException ze ) {
> EXCEPTION_STR = ze.getMessage();
> }
> catch( IOException ioe ) {
> EXCEPTION_STR = ioe.getMessage();
> }
> catch( SecurityException se ) {
> EXCEPTION_STR = se.getMessage();
> }
> return false;
>   }
>
>   public static void main(String[] args) {
> if( args.length > 0 ) {
>   System.out.println( "Valid Zip file?: " +
> ZipVerifier.verifyZip(args[0]) );
>   System.out.println( EXCEPTION_STR );
> }
> else {
>   System.out.println( "usage: java ZipVerifier " );
> }
>   }
> }
> 
>
>
>
> On 5/18/07, AJ Mercer <[EMAIL PROTECTED]> wrote:
> > no, it is getting past that
> >
> > zipFile = createObject("java","java.util.zip.ZipFile");
> > zipFile.init(zipFilePath);
> > //Get Entry Objects for Entries in the ZIP File
> > entryList = zipFile.entries();
> >
> > //Create List of File Names from the ZIP File
> > while(entryList.hasMoreElements()) {
> > entry = entryList.nextElement();
> > <==  dies here
> > if (not entry.isDirectory()) {
> > fileList = ListAppend(fileList,entry.getName());
> >}
> >  }
> >
> > message = invalid LOC header (bad signature)
> >
> > This kills jRun so I can't catch it in ColdFusion
> >
> >
> > On 5/18/07, Maximilian Nyman <[EMAIL PROTECTED]> wrote:
> > >
> > > 
> > >  > > "java.util.zip.ZipFile").init(zipFileName) />
> > > 
> > > 
> > > 
> > > 
> > >
> > > That should throw a ZipException (and dump it) if the Zip file is
> corrupt
> > >
> > > /Max
> > >
> > >
> > > On 5/18/07, AJ Mercer <[EMAIL PROTECTED]> wrote:
> > > > cffile does not crash when using cffile with read or readbinary
> > > >
> > > >
> > > >
> > > > On 5/17/07, Jake Churchill <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > Can't you just read the file as a file object inside a try/catch
> and
> > > if it
> > > > > fails, the file is assumed to be corrupt
> > > > >
> > > > > _
> > > > >
> > > > >
> > > > >
> > > > > Jake Churchill
> > > > >
> > > > > CF Webtools
> > > > >
> > > > > 11204 Davenport, Ste. 200b
> > > > >
> > > > > Omaha, NE  68154
> > > > >
> > > > > http://www.cfwebtools.com
> > > > >
> > > > > 402-408-3733 x103
> > > > >
> > > > > -Original Message-
> > > > > From: AJ Mercer [mailto:[EMAIL PROTECTED]
> > > > > Sent: Thursday, May 17, 2007 1:32 AM
> > > > > To: CF-Talk
> > > > > Subject: java unzip :: verify file
> > > > >
> > > > > Hi,
> > > > >
> > > > > I have a cf script that is using java.util.zip.ZipFile to unzip -
> > > works
> > > > > great, except when...
> > > > >
> > > > > If the zip if corrupt it kills jRun.
> > > > >
> > > > > Does any one know if there is a way to verify / check the zip file
> to
> > > > > ensure
> > > > > it is not corrupt?
> > > > >
> > > > >
> > > > > Because it is dieing at the jRun level, I can not use cfcatch.
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
> 

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278549
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: java unzip :: verify file

2007-05-17 Thread Maximilian Nyman
Then I would suggest find/writing a small Java ZipVerifier that will
do this verification for you.

I created a quick example of a verifier and it seems to do the job.


import java.util.zip.ZipFile;
import java.util.zip.ZipException;
import java.io.IOException;

public class ZipVerifier {

  public static String EXCEPTION_STR = "";

  public static boolean verifyZip(String filePath) {
try {
  ZipFile zipFile = new ZipFile(filePath);
  return true;
}
catch( ZipException ze ) {
EXCEPTION_STR = ze.getMessage();
}
catch( IOException ioe ) {
EXCEPTION_STR = ioe.getMessage();
}
catch( SecurityException se ) {
EXCEPTION_STR = se.getMessage();
}
return false;
  }

  public static void main(String[] args) {
if( args.length > 0 ) {
  System.out.println( "Valid Zip file?: " +
ZipVerifier.verifyZip(args[0]) );
  System.out.println( EXCEPTION_STR );
}
else {
  System.out.println( "usage: java ZipVerifier " );
}
  }
}




On 5/18/07, AJ Mercer <[EMAIL PROTECTED]> wrote:
> no, it is getting past that
>
> zipFile = createObject("java","java.util.zip.ZipFile");
> zipFile.init(zipFilePath);
> //Get Entry Objects for Entries in the ZIP File
> entryList = zipFile.entries();
>
> //Create List of File Names from the ZIP File
> while(entryList.hasMoreElements()) {
> entry = entryList.nextElement();
> <==  dies here
> if (not entry.isDirectory()) {
> fileList = ListAppend(fileList,entry.getName());
>}
>  }
>
> message = invalid LOC header (bad signature)
>
> This kills jRun so I can't catch it in ColdFusion
>
>
> On 5/18/07, Maximilian Nyman <[EMAIL PROTECTED]> wrote:
> >
> > 
> >  > "java.util.zip.ZipFile").init(zipFileName) />
> > 
> > 
> > 
> > 
> >
> > That should throw a ZipException (and dump it) if the Zip file is corrupt
> >
> > /Max
> >
> >
> > On 5/18/07, AJ Mercer <[EMAIL PROTECTED]> wrote:
> > > cffile does not crash when using cffile with read or readbinary
> > >
> > >
> > >
> > > On 5/17/07, Jake Churchill <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Can't you just read the file as a file object inside a try/catch and
> > if it
> > > > fails, the file is assumed to be corrupt
> > > >
> > > > _
> > > >
> > > >
> > > >
> > > > Jake Churchill
> > > >
> > > > CF Webtools
> > > >
> > > > 11204 Davenport, Ste. 200b
> > > >
> > > > Omaha, NE  68154
> > > >
> > > > http://www.cfwebtools.com
> > > >
> > > > 402-408-3733 x103
> > > >
> > > > -Original Message-
> > > > From: AJ Mercer [mailto:[EMAIL PROTECTED]
> > > > Sent: Thursday, May 17, 2007 1:32 AM
> > > > To: CF-Talk
> > > > Subject: java unzip :: verify file
> > > >
> > > > Hi,
> > > >
> > > > I have a cf script that is using java.util.zip.ZipFile to unzip -
> > works
> > > > great, except when...
> > > >
> > > > If the zip if corrupt it kills jRun.
> > > >
> > > > Does any one know if there is a way to verify / check the zip file to
> > > > ensure
> > > > it is not corrupt?
> > > >
> > > >
> > > > Because it is dieing at the jRun level, I can not use cfcatch.
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
> 

~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278548
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Regular Expression to count links

2007-05-17 Thread K Simanonok
Thanks Charlie, looks like your solution will work, I'll test.

Andy, I appreciate your suggestion even if it won't work.

Tom, you may be well-intentioned, but do you realize your posts were useless?  
A question like "Hey buddy, can you tell me where the train station is?" is 
never intended to be taken so literally that "yes" is a worthwhile answer.  


>yeah.  can't use multiple character delimiters in CF.  Not with native
>CF array/list functions.
>
>if you use split(), you can.
>
>
>
>
>
>   #listLen(myString, '_!_')#
>   
>   #arrayLen(myArray)#
>
>
>On 5/16/07, Tom Chiverton <[EMAIL PROTECTED]> wrote:
>>

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278547
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: java unzip :: verify file

2007-05-17 Thread AJ Mercer
no, it is getting past that

zipFile = createObject("java","java.util.zip.ZipFile");
zipFile.init(zipFilePath);
//Get Entry Objects for Entries in the ZIP File
entryList = zipFile.entries();

//Create List of File Names from the ZIP File
while(entryList.hasMoreElements()) {
 entry = entryList.nextElement();
<==  dies here
 if (not entry.isDirectory()) {
 fileList = ListAppend(fileList,entry.getName());
}
  }

message = invalid LOC header (bad signature)

This kills jRun so I can't catch it in ColdFusion


On 5/18/07, Maximilian Nyman <[EMAIL PROTECTED]> wrote:
>
> 
>  "java.util.zip.ZipFile").init(zipFileName) />
> 
> 
> 
> 
>
> That should throw a ZipException (and dump it) if the Zip file is corrupt
>
> /Max
>
>
> On 5/18/07, AJ Mercer <[EMAIL PROTECTED]> wrote:
> > cffile does not crash when using cffile with read or readbinary
> >
> >
> >
> > On 5/17/07, Jake Churchill <[EMAIL PROTECTED]> wrote:
> > >
> > > Can't you just read the file as a file object inside a try/catch and
> if it
> > > fails, the file is assumed to be corrupt
> > >
> > > _
> > >
> > >
> > >
> > > Jake Churchill
> > >
> > > CF Webtools
> > >
> > > 11204 Davenport, Ste. 200b
> > >
> > > Omaha, NE  68154
> > >
> > > http://www.cfwebtools.com
> > >
> > > 402-408-3733 x103
> > >
> > > -Original Message-
> > > From: AJ Mercer [mailto:[EMAIL PROTECTED]
> > > Sent: Thursday, May 17, 2007 1:32 AM
> > > To: CF-Talk
> > > Subject: java unzip :: verify file
> > >
> > > Hi,
> > >
> > > I have a cf script that is using java.util.zip.ZipFile to unzip -
> works
> > > great, except when...
> > >
> > > If the zip if corrupt it kills jRun.
> > >
> > > Does any one know if there is a way to verify / check the zip file to
> > > ensure
> > > it is not corrupt?
> > >
> > >
> > > Because it is dieing at the jRun level, I can not use cfcatch.
> > >
> > >
> > >
> > >
> > >
> >
> >
>
> 

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278546
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: java unzip :: verify file

2007-05-17 Thread Maximilian Nyman







That should throw a ZipException (and dump it) if the Zip file is corrupt

/Max


On 5/18/07, AJ Mercer <[EMAIL PROTECTED]> wrote:
> cffile does not crash when using cffile with read or readbinary
>
>
>
> On 5/17/07, Jake Churchill <[EMAIL PROTECTED]> wrote:
> >
> > Can't you just read the file as a file object inside a try/catch and if it
> > fails, the file is assumed to be corrupt
> >
> > _
> >
> >
> >
> > Jake Churchill
> >
> > CF Webtools
> >
> > 11204 Davenport, Ste. 200b
> >
> > Omaha, NE  68154
> >
> > http://www.cfwebtools.com
> >
> > 402-408-3733 x103
> >
> > -Original Message-
> > From: AJ Mercer [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, May 17, 2007 1:32 AM
> > To: CF-Talk
> > Subject: java unzip :: verify file
> >
> > Hi,
> >
> > I have a cf script that is using java.util.zip.ZipFile to unzip - works
> > great, except when...
> >
> > If the zip if corrupt it kills jRun.
> >
> > Does any one know if there is a way to verify / check the zip file to
> > ensure
> > it is not corrupt?
> >
> >
> > Because it is dieing at the jRun level, I can not use cfcatch.
> >
> >
> >
> >
> >
>
> 

~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278545
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: java unzip :: verify file

2007-05-17 Thread AJ Mercer
cffile does not crash when using cffile with read or readbinary



On 5/17/07, Jake Churchill <[EMAIL PROTECTED]> wrote:
>
> Can't you just read the file as a file object inside a try/catch and if it
> fails, the file is assumed to be corrupt
>
> _
>
>
>
> Jake Churchill
>
> CF Webtools
>
> 11204 Davenport, Ste. 200b
>
> Omaha, NE  68154
>
> http://www.cfwebtools.com
>
> 402-408-3733 x103
>
> -Original Message-
> From: AJ Mercer [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 17, 2007 1:32 AM
> To: CF-Talk
> Subject: java unzip :: verify file
>
> Hi,
>
> I have a cf script that is using java.util.zip.ZipFile to unzip - works
> great, except when...
>
> If the zip if corrupt it kills jRun.
>
> Does any one know if there is a way to verify / check the zip file to
> ensure
> it is not corrupt?
>
>
> Because it is dieing at the jRun level, I can not use cfcatch.
>
>
>
>
> 

~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278544
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: cfloop output into columns - help

2007-05-17 Thread Bobby Hartsfield
Believe me... they could and WILL.. until they are blue in the face... so
let's not wake them up. ;-)

-Original Message-
From: Mark Henderson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 17, 2007 8:27 PM
To: CF-Talk
Subject: RE: cfloop output into columns - help

> From: Bobby Hartsfield
> Sent: Friday, 18 May 2007 12:08 p.m.
> To: CF-Talk
> Subject: RE: cfloop output into columns - help
> 
> > Of course, tables are perfect layout tools for tabular data, yes?!?
> 
> No argument here :-)

Agreed, & I don't think anyone could argue with that ...
. or could they???!!

-- 
This message has been scanned for viruses and dangerous
content by ISPNZ's automated virus detection system,
and is believed to be clean.




~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278543
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: cfloop output into columns - help

2007-05-17 Thread Mark Henderson
> From: Bobby Hartsfield
> Sent: Friday, 18 May 2007 12:08 p.m.
> To: CF-Talk
> Subject: RE: cfloop output into columns - help
> 
> > Of course, tables are perfect layout tools for tabular data, yes?!?
> 
> No argument here :-)

Agreed, & I don't think anyone could argue with that ...
 or could they???!!

-- 
This message has been scanned for viruses and dangerous
content by ISPNZ's automated virus detection system,
and is believed to be clean.


~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278542
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: SQL Tree Traversal

2007-05-17 Thread Greg Luce
I used this guy's model before without much trouble.
http://www.intelligententerprise.com/001020/celko.jhtml;jsessionid=Y34B5ELGNJP1GQSNDLRCKH0CJUNN2JVN?_requestid=374630

Joe Celko is the man!

Greg

On 5/17/07, Rey Bango <[EMAIL PROTECTED]> wrote:
>
> Guys, its been awhile since I've done tree/hierarchical SQL manipulation
> so I need some help. The data looks something like this:
>
> parent_member_idmember_id   Level
> 1   2   1
> 1   3   2
> 2   4   1
> 3   5   1
> 4   6   1
> 4   7   2
>
> In this scenario, I would be trying to find all downline members of a
> specific parent id. For example:
>
> If I wanted to see all downline members for parent_member_id 1, it would
> be:
>
> 2,3,4,5,6,7
>
> If I wanted to see all downline members for parent_member_id 2, it would
> be:
>
> 4,6,7
>
> If I wanted to see all downline members for parent_member_id 3, it would
> be:
>
> 5
>
> If I wanted to see all downline members for parent_member_id 4, it would
> be:
>
> 6,7
>
> Any guidance on this would be helpful. I've tried Googling this but to
> no avail.
>
>
>
> 

~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278541
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: cfloop output into columns - help

2007-05-17 Thread Bobby Hartsfield
> Of course, tables are perfect layout tools for 
> tabular data, yes?!?

No argument here :-)

-Original Message-
From: Les Mizzell [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 17, 2007 8:03 PM
To: CF-Talk
Subject: Re: cfloop output into columns - help

> Hi Lez. While it sounds good in theory, unfortunately floats are not
> that simple in reality. They work quite well for layouts and also when
> you have control over the content,

Yea - I was assuming there was a degree of control over the content. The 
last time i did it was to pull up image thumbnails - know height and width.

I've done this a number of other ways with floats - including a version 
using a master container, and then a "row wrapper" to keep the rows the 
same heights. PITA!!!

Of course, tables are perfect layout tools for tabular data, yes?!?



~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278540
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: cfloop output into columns - help

2007-05-17 Thread Les Mizzell
> Hi Lez. While it sounds good in theory, unfortunately floats are not
> that simple in reality. They work quite well for layouts and also when
> you have control over the content,

Yea - I was assuming there was a degree of control over the content. The 
last time i did it was to pull up image thumbnails - know height and width.

I've done this a number of other ways with floats - including a version 
using a master container, and then a "row wrapper" to keep the rows the 
same heights. PITA!!!

Of course, tables are perfect layout tools for tabular data, yes?!?

~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278539
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: MySQL on CF server

2007-05-17 Thread Casey Dougall
Considering CF can't use over 1.5 gb memory give or take, I'd say you would
have plenty for other applications, I wouldn't expect your applications to
run any faster then they are now. Separation is the best alternative,
expecially with mail since you need to run anti virus against it. That's
about the most memory intensive app you could have running on the box. We
run mysql and CF and IIS on a single box without problems. How many visitors
are you talking about.

I think our biggest hurdle is thread allocation. Only running CF Standard is
becoming troublesome when using cfdocument. That tag sucks ass, and I don't
expect things to be much better in Scorpio unless same with CF7, you go with
enterprise.

--

Casey


~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278538
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: MySQL on CF server

2007-05-17 Thread Jim McAtee
Thanks Matt.

SMTP and POP are on a separate server, and web stats on another.  One 
issue we've always had with multiple boxes powering a web site is that 
when one server is down then the web site is down.  Say CF/IIS on one and 
MySQL on another.  Without clustering or other failover measures this (to 
my thinking) effectively doubles the probability that the site will be 
down at any given time due to a hardware failure or the need to reboot 
either one of the machines.


- Original Message - 
From: "Matt Robertson" <[EMAIL PROTECTED]>
To: "CF-Talk" 
Sent: Thursday, May 17, 2007 5:22 PM
Subject: Re: MySQL on CF server


> It will run, but no matter how overbuilt your server is, you'll get
> better reliability from two separate servers.
>
> For years I ran a setup like you are describing... big dual-processor
> behemoth with uber-SCSI drives and gobs of memory.  The theory was to
> overbuild the single box and use all that extra capacity to run
> multiple apps off the same box (in my case that was CF/IIS, mySQL and
> SmarterMail/ASSP).
>
> When I eventually outgrew that, I went to two behemoths and put CF/IIS
> alone to itself, moving db and mail/antispam to its own box.
>
> Reliability went WAY up.
>
> Later, I decided to go with a lower-cost approach:  A mid-grade build
> for web/CF (dual Xeon, 2gb, 1 73gb SCSI drive), and a single cheapo
> server for mySQL, another for mail, another for DNS/antispam and so
> on.  I wound up spending less for *five* 'little' servers that each
> did only one or two things ($480/month) than I did for Godzilla and
> Megalon ($850/month for both) ... and reliability went from 'pretty
> darn reliable' to 'rock solid forever and ever'.  I personally would
> never go back to doubling and tripling up like that if I could help
> it.  My server setup:
>
> LARRY
>   primary DNS
>   statistics (smarterstats)
>   backup for all the other servers (synchback, mySQL via sqlYog 
> scheduled jobs)
> CURLY
>   CF-generated smtp (smartermail)
>   antispam gateway for human-generated mail (ASSP)
> MOE
>   mySQL
> SHEMP
>   CF
>   IIS
> JOE
>   Secondary DNS
>   human smtp/pop mail server, web mail (smartermail)
>
>
> If I need more capacity I'd replace one of the small boxes above with
> a bigger one.
>
> -- 
> [EMAIL PROTECTED]
> Janitor, The Robertson Team
> mysecretbase.com
>
>
> On 5/17/07, Jim McAtee <[EMAIL PROTECTED]> wrote:
>> We're finally going to be migrating from CF 5 to CFMX 7.1 soon and will
>> spec a new server with Win2k3 Server Standard as the OS.  The dbms,
>> currently running on a separate Windows server, is MySQL 5.0.  If we 
>> move
>> MySQL to the new server, how well could we expect it to coexist with
>> CF/IIS on the same machine?  The new server will likely be far more
>> powerful than needed given our traffic level and the complexity of our 
>> web
>> sites - either a single or dual dual-core Xeon, 4GB memory, 10k RPM SAS
>> disks.  I suspect MySQL will run faster on this machine, even with CF 
>> and
>> IIS running along side, and it eliminates the 100 Mbps network 
>> connection
>> between two machines.
>>
>> Any thoughts or recommendations?
>>
>>
>>
>
> 

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278537
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: MySQL on CF server

2007-05-17 Thread Matt Robertson
It will run, but no matter how overbuilt your server is, you'll get
better reliability from two separate servers.

For years I ran a setup like you are describing... big dual-processor
behemoth with uber-SCSI drives and gobs of memory.  The theory was to
overbuild the single box and use all that extra capacity to run
multiple apps off the same box (in my case that was CF/IIS, mySQL and
SmarterMail/ASSP).

When I eventually outgrew that, I went to two behemoths and put CF/IIS
alone to itself, moving db and mail/antispam to its own box.

Reliability went WAY up.

Later, I decided to go with a lower-cost approach:  A mid-grade build
for web/CF (dual Xeon, 2gb, 1 73gb SCSI drive), and a single cheapo
server for mySQL, another for mail, another for DNS/antispam and so
on.  I wound up spending less for *five* 'little' servers that each
did only one or two things ($480/month) than I did for Godzilla and
Megalon ($850/month for both) ... and reliability went from 'pretty
darn reliable' to 'rock solid forever and ever'.  I personally would
never go back to doubling and tripling up like that if I could help
it.  My server setup:

LARRY
   primary DNS
   statistics (smarterstats)
   backup for all the other servers (synchback, mySQL via sqlYog scheduled jobs)
CURLY
   CF-generated smtp (smartermail)
   antispam gateway for human-generated mail (ASSP)
MOE
   mySQL
SHEMP
   CF
   IIS
JOE
   Secondary DNS
   human smtp/pop mail server, web mail (smartermail)


If I need more capacity I'd replace one of the small boxes above with
a bigger one.

-- 
[EMAIL PROTECTED]
Janitor, The Robertson Team
mysecretbase.com


On 5/17/07, Jim McAtee <[EMAIL PROTECTED]> wrote:
> We're finally going to be migrating from CF 5 to CFMX 7.1 soon and will
> spec a new server with Win2k3 Server Standard as the OS.  The dbms,
> currently running on a separate Windows server, is MySQL 5.0.  If we move
> MySQL to the new server, how well could we expect it to coexist with
> CF/IIS on the same machine?  The new server will likely be far more
> powerful than needed given our traffic level and the complexity of our web
> sites - either a single or dual dual-core Xeon, 4GB memory, 10k RPM SAS
> disks.  I suspect MySQL will run faster on this machine, even with CF and
> IIS running along side, and it eliminates the 100 Mbps network connection
> between two machines.
>
> Any thoughts or recommendations?
>
>
> 

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278536
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Parse Complex Text File

2007-05-17 Thread Mark Mandel
Depending on how good your Java is, you may want to look at using a
java.io.BufferedReader with a FileReader so that you can go through
your file line by line, rather than doing it all in one chunk.

Failing that, if you want to stick to cf, you could always do 
in, and then do a fileContents.split(char(10)); to break it out into
an array of lines.

Just some thoughts to make your life a little bit easier.

Mark

On 5/17/07, Claude Schneegans <[EMAIL PROTECTED]> wrote:
>  >>I'm trying to parse a text file into my database
>
> Perfect job for CF_REExtract:
> - Go to
> http://www.contentbox.com/claude/customtags/REextract/testingREextract.cfm
> - enter [0-9]{5,5} *\(base 16\) * in RE1
> - enter [0-9]{2,2}-[0-9]{2,2}-[0-9]{2,2} in RE2
> - enter a sample of your file in the textarea, ie:
> 00-00-00   (hex)XEROX CORPORATION
> 00 (base 16)XEROX CORPORATION
> M/S 105-50C
> 800 PHILLIPS ROAD
> WEBSTER NY 14580
> UNITED STATES
>
> 00-00-01   (hex)XEROX CORPORATION
> 01 (base 16)XEROX CORPORATION
> ZEROX SYSTEMS INSTITUTE
> M/S 105-50C 800 PHILLIPS ROAD
> WEBSTER NY 14580
> UNITED STATES
>
> 00-00-02   (hex)XEROX CORPORATION
> 02 (base 16)XEROX CORPORATION
> XEROX SYSTEMS INSTITUTE
> M/S 105-50C 800 PHILLIPS ROAD
> WEBSTER NY 14580
> UNITED STATES
>
> 00-00-03   (hex)XEROX CORPORATION
> 03 (base 16)XEROX CORPORATION
> ZEROX SYSTEMS INSTITUTE
> M/S 105-50CEW AVENUE 800 PHILLIPS ROAD
> WEBSTER NY 14580
> UNITED STATES
>
> 00-00-04   (hex)XEROX CORPORATION
> 04 (base 16)XEROX CORPORATION
> OFFICE SYSTEMS DIVISION
> M/S 105-50C 800 PHILLIPS ROAD4
> WEBSTER NY 14580
> UNITED STATES
>
>  and see the result.
> You can then loop on the query and extract whatever you need from each
> record.
> But it will take more than 5 seconds ;-/
>
> --
> ___
> REUSE CODE! Use custom tags;
> See http://www.contentbox.com/claude/customtags/tagstore.cfm
> (Please send any spam to this address: [EMAIL PROTECTED])
> Thanks.
>
>
> 

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278535
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: MySQL on CF server

2007-05-17 Thread Jim McAtee
Appreciate the recommendation, but we've always owned and maintained our 
own servers and have a partial cabinet in a pretty nice colocation 
facility.


- Original Message - 
From: "Hatem Jaber" <[EMAIL PROTECTED]>
To: "CF-Talk" 
Sent: Thursday, May 17, 2007 5:02 PM
Subject: Re: MySQL on CF server


> Goto Fullcontrol.net and check out what they have. I have been with them 
> for
> over 4 years and can't be any happier. We have never had any downtime 
> due to
> their network or servers.
>
> Good luck!
>
> - Original Message - 
> From: "Jim McAtee" <[EMAIL PROTECTED]>
> To: "CF-Talk" 
> Sent: Thursday, May 17, 2007 7:00 PM
> Subject: MySQL on CF server
>
>
>> We're finally going to be migrating from CF 5 to CFMX 7.1 soon and will
>> spec a new server with Win2k3 Server Standard as the OS.  The dbms,
>> currently running on a separate Windows server, is MySQL 5.0.  If we 
>> move
>> MySQL to the new server, how well could we expect it to coexist with
>> CF/IIS on the same machine?  The new server will likely be far more
>> powerful than needed given our traffic level and the complexity of our 
>> web
>> sites - either a single or dual dual-core Xeon, 4GB memory, 10k RPM SAS
>> disks.  I suspect MySQL will run faster on this machine, even with CF 
>> and
>> IIS running along side, and it eliminates the 100 Mbps network 
>> connection
>> between two machines.
>>
>> Any thoughts or recommendations? 


~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278534
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: cfloop output into columns - help

2007-05-17 Thread Mark Henderson
Les Mizzell wrote

> Of course, if you're using CSS for your layouts, this is even 
> easier and no fancy code wrangling needed:
> 
> 
>   
> #myQUERY.myOUTPUT#
>   
> 
> 
> 
> In the most simple form:
> Set your "container" div at the desired overall width.
> Set your "queryCELL" div at the division you want and float it left.
> 
> So, if the "container" is 600px, you get two columns if 
> "queryCELL" is 300px, three columns at 200px ... and so on.
> 
> Don't forget your IE float bug, padding and such into 
> consideration, but hey, it's neat code and it works.
 
Hi Lez. While it sounds good in theory, unfortunately floats are not
that simple in reality. They work quite well for layouts and also when
you have control over the content, but not always when the content is
dynamic. An example of a problem with the code you provided follows:

Lets say your first query cell contains the data "christopher I have the
longest name in the world" which wraps inside your queryCELL div, and
your second contains "chris" . When the third record gets inserted, it
will float left but line up right below your second record (to the
right), then the fourth record will do the same depending on its length,
and so on and so forth, until you have a mess. 

Warning - very bad ASCII art follows, and as I am using Outlook at work
it may not appear as I desire.

-  --
| Record 1   | |record 2 |
| wrapping   | --
| and a little | | record 3 |
| more wrap | --
--
| Record 4   |
--

Can you see what's happening? I can, because I've been here before. If
this still isn't making sense here is a quick and dirty online example;

http://www.cwc.co.nz/sandbox/messy-floats.html

In these instances you need to use a row wrapper to _contain_ the
querycells, to stop precisely this kind of thing (second example on page
above), and then the logic starts to resemble that of Bobby's (which
looked good to me), since you need to work out when to close the row
wrapper div. I use something similar on the thumb display of a photo
gallery. The bare code follows.



  

  
  
  

  

  
  
  
  


  


Obviously this was from a query on a directory and for 3 images per row.
It's quite possible there is a better way of working the logic, but it
is still required and you get the idea.

HTH
Mark

-- 
This message has been scanned for viruses and dangerous
content by ISPNZ's automated virus detection system,
and is believed to be clean.


~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278533
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: MySQL on CF server

2007-05-17 Thread Hatem Jaber
Goto Fullcontrol.net and check out what they have. I have been with them for 
over 4 years and can't be any happier. We have never had any downtime due to 
their network or servers.

Good luck!

- Original Message - 
From: "Jim McAtee" <[EMAIL PROTECTED]>
To: "CF-Talk" 
Sent: Thursday, May 17, 2007 7:00 PM
Subject: MySQL on CF server


> We're finally going to be migrating from CF 5 to CFMX 7.1 soon and will
> spec a new server with Win2k3 Server Standard as the OS.  The dbms,
> currently running on a separate Windows server, is MySQL 5.0.  If we move
> MySQL to the new server, how well could we expect it to coexist with
> CF/IIS on the same machine?  The new server will likely be far more
> powerful than needed given our traffic level and the complexity of our web
> sites - either a single or dual dual-core Xeon, 4GB memory, 10k RPM SAS
> disks.  I suspect MySQL will run faster on this machine, even with CF and
> IIS running along side, and it eliminates the 100 Mbps network connection
> between two machines.
>
> Any thoughts or recommendations?
>
>
> 

~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278532
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


MySQL on CF server

2007-05-17 Thread Jim McAtee
We're finally going to be migrating from CF 5 to CFMX 7.1 soon and will 
spec a new server with Win2k3 Server Standard as the OS.  The dbms, 
currently running on a separate Windows server, is MySQL 5.0.  If we move 
MySQL to the new server, how well could we expect it to coexist with 
CF/IIS on the same machine?  The new server will likely be far more 
powerful than needed given our traffic level and the complexity of our web 
sites - either a single or dual dual-core Xeon, 4GB memory, 10k RPM SAS 
disks.  I suspect MySQL will run faster on this machine, even with CF and 
IIS running along side, and it eliminates the 100 Mbps network connection 
between two machines.

Any thoughts or recommendations? 


~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278531
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: cfloop output into columns - help

2007-05-17 Thread Bobby Hartsfield
You can access your query results the same way you do an array with:

getFoo['lname'][1]
getFoo['lname'][2]
getFoo['lname'][etc...]

That would help you cut out the conversion.

-Original Message-
From: Christopher Chin [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 17, 2007 6:11 PM
To: CF-Talk
Subject: Re: cfloop output into columns - help

the loop is outside the table because i wanted to have a separate table per
2 records or per 1 record.  That's the way the graphic designer coded the
mockup here.
the 2nd line is the error.  I was hoping that someone would be able to help
me with my looping to remove the erroneous table.

Right now it looks like this:
1   2
2
3   4
4
etc.

it should look like this:
1   2
3   4
etc.

No matter.  I went ahead and converted my query to an array of structures.
Then I iterated through the array.



   
  #myArray[i].fname# #myArray[i].lname#
  
  #myArray[i+1].fname# #myArray[i+1].lname#
  
   



Probably lost some efficiency when converting query to an array, but it sure
makes life easier in coding this mockup.

Thoughts?  Could I have done this better?

Thanks!
Chris
p.s. you guys are great...i posted in Google Groups and got no responses.


> getfoo is right...
> 
> Not sure if this has already been fixed, but the  tags need 
> to be INside the table tags, so each iteration in the loop creates a 
> new row, not a new table.
> 
> Also, not sure what the purpose of the "cfif currentrow LTE 
> recordcount" is for. The loop will end when the recordset is done, so 
> this is redundant.
> 
> Not sure why they want to show the next row on the current row. 
> Doesn't make sense at all. Especially since it's set to happen every 
> other row... unless they were trying to do something like this, 
> putting two names per line?
> 

>

> 

> 

> #getFoo.fname# #getFoo.lname#

> #getFoo.fname[currentrow+1]# #getFoo.lname[currentrow+1]#

> 
> 
> Mik
> 
> 
> At 05:36 PM 5/17/2007, Bobby Hartsfield wrote:
> >Without fixed widths on the cells, they aren?t going to line up in 
> separate
> >tables
> >
> >-Original Message-
> >From: Christopher Chin [mailto:[EMAIL PROTECTED] 
> >Sent: Thursday, May 17, 2007 4:55 PM
> >To: CF-Talk
> >Subject: Re: cfloop output into columns - help
> >
> >OK..I have a new issue with the HTML.  My designer just changed the 
> layout
> >on me and I'm having a hard time with the logic for the html.
> >
> >Here is my code:
> >
> > select * from employees where fname like 'chris%' order by fname, 
> lname
> >
> >
> >
> >
> >   
> > 
> >   
> 
> >#getFoo.fname# #getFoo.lname#
> >
> >#getFoo.fname# #getFoo.lname#
> >#getFoo.fname[currentrow+1]# #getFoo.
> lname[currentrow+1]#
> >
> > 
> >   
> >
> >
> >
> >The difference now is that there's one table per record in the query.  
> the
> >table has either 1 or 2 columns based on the # of results.
> >
> >see it in action here: http://www.christopherchin.com/cflooptest2.
> cfm
> >
> >any help with the logic is much appreciated :O)
> >
> >thanx!
> >Chris
> 
> 
> Michael Muller
> Admin, MontagueMA.net Website
> work (413) 863-0030
> cell (413) 320-5336
> skype: michaelBmuller
> http://www.MontagueMA.net
> 
> Eschew Obfuscation
> 
> 



~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278530
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cfloop output into columns - help

2007-05-17 Thread Christopher Chin
the loop is outside the table because i wanted to have a separate table per 2 
records or per 1 record.  That's the way the graphic designer coded the mockup 
here.
the 2nd line is the error.  I was hoping that someone would be able to help me 
with my looping to remove the erroneous table.

Right now it looks like this:
1   2
2
3   4
4
etc.

it should look like this:
1   2
3   4
etc.

No matter.  I went ahead and converted my query to an array of structures.
Then I iterated through the array.



   
  #myArray[i].fname# #myArray[i].lname#
  
  #myArray[i+1].fname# #myArray[i+1].lname#
  
   



Probably lost some efficiency when converting query to an array, but it sure 
makes life easier in coding this mockup.

Thoughts?  Could I have done this better?

Thanks!
Chris
p.s. you guys are great...i posted in Google Groups and got no responses.


> getfoo is right...
> 
> Not sure if this has already been fixed, but the  tags need 
> to be INside the table tags, so each iteration in the loop creates a 
> new row, not a new table.
> 
> Also, not sure what the purpose of the "cfif currentrow LTE 
> recordcount" is for. The loop will end when the recordset is done, so 
> this is redundant.
> 
> Not sure why they want to show the next row on the current row. 
> Doesn't make sense at all. Especially since it's set to happen every 
> other row... unless they were trying to do something like this, 
> putting two names per line?
> 

>

> 

> 

> #getFoo.fname# #getFoo.lname#

> #getFoo.fname[currentrow+1]# #getFoo.lname[currentrow+1]#

> 
> 
> Mik
> 
> 
> At 05:36 PM 5/17/2007, Bobby Hartsfield wrote:
> >Without fixed widths on the cells, they aren?t going to line up in 
> separate
> >tables
> >
> >-Original Message-
> >From: Christopher Chin [mailto:[EMAIL PROTECTED] 
> >Sent: Thursday, May 17, 2007 4:55 PM
> >To: CF-Talk
> >Subject: Re: cfloop output into columns - help
> >
> >OK..I have a new issue with the HTML.  My designer just changed the 
> layout
> >on me and I'm having a hard time with the logic for the html.
> >
> >Here is my code:
> >
> > select * from employees where fname like 'chris%' order by fname, 
> lname
> >
> >
> >
> >
> >   
> > 
> >   
> 
> >#getFoo.fname# #getFoo.lname#
> >
> >#getFoo.fname# #getFoo.lname#
> >#getFoo.fname[currentrow+1]# #getFoo.
> lname[currentrow+1]#
> >
> > 
> >   
> >
> >
> >
> >The difference now is that there's one table per record in the query.  
> the
> >table has either 1 or 2 columns based on the # of results.
> >
> >see it in action here: http://www.christopherchin.com/cflooptest2.
> cfm
> >
> >any help with the logic is much appreciated :O)
> >
> >thanx!
> >Chris
> 
> 
> Michael Muller
> Admin, MontagueMA.net Website
> work (413) 863-0030
> cell (413) 320-5336
> skype: michaelBmuller
> http://www.MontagueMA.net
> 
> Eschew Obfuscation
> 
> 

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278529
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Does CF Framework make life easier? Which one to start?

2007-05-17 Thread Christopher Jordan
Thanks Mark. That's really helpful. :o)

Chris

Mark Mandel wrote:
> The blog post for describing the differences between framework types:
> http://www.remotesynthesis.com/blog/index.cfm/2007/2/27/Mach-II-or-ColdSpring-Understanding-the-Differences-Between-ColdFusion-Frameworks
>
> Mark
>
> On 5/18/07, Aaron Roberson <[EMAIL PROTECTED]> wrote:
>   
>>> I personally
>>> understood the string of controller frameword initials you threw down,
>>> but for someone asking what to use two-letter initials probably don't
>>> help much.
>>>   
>> Chris,
>>
>> I realize that, but I didn't care to "promote" all of the frameworks I
>> mentioned so I only explained the ones was advocating.
>>
>> A controller framework at a basic level solves the problem needing a
>> mechanism for routing actions to their corresponding events. A DI/ioC
>> solves the problem of one class depending on another class or property
>> for proper initialization by injecting those classes or properties
>> into the class. An ORM solves the problem of needing to compose your
>> objects. I know those are vague explanations, but hopefully they will
>> get you started in the right direction.
>>
>> @Neil & Charlie - Thank you for expanding those!
>>
>> -Aaron
>>
>>
>> 
>
> 

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278528
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Does CF Framework make life easier? Which one to start?

2007-05-17 Thread Mark Mandel
The blog post for describing the differences between framework types:
http://www.remotesynthesis.com/blog/index.cfm/2007/2/27/Mach-II-or-ColdSpring-Understanding-the-Differences-Between-ColdFusion-Frameworks

Mark

On 5/18/07, Aaron Roberson <[EMAIL PROTECTED]> wrote:
> > I personally
> > understood the string of controller frameword initials you threw down,
> > but for someone asking what to use two-letter initials probably don't
> > help much.
>
> Chris,
>
> I realize that, but I didn't care to "promote" all of the frameworks I
> mentioned so I only explained the ones was advocating.
>
> A controller framework at a basic level solves the problem needing a
> mechanism for routing actions to their corresponding events. A DI/ioC
> solves the problem of one class depending on another class or property
> for proper initialization by injecting those classes or properties
> into the class. An ORM solves the problem of needing to compose your
> objects. I know those are vague explanations, but hopefully they will
> get you started in the right direction.
>
> @Neil & Charlie - Thank you for expanding those!
>
> -Aaron
>
> 

~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278527
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: cfloop output into columns - help

2007-05-17 Thread Mik Muller
getfoo is right...

Not sure if this has already been fixed, but the  tags need to be 
INside the table tags, so each iteration in the loop creates a new row, not a 
new table.

Also, not sure what the purpose of the "cfif currentrow LTE recordcount" is 
for. The loop will end when the recordset is done, so this is redundant.

Not sure why they want to show the next row on the current row. Doesn't make 
sense at all. Especially since it's set to happen every other row... unless 
they were trying to do something like this, putting two names per line?

   


#getFoo.fname# #getFoo.lname#
#getFoo.fname[currentrow+1]# #getFoo.lname[currentrow+1]#


Mik


At 05:36 PM 5/17/2007, Bobby Hartsfield wrote:
>Without fixed widths on the cells, they aren’t going to line up in separate
>tables
>
>-Original Message-
>From: Christopher Chin [mailto:[EMAIL PROTECTED] 
>Sent: Thursday, May 17, 2007 4:55 PM
>To: CF-Talk
>Subject: Re: cfloop output into columns - help
>
>OK..I have a new issue with the HTML.  My designer just changed the layout
>on me and I'm having a hard time with the logic for the html.
>
>Here is my code:
>
> select * from employees where fname like 'chris%' order by fname, lname
>
>
>
>
>   
> 
>   
>#getFoo.fname# #getFoo.lname#
>
>#getFoo.fname# #getFoo.lname#
>#getFoo.fname[currentrow+1]# #getFoo.lname[currentrow+1]#
>
> 
>   
>
>
>
>The difference now is that there's one table per record in the query.  the
>table has either 1 or 2 columns based on the # of results.
>
>see it in action here: http://www.christopherchin.com/cflooptest2.cfm
>
>any help with the logic is much appreciated :O)
>
>thanx!
>Chris


Michael Muller
Admin, MontagueMA.net Website
work (413) 863-0030
cell (413) 320-5336
skype: michaelBmuller
http://www.MontagueMA.net

Eschew Obfuscation




~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278526
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: cfloop output into columns - help

2007-05-17 Thread Bobby Hartsfield
Without fixed widths on the cells, they aren’t going to line up in separate
tables

-Original Message-
From: Christopher Chin [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 17, 2007 4:55 PM
To: CF-Talk
Subject: Re: cfloop output into columns - help

OK..I have a new issue with the HTML.  My designer just changed the layout
on me and I'm having a hard time with the logic for the html.

Here is my code:

 select * from employees where fname like 'chris%' order by fname, lname




   
 
   
#getFoo.fname# #getFoo.lname#

#getFoo.fname# #getFoo.lname#
#getFoo.fname[currentrow+1]# #getFoo.lname[currentrow+1]#

 
   



The difference now is that there's one table per record in the query.  the
table has either 1 or 2 columns based on the # of results.

see it in action here: http://www.christopherchin.com/cflooptest2.cfm

any help with the logic is much appreciated :O)

thanx!
Chris



~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278525
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: does cf7 work with sql 2005?

2007-05-17 Thread Mike Kear
Yep.  Like they were born together.I have many sites with that
combination - some of my own and some of my clients.

Cheers
Mike Kear
Windsor, NSW, Australia
Adobe Certified Advanced ColdFusion Developer
AFP Webworks
http://afpwebworks.com
ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month

On 5/18/07, Jonathan Block <[EMAIL PROTECTED]> wrote:
> do the db drivers in cf7 work well with a sql 2005 database?
>
> Jon
>
>
>

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278522
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: does cf7 work with sql 2005?

2007-05-17 Thread Charlie Griefer
On 5/17/07, Jonathan Block <[EMAIL PROTECTED]> wrote:
> do the db drivers in cf7 work well with a sql 2005 database?

yes.

http://www.forta.com/blog/index.cfm/2006/1/10/ColdFusion-And-SQL-Server-2005
http://www.petefreitag.com/item/458.cfm (great "how to")
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=ded4216b (this
one actually discusses downloading the MS JDBC driver for SQL Server
2k5)

-- 
Charlie Griefer


"...All the world shall be your enemy, Prince with a Thousand Enemies,
and whenever they catch you, they will kill you. But first they must catch
you, digger, listener, runner, prince with a swift warning.
Be cunning and full of tricks and your people shall never be destroyed."

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278524
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: does cf7 work with sql 2005?

2007-05-17 Thread Robertson-Ravo, Neil (RX)
Yes. ColdFusion will take to any DB which supports JDBC.




"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 information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions." 
Visit our website at http://www.reedexpo.com

-Original Message-
From: Jonathan Block
To: CF-Talk
Sent: Thu May 17 22:08:42 2007
Subject: does cf7 work with sql 2005?

do the db drivers in cf7 work well with a sql 2005 database?

Jon




~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278523
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: does cf7 work with sql 2005?

2007-05-17 Thread Brad Wood
We use it.  CFMX 7.0.2 with MS SQL Server 2005.

Works great.

~Brad

-Original Message-
From: Jonathan Block [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 17, 2007 4:09 PM
To: CF-Talk
Subject: does cf7 work with sql 2005?

do the db drivers in cf7 work well with a sql 2005 database?

Jon




~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278521
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


does cf7 work with sql 2005?

2007-05-17 Thread Jonathan Block
do the db drivers in cf7 work well with a sql 2005 database?

Jon


~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278520
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Concepts of Developing Locally with CFEclipse

2007-05-17 Thread Jaime Metcher
Rick,

It think your questions have mostly been answered, but to do so in the
context of your original post:

> We have 7 or 8 web sites that I work on regularly, so from a local
> development perspective, I either need to use a locally installed web
> server with one instance of coldfusion...  or I need to install
> multiple instances of coldfusion and use the built in web server for
> each web site.  Those are my options, right?

If you're using single instance installs on production, that's what I'd do
on dev.

>
> Can I use the Developer Edition locally but still use an external web
> server with host headers to determine which site I'm accessing?  That
> way I could just use a hosts file to get to them.
>

Yep.

> Now... should I edit the source code "in place" in the appropriate web
> root?

Yep.

>I've been using flex Builder a lot and it publishes the
> compiled swf and HTML to the destination directory each time.. is
> there something similar when using CFEclipse to edit HTML/CFM/CFC
> files?

No need.

>
> If I'm also using Subversion and something like Subclipse (I haven't
> tried this yet)... should my webroot also be my "working copy"?
>

Yep.

Jaime Metcher




~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278519
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: cfloop output into columns - help

2007-05-17 Thread Christopher Chin
OK..I have a new issue with the HTML.  My designer just changed the layout on 
me and I'm having a hard time with the logic for the html.

Here is my code:

 select * from employees where fname like 'chris%' order by fname, lname




   
 
   
#getFoo.fname# #getFoo.lname#

#getFoo.fname# #getFoo.lname#
#getFoo.fname[currentrow+1]# #getFoo.lname[currentrow+1]#

 
   



The difference now is that there's one table per record in the query.  the 
table has either 1 or 2 columns based on the # of results.

see it in action here: http://www.christopherchin.com/cflooptest2.cfm

any help with the logic is much appreciated :O)

thanx!
Chris

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278518
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


SQL Tree Traversal

2007-05-17 Thread Rey Bango
Guys, its been awhile since I've done tree/hierarchical SQL manipulation 
so I need some help. The data looks something like this:

parent_member_idmember_id   Level
1   2   1
1   3   2
2   4   1
3   5   1
4   6   1
4   7   2

In this scenario, I would be trying to find all downline members of a 
specific parent id. For example:

If I wanted to see all downline members for parent_member_id 1, it would be:

2,3,4,5,6,7

If I wanted to see all downline members for parent_member_id 2, it would be:

4,6,7

If I wanted to see all downline members for parent_member_id 3, it would be:

5

If I wanted to see all downline members for parent_member_id 4, it would be:

6,7

Any guidance on this would be helpful. I've tried Googling this but to 
no avail.



~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278517
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Does CF Framework make life easier? Which one to start?

2007-05-17 Thread Aaron Roberson
> I personally
> understood the string of controller frameword initials you threw down,
> but for someone asking what to use two-letter initials probably don't
> help much.

Chris,

I realize that, but I didn't care to "promote" all of the frameworks I
mentioned so I only explained the ones was advocating.

A controller framework at a basic level solves the problem needing a
mechanism for routing actions to their corresponding events. A DI/ioC
solves the problem of one class depending on another class or property
for proper initialization by injecting those classes or properties
into the class. An ORM solves the problem of needing to compose your
objects. I know those are vague explanations, but hopefully they will
get you started in the right direction.

@Neil & Charlie - Thank you for expanding those!

-Aaron

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278516
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Error setting up FCKEditor

2007-05-17 Thread Mike Kear
Yes, Paul I know exactly what is causing that error.The "page not
found' is referring to the blank page that FCKEditor puts in the
editing area.   you need to make sure the reference to that page is
correct.

On my instances of FCKEditor, that line is the following:

fckEditor.basePath  = "/cfforms/scripts/fckeditor/";

or in some of my sites, i have the following:

fckEditor.basePath  = "#application.fckeditorbasepath#";

The problem you have is similar to the previous problem - you just
need to tinker around with the values in that line to make sure it's
pointing to the folder that contains the fckeditor.cfc.  (I"m assuming
you have kept all the files in teh same folder layout as the default
installation.   I wouldnt recommend you move anything about unless yoo
konw what all those files do and where the path references to them
are).

Here's a complete FCKEditor instance from one of my sites, that you can follow:


fckeditor = createObject("component", 
"cfforms.scripts.fckeditor.fckeditor");
fckEditor.instanceName  = "story";  //the field name in the 
form scope
fckEditor.value = '#Content.getStory()#';  
//the default value in
the editing window
fckEditor.basePath  = "/cfforms/scripts/fckeditor/";
//fckEditor.toolbarset  = "default";
fckEditor.width = "80%";
fckEditor.height= 400;
fckEditor.create(); // create the editor.


Hope this gets you going - if not, feel free to ask more questions.

Cheers
Mike Kear
Windsor, NSW, Australia
Adobe Certified Advanced ColdFusion Developer
AFP Webworks
http://afpwebworks.com
ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month



On 5/18/07, Paul Henderson <[EMAIL PROTECTED]> wrote:
> Thanks Mike,
>
> I seemed to make some progress setting the basepath to /fckeditor/ and
> manually setting the fckeditor ro fckeditor   = createObject("component",
> "fckeditor.fckeditor");
>
> But now, I get a page cannot be displayed error in the section the editor
> should load into. I'm not sure what I could be doing wrong, the
> documentation sure makes the process seem simple enough. Any other thoughts?
> Thanks again.
>
>
>

~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278515
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: SOT: CFEclipse temporary hangs

2007-05-17 Thread Bryan Stevenson
> it seems to
>> hang for 15-30 seconds while it "wakes up".  Other than  that
>> sleepiness issue I love it.but it's REALLY annoying and a big time
>> waster IMHO.
>
> I doubt you can get much done in 15-30 seconds anyway. :)

Well add that up over the course of a day.

it's more of a workflow issueI code fast and switch between windows like a 
mad manuntil I get to Eclipse and have to sit and ponder my navel while it 
catches up with me ;-)

Cheers

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 PROTECTED]
web: www.electricedgesystems.com

Notice:
This message, including any attachments, is confidential and may contain
information that is privileged or exempt from disclosure. It is intended
only for the person to whom it is addressed unless expressly authorized
otherwise by the sender. If you are not an authorized recipient, please
notify the sender immediately and permanently destroy all copies of this
message and attachments. 



~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278514
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cfloop output into columns - help

2007-05-17 Thread Les Mizzell
> Using Bobby's simple code, I got it to work (yes, fix the problem; don't
> cover it up).

Of course, if you're using CSS for your layouts, this is even easier and 
no fancy code wrangling needed:


  
#myQUERY.myOUTPUT#
  



In the most simple form:
Set your "container" div at the desired overall width.
Set your "queryCELL" div at the division you want and float it left.

So, if the "container" is 600px, you get two columns if "queryCELL" is 
300px, three columns at 200px ... and so on.

Don't forget your IE float bug, padding and such into consideration, but 
hey, it's neat code and it works.

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278513
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: SOT: CFEclipse temporary hangs

2007-05-17 Thread Will Tomlinson
 it seems to 
> hang for 15-30 seconds while it "wakes up".  Other than  that 
> sleepiness issue I love it.but it's REALLY annoying and a big time 
> waster IMHO.

I doubt you can get much done in 15-30 seconds anyway. :)


~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278512
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Concepts of Developing Locally with CFEclipse

2007-05-17 Thread Rick Root
On 5/17/07, Hatem Jaber <[EMAIL PROTECTED]> wrote:
> Rick,
>
> http://www.acidlabs.org/extras/acme/
>
> That's all you need to know to get you started with setting up in my opinion
> the best dev environement for CF developers, for both windows and mac.

I've actually seen that =)  It's 108 pages of screenshots, much of it
is "how to install" coldfusion, mysql, cfeclipse, and apache.  I don't
need to know how to install any of those things (and I have no
intention of using apache in development since we don't use it in
production)

I will look more in depth at it as I see a few places in it where it
offers answers to some of my questions...

Rick

~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278511
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: SOT: CFEclipse temporary hangs

2007-05-17 Thread Doug Bezona
512 is probably not enough - Eclipse tends to use around 200MB by itself,
and XP is probably paging it to disk when you unfocus it.

I love Eclipse, but it is a bit of a RAM hog. Try allocating more RAM to the
VM and see if it helps.

On 5/17/07, Bryan Stevenson <[EMAIL PROTECTED]> wrote:
>
> Hey Doug,
>
> Nope...I typically do not minimize it.  I have wondered about the Virtual
> PC and
> if that (as you mentioned) may be the culprit.  I've certainly seen some
> odd CPU
> spikes on the virtual PCand unexpected hangs.
>
> I have 1.5 GB of RAM and 512 allocated to the virtual PCproblem is you
> can't
> get an accurate RAM reading off the virtual PC...so not really sure if I'm
> using
> most of it or not ;-)
>
> Thanks for the info
>
> 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 PROTECTED]
> web: www.electricedgesystems.com
>
> Notice:
> This message, including any attachments, is confidential and may contain
> information that is privileged or exempt from disclosure. It is intended
> only for the person to whom it is addressed unless expressly authorized
> otherwise by the sender. If you are not an authorized recipient, please
> notify the sender immediately and permanently destroy all copies of this
> message and attachments.
>
>
>
> 

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278510
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: SOT: CFEclipse temporary hangs

2007-05-17 Thread Bryan Stevenson
Hey Doug,

Nope...I typically do not minimize it.  I have wondered about the Virtual PC 
and 
if that (as you mentioned) may be the culprit.  I've certainly seen some odd 
CPU 
spikes on the virtual PCand unexpected hangs.

I have 1.5 GB of RAM and 512 allocated to the virtual PCproblem is you 
can't 
get an accurate RAM reading off the virtual PC...so not really sure if I'm 
using 
most of it or not ;-)

Thanks for the info

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 PROTECTED]
web: www.electricedgesystems.com

Notice:
This message, including any attachments, is confidential and may contain
information that is privileged or exempt from disclosure. It is intended
only for the person to whom it is addressed unless expressly authorized
otherwise by the sender. If you are not an authorized recipient, please
notify the sender immediately and permanently destroy all copies of this
message and attachments. 



~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278509
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Concepts of Developing Locally with CFEclipse

2007-05-17 Thread Hatem Jaber
Rick,

http://www.acidlabs.org/extras/acme/

That's all you need to know to get you started with setting up in my opinion 
the best dev environement for CF developers, for both windows and mac.

Ray Camden was the one who introduced this guide to me and it has changed 
things for me dramatically.

Also, if you plan on using CFEclipse, use it for 2 weeks without going back 
to Homesite AT ALL! If you survive the 2 weeks, you're good to go!

Good luck on your 2 week CFEclipse diet!

- Original Message - 
From: "Scott Stewart" <[EMAIL PROTECTED]>
To: "CF-Talk" 
Sent: Thursday, May 17, 2007 2:24 PM
Subject: RE: Concepts of Developing Locally with CFEclipse


> If you're running any of the Windows professional versions (XP Pro etc.) 
> You
> should either have installed or can install IIS.. So you have a local
> webserver. ColdFusion Dev version will run quite happily on that.
>
> Link your datasources to your development data servers, provided that you
> can.
>
> I run a local copy of CFMX 7 w/IIS, linked to remote datasources. I
> downloaded the entire working application to the IIS wwwroot.
>
> Create your projects in Eclipse and your good to go.
>
> -- 
> Scott Stewart
> ColdFusion Developer
>
> SSTWebworks
> 7241 Jillspring Ct.
> Springfield, Va. 22152
> (703) 220-2835
>
> http://www.sstwebworks.com
>
> -Original Message-
> From: Rick Root [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 17, 2007 2:14 PM
> To: CF-Talk
> Subject: Concepts of Developing Locally with CFEclipse
>
> Hi,  my name is Rick.. and I develop in a production environment.
>
> Is there a 12 step group for "Production Developers Anonymous"?
>
> I'd like to start using a local copy of Developer Edition for
> developing my apps... but I have a couple of questions.
>
> Currently I'm still using Homesite+ but I have CFEclipse installed.
>
> We have 7 or 8 web sites that I work on regularly, so from a local
> development perspective, I either need to use a locally installed web
> server with one instance of coldfusion...  or I need to install
> multiple instances of coldfusion and use the built in web server for
> each web site.  Those are my options, right?
>
> Can I use the Developer Edition locally but still use an external web
> server with host headers to determine which site I'm accessing?  That
> way I could just use a hosts file to get to them.
>
> Now... should I edit the source code "in place" in the appropriate web
> root?  I've been using flex Builder a lot and it publishes the
> compiled swf and HTML to the destination directory each time.. is
> there something similar when using CFEclipse to edit HTML/CFM/CFC
> files?
>
> If I'm also using Subversion and something like Subclipse (I haven't
> tried this yet)... should my webroot also be my "working copy"?
>
> I guess that's enough questions to get y'all started on SAVING ME from
> my bad habits.
>
> Rick
>
>
>
> 

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278508
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Error setting up FCKEditor

2007-05-17 Thread Paul Henderson
Thanks Mike,

I seemed to make some progress setting the basepath to /fckeditor/ and
manually setting the fckeditor ro fckeditor   = createObject("component",
"fckeditor.fckeditor");

But now, I get a page cannot be displayed error in the section the editor
should load into. I'm not sure what I could be doing wrong, the
documentation sure makes the process seem simple enough. Any other thoughts?
Thanks again.



-Original Message-
From: Mike Kear [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 17, 2007 3:20 AM
To: CF-Talk
Subject: Re: Error setting up FCKEditor

Your problem is as the error message says - its in line 71 where the
FCKEditor component is being instantiated.

I suspect it's to do with the path or a mapping.  Try changing your
current #basePath#fckeditor  to explicitly list it out and see if the
error is with #basePath#.   For example change that line to the
following and see if the problem goes away ...

fckEditor = createObject("component", "fckeditor.fckeditor");

That's for if you have installed FCKEditor directly under your web root.

Quite possibly you are going to have to change your original line to

fckEditor = createObject("component", "#basepath#.fckeditor.fckeditor");

Note that the CreateObject function is looking for a file called
fckeditor.cfc  so therefore the last fckeditor in the createobject is
the name of the component.  The previous 'fckeditor' is the name of
the folder it sits in.

If, like me, you have your fckeditor installed inside a folder called
cfforms, then the instantiation line will read as follows:

fckEditor = createObject("component", "cfforms.fckeditor.fckeditor");

Hth.

Cheers
Mike Kear
Windsor, NSW, Australia
Adobe Certified Advanced ColdFusion Developer
AFP Webworks
http://afpwebworks.com
ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month






On 5/17/07, Paul Henderson <[EMAIL PROTECTED]> wrote:
> As simple as the initial setup appears to be I can't seem to get passed
this
> error:
>
>
>
> Could not find the ColdFusion Component /raindance/fckeditor/fckeditor.
>
> Please check that the given name is correct and that the component exists.
>
>
>
> "The error occurred in
>
> C:\**rootpath**\raindance\fckeditor\_samples\cfm\sample02_mx.cfm:
>
> line 71
>
>
>
> 69 :   basePath = Left(cgi.script_name, FindNoCase('_samples',
>
> cgi.script_name)-1);
>
> 70 :
>
> 71 :   fckEditor = createObject("component", "#basePath#fckeditor");
>
> 72 :   fckEditor.instanceName  = "myEditor";
>
> 73 :   fckEditor.value   = 'This is some
sample
> text. You are using 
> href="http://fckeditor.net/"; target="_blank">FCKeditor.'
>
>
>
> If I go ahead and try to rename the sample file and put it in the
> application root I get this error:
>
>
>
> Error Occurred While Processing Request
>
> Could not find the ColdFusion Component /raindance/FCKeditorfckeditor.
>
> Please check that the given name is correct and that the component exists.
>
>
>
> The error occurred in C:\**rootpath**\raindance\myeditor.cfm: line 71
>
>
>
> 69 :   basePath = "/raindance/FCKeditor";
>
> 70 :
>
> 71 :   fckEditor = createObject("component", "#basePath#fckeditor");
>
> 72 :   fckEditor.instanceName  = "myEditor";
>
> 73 :   fckEditor.value   = 'This is some
sample
> text. You are using 
> href="http://fckeditor.net/"; target="_blank">FCKeditor.';
>
>
>
> Any ideas?
>
> Thanks,
>
> -Paul
>



~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278507
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Concepts of Developing Locally with CFEclipse

2007-05-17 Thread Scott Stewart
If you're running any of the Windows professional versions (XP Pro etc.) You
should either have installed or can install IIS.. So you have a local
webserver. ColdFusion Dev version will run quite happily on that.

Link your datasources to your development data servers, provided that you
can.

I run a local copy of CFMX 7 w/IIS, linked to remote datasources. I
downloaded the entire working application to the IIS wwwroot. 

Create your projects in Eclipse and your good to go.

-- 
Scott Stewart
ColdFusion Developer
 
SSTWebworks
7241 Jillspring Ct.
Springfield, Va. 22152
(703) 220-2835
 
http://www.sstwebworks.com

-Original Message-
From: Rick Root [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 17, 2007 2:14 PM
To: CF-Talk
Subject: Concepts of Developing Locally with CFEclipse

Hi,  my name is Rick.. and I develop in a production environment.

Is there a 12 step group for "Production Developers Anonymous"?

I'd like to start using a local copy of Developer Edition for
developing my apps... but I have a couple of questions.

Currently I'm still using Homesite+ but I have CFEclipse installed.

We have 7 or 8 web sites that I work on regularly, so from a local
development perspective, I either need to use a locally installed web
server with one instance of coldfusion...  or I need to install
multiple instances of coldfusion and use the built in web server for
each web site.  Those are my options, right?

Can I use the Developer Edition locally but still use an external web
server with host headers to determine which site I'm accessing?  That
way I could just use a hosts file to get to them.

Now... should I edit the source code "in place" in the appropriate web
root?  I've been using flex Builder a lot and it publishes the
compiled swf and HTML to the destination directory each time.. is
there something similar when using CFEclipse to edit HTML/CFM/CFC
files?

If I'm also using Subversion and something like Subclipse (I haven't
tried this yet)... should my webroot also be my "working copy"?

I guess that's enough questions to get y'all started on SAVING ME from
my bad habits.

Rick



~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278506
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: setting var inside cffunction

2007-05-17 Thread John P
That worked! Thanks Charlie!




>I've never used , so i'm not sure you can alias the columns
>that way (maybe someone who has more familiarity with it can chime
>in).
>
>what i was suggesting was a query of queries.  assuming the 
>returns a standard CF query object (again, an assumption), i figured
>you could just alias the columns in the query of queries.
>
>
> SELECT
>  givenName AS First_Name,
>  sn AS Last_name,
>  (etc)
> FROM
>  GETIDS
>
>
>then  instead of the original LDAP query.
>
>On 5/16/07, John P <[EMAIL PROTECTED]> wrote:
>>

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278505
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Concepts of Developing Locally with CFEclipse

2007-05-17 Thread Adkins, Randy
Rick,

What I do with my 8+ applications (websites/products), I have CFMX 7 Dev
Edit installed.
I have a copy of IISAdmin.net installed. I have all my sites under:
D:\wwwroot\development\client sites\site 1 
D:\wwwroot\development\client sites\site 2 
.

With the IISAdmin.net tool, I set the web server to act as a single
server and poll
The active site I need. I just toggle the sites on and off as needed and
I can develop
As if it was on it's own domain


I would not mind hearing the suggestions on the Subversion since I have
just update code locally,
Test locally and then upload as needed to the Production server.

Anyway.. My comments are those and look forward to hearing others..

-Original Message-
From: Rick Root [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 17, 2007 2:14 PM
To: CF-Talk
Subject: Concepts of Developing Locally with CFEclipse

Hi,  my name is Rick.. and I develop in a production environment.

Is there a 12 step group for "Production Developers Anonymous"?

I'd like to start using a local copy of Developer Edition for developing
my apps... but I have a couple of questions.

Currently I'm still using Homesite+ but I have CFEclipse installed.

We have 7 or 8 web sites that I work on regularly, so from a local
development perspective, I either need to use a locally installed web
server with one instance of coldfusion...  or I need to install multiple
instances of coldfusion and use the built in web server for each web
site.  Those are my options, right?

Can I use the Developer Edition locally but still use an external web
server with host headers to determine which site I'm accessing?  That
way I could just use a hosts file to get to them.

Now... should I edit the source code "in place" in the appropriate web
root?  I've been using flex Builder a lot and it publishes the compiled
swf and HTML to the destination directory each time.. is there something
similar when using CFEclipse to edit HTML/CFM/CFC files?

If I'm also using Subversion and something like Subclipse (I haven't
tried this yet)... should my webroot also be my "working copy"?

I guess that's enough questions to get y'all started on SAVING ME from
my bad habits.

Rick



~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278504
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: SOT: CFEclipse temporary hangs

2007-05-17 Thread Doug Bezona
Do you minimize it when you aren't working with it? XP will push some stuff
out of memory when you minimize an app, and Eclipse does take some time to
reconstitute itself. If you are lowish on memory, it will be even more
noticeable. It may also be some sort of similra memory management being done
by Virtual PC to try to minimize the VM's memory footprint.

I don't see this behavior at all running on my regular system, just
alt-tabbing back and forth.

On 5/17/07, Bryan Stevenson <[EMAIL PROTECTED]> wrote:
>
> Hey All,
>
> I use CFEclipse on Windows XP (run on a Virtual PC) and it seems to have a
> nasty habit of going to sleep if yu aren't working with it for 5 minutes or
> so.  When I come back to it to do something, it seems to hang for 15-30
> seconds while it "wakes up".  Other than  that sleepiness issue I love
> it.but it's REALLY annoying and a big time waster IMHO.
>
> I've heard this may simply be a result of how Java is handled on Windows
> (given Ecplise runs on Java).  To me that seems awfully odd as CF Server
> doesn't hang like that ;-)
>
> Any thoughts?
>
> 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 PROTECTED]
> web: www.electricedgesystems.com
>
> Notice:
> This message, including any attachments, is confidential and may contain
> information that is privileged or exempt from disclosure. It is intended
> only for the person to whom it is addressed unless expressly authorized
> otherwise by the sender. If you are not an authorized recipient, please
> notify the sender immediately and permanently destroy all copies of this
> message and attachments.
>
>
>
> 

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278503
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Concepts of Developing Locally with CFEclipse

2007-05-17 Thread Rick Root
Hi,  my name is Rick.. and I develop in a production environment.

Is there a 12 step group for "Production Developers Anonymous"?

I'd like to start using a local copy of Developer Edition for
developing my apps... but I have a couple of questions.

Currently I'm still using Homesite+ but I have CFEclipse installed.

We have 7 or 8 web sites that I work on regularly, so from a local
development perspective, I either need to use a locally installed web
server with one instance of coldfusion...  or I need to install
multiple instances of coldfusion and use the built in web server for
each web site.  Those are my options, right?

Can I use the Developer Edition locally but still use an external web
server with host headers to determine which site I'm accessing?  That
way I could just use a hosts file to get to them.

Now... should I edit the source code "in place" in the appropriate web
root?  I've been using flex Builder a lot and it publishes the
compiled swf and HTML to the destination directory each time.. is
there something similar when using CFEclipse to edit HTML/CFM/CFC
files?

If I'm also using Subversion and something like Subclipse (I haven't
tried this yet)... should my webroot also be my "working copy"?

I guess that's enough questions to get y'all started on SAVING ME from
my bad habits.

Rick

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278502
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Errant Web-inf directories

2007-05-17 Thread Deanna Schneider
On 5/17/07, Dave Watts wrote:

>
> What's in those other WEB-INF directories? I suspect they don't contain the
> entire contents of the original WEB-INF directory.
>

Well, in one example, there are 19,195 .class files. Not as many as
are in the root web-inf, no. But, a sizable amount.

~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278501
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


SOT: CFEclipse temporary hangs

2007-05-17 Thread Bryan Stevenson
Hey All,

I use CFEclipse on Windows XP (run on a Virtual PC) and it seems to have a 
nasty habit of going to sleep if yu aren't working with it for 5 minutes or so. 
 When I come back to it to do something, it seems to hang for 15-30 seconds 
while it "wakes up".  Other than  that sleepiness issue I love it.but it's 
REALLY annoying and a big time waster IMHO.

I've heard this may simply be a result of how Java is handled on Windows (given 
Ecplise runs on Java).  To me that seems awfully odd as CF Server doesn't hang 
like that ;-)

Any thoughts?

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 PROTECTED]
web: www.electricedgesystems.com

Notice:
This message, including any attachments, is confidential and may contain
information that is privileged or exempt from disclosure. It is intended
only for the person to whom it is addressed unless expressly authorized
otherwise by the sender. If you are not an authorized recipient, please
notify the sender immediately and permanently destroy all copies of this
message and attachments.



~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278500
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Mark Drew on his cfEclipse Frameworks Explorer - starting now

2007-05-17 Thread Nick Tong
The title says it all but:

Mark Drew on his cfEclipse Frameworks Explorer - starting now:
http://adobechats.adobe.acrobat.com/frameworksexplorer/

-- 
Nick Tong

web: http://talkwebsolutions.co.uk
blog: http://succor.co.uk
f..works:http://cfframeworks.com
short urls:  http://wapurl.co.uk
green link: http://wapurl.co.uk/?4Z2YDLX


~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278499
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Spry dataset question

2007-05-17 Thread Yves Arsenault
Perfect.

Thanks!

Yves

On 5/17/07, Doug Bezona <[EMAIL PROTECTED]> wrote:
>
> dsVar.loadData()
>
>

-- 
Yves Arsenault

"Love is the only force capable of transforming an enemy into a friend".
--Martin Luther King, Jr.


~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278498
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: User's getting other user's sessions

2007-05-17 Thread Dave Ferguson
I have seen this a few times before.  I do remember in one occurrence it was 
caused by a misuse of variable scoping.  The others a reboot or restart of 
service fixed the issue.

--Dave
http://www.dkferguson.com/BlogCFC


~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278497
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: cfloop output into columns - help

2007-05-17 Thread Dave Francis
I know, I know. I have decided to fix the problem, not cover it up. 

-Original Message-
From: Christopher Chin [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 17, 2007 1:06 PM
To: CF-Talk
Subject: Re: cfloop output into columns - help

Using Bobby's simple code, I got it to work (yes, fix the problem; don't
cover it up).





#getFoo.fname# #getFoo.lname#










Hope this helps others.

--chris
>
>
>
>
>  #queryfield#
>  
>   
>   
>  
>
>
>
>
>
>Basically it says this...
>If this is the last row or a second column in a row, end this row but if
the
>row is being ended and this is NOT the last record, start a new row.
>
>Cheers
>
>
>-Original Message-
>From: Christopher Chin [mailto:[EMAIL PROTECTED] 
>Sent: Wednesday, May 16, 2007 2:55 PM
>To: CF-Talk
>Subject: cfloop output into columns - help
>
>Ok..this seemed easy at first..now I'm a bit ticked that I can't
>figure this out.  I'm sure you CF mavens out there have come across
>this already; I'd appreciate your insight. :)
>
>I would like to output my query into a 2 column table; reading left to
>right.
>Example:
>1   2
>3   4
>5   6
>
>What I'm getting with my code is:
>1   2
>2   3
>3   4
>
>Here's my code:
>
>   select * from employees where fname like 'John%' order by fname,
>lname
>
>
>
>
>
>
>   #blah.fname# #blah.lname#
>   #blah.currentRow#
>   #blah.fname[currentRow+1]# #blah.lname[currentRow+1]#
>   #blah.currentRow+1#
>
>
>
>
>
>
>
>Anyone know how I can work this out to the output that I'd want? How
>do I also not show the the 2nd  if it's not  populated (an odd #
>recordset)>
>
>Thanks in advance
>Chris



~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278496
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Spry dataset question

2007-05-17 Thread Doug Bezona
dsVar.loadData()


On 5/17/07, Yves Arsenault <[EMAIL PROTECTED]> wrote:
>
> Hi there... hope you're all having a great day!
>
> I was wondering if there is a way to get Spry to reload an XML data
> set
>
> I'm assuming I should be able to use:
> dsVar.startLoadInterval(1000); // to load it in a second
>
> And then just use:
> dsVar.stopLoadInterval();
>
> Or, is there an easier way?
> Built in function?
>
> I just really started messing with Spry.. I love it!
>
> I'm gonna use session vars to filter out some data, so I'd like to be
> able to reload this without reloading the whole page.
>
> Thanks,
>
> --
> Yves Arsenault
>
> "Love is the only force capable of transforming an enemy into a friend".
> --Martin Luther King, Jr.
>
>
> 

~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278495
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Spry dataset question

2007-05-17 Thread Yves Arsenault
Hi there... hope you're all having a great day!

I was wondering if there is a way to get Spry to reload an XML data set

I'm assuming I should be able to use:
dsVar.startLoadInterval(1000); // to load it in a second

And then just use:
dsVar.stopLoadInterval();

Or, is there an easier way?
Built in function?

I just really started messing with Spry.. I love it!

I'm gonna use session vars to filter out some data, so I'd like to be
able to reload this without reloading the whole page.

Thanks,

-- 
Yves Arsenault

"Love is the only force capable of transforming an enemy into a friend".
--Martin Luther King, Jr.


~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278494
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Optimize Query Write Output Time

2007-05-17 Thread Doug Bezona
Not to mention, if that 35000 row table is being output directly to the
browser, the browser may take as long to render it as CF takes to generate
it.



On 5/17/07, Gert Franz <[EMAIL PROTECTED]> wrote:
>
> Well its right there... 35000 result records. Honestly Ismail, who reads
> line 17414 when the report has 50 pages?
> That CF uses so much time to output it and retrieve it from the
> resultset is clearly understandable. Try narrowing it down.
> Railo is much faster in generating such output, but I guess it's not an
> option.
>
> Gert
>
>


~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278493
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Optimize Query Write Output Time

2007-05-17 Thread Gert Franz
Well its right there... 35000 result records. Honestly Ismail, who reads 
line 17414 when the report has 50 pages?
That CF uses so much time to output it and retrieve it from the 
resultset is clearly understandable. Try narrowing it down.
Railo is much faster in generating such output, but I guess it's not an 
option.

Gert

ismail cassiem schrieb:
> Hi, 
>
> I get the following result: I did the #get_info.Code# but still no luck. 
>
> get_info (Records=35269, Time=3425ms)
>  
>  = 3425 Milliseconds = 3.425 Seconds (Coldfusion)
>  = 4 sql analyser 
>
> it when it writes that's the problem. 
>
> Execution Time
>
> 48910 milliseconds
> 0 ms C:\INETPUB\WWWROOT\CFR\APPLICATION.CFM 
> 80 ms C:\INETPUB\WWWROOT\CFR\ISMAILC\MODULES\C_DB01.CFM 
> 0 ms C:\INETPUB\WWWROOT\CFR\ISMAILC\MODULES\C_MAXSCR.CFM 
> 10 ms C:\INETPUB\WWWROOT\CFR\ISMAILC\MODULES\C_USER01.CFM 
> 48510 ms C:\INETPUB\WWWROOT\CFR\ISMAILC\REPORTS\MIS010F2.CFM   ---> = 48.51 
> Seconds
> 0 ms C:\INETPUB\WWWROOT\CFR\ONREQUESTEND.CFM 
> 320 ms STARTUP, PARSING, & SHUTDOWN 
>
> Please help!
>
> 

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278492
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: cfloop output into columns - help

2007-05-17 Thread Christopher Chin
Using Bobby's simple code, I got it to work (yes, fix the problem; don't cover 
it up).





#getFoo.fname# #getFoo.lname#










Hope this helps others.

--chris
>
>
>
>
>  #queryfield#
>  
>   
>   
>  
>
>
>
>
>
>Basically it says this...
>If this is the last row or a second column in a row, end this row but if the
>row is being ended and this is NOT the last record, start a new row.
>
>Cheers
>
>
>-Original Message-
>From: Christopher Chin [mailto:[EMAIL PROTECTED] 
>Sent: Wednesday, May 16, 2007 2:55 PM
>To: CF-Talk
>Subject: cfloop output into columns - help
>
>Ok..this seemed easy at first..now I'm a bit ticked that I can't
>figure this out.  I'm sure you CF mavens out there have come across
>this already; I'd appreciate your insight. :)
>
>I would like to output my query into a 2 column table; reading left to
>right.
>Example:
>1   2
>3   4
>5   6
>
>What I'm getting with my code is:
>1   2
>2   3
>3   4
>
>Here's my code:
>
>   select * from employees where fname like 'John%' order by fname,
>lname
>
>
>
>
>
>
>   #blah.fname# #blah.lname#
>   #blah.currentRow#
>   #blah.fname[currentRow+1]# #blah.lname[currentRow+1]#
>   #blah.currentRow+1#
>
>
>
>
>
>
>
>Anyone know how I can work this out to the output that I'd want? How
>do I also not show the the 2nd  if it's not  populated (an odd #
>recordset)>
>
>Thanks in advance
>Chris

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278491
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Apache with Vhosts, SSL, and CF

2007-05-17 Thread Hatem Jaber
Damien, thanks for the reply. I gave the link to a couple of my friends and 
tried the link from my Wife's computer and everyone was able to access the 
site. For some reason it was my machine that was not able to access the 
site. Than I remembered that I used the same host name in my host file on my 
local machine. I removed the name from the host file and all is well. I was 
a little worried there for a sec, but everything is now ok.

I really appreciate your help a lot and the help of others who shared their 
experience!

Thank You All

- Original Message - 
From: "Damien McKenna" <[EMAIL PROTECTED]>
To: "CF-Talk" 
Sent: Thursday, May 17, 2007 1:07 PM
Subject: RE: Apache with Vhosts, SSL, and CF


>> -Original Message-
>> From: Hatem Jaber [mailto:[EMAIL PROTECTED]
>> Sent: Thursday, May 17, 2007 1:00 PM
>> Subject: Re: Apache with Vhosts, SSL, and CF
>>
>> I spoke too soon. When I access the site from the server
>> directly, it works but with an error regarding the certificate.
>> When I tried from my local machine to access that page, it gave
>> me a "Cannot find server" page.
>
> Sounds like a DNS issue.  Try pinging the hostname from both locations
> and see if they give the same address.  If you are juggling between
> internal and external networks you may need to set up some lines in your
> C:\Windows\System32\Drivers\etc\hosts file for the hostnames.
>
>
> Damien McKenna
> Web Developer
> The LIMU Company
>
> 

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278490
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Apache with Vhosts, SSL, and CF

2007-05-17 Thread Damien McKenna
> -Original Message-
> From: Hatem Jaber [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, May 17, 2007 1:00 PM
> Subject: Re: Apache with Vhosts, SSL, and CF
> 
> I spoke too soon. When I access the site from the server 
> directly, it works but with an error regarding the certificate.
> When I tried from my local machine to access that page, it gave
> me a "Cannot find server" page.

Sounds like a DNS issue.  Try pinging the hostname from both locations
and see if they give the same address.  If you are juggling between
internal and external networks you may need to set up some lines in your
C:\Windows\System32\Drivers\etc\hosts file for the hostnames.


Damien McKenna
Web Developer
The LIMU Company

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278489
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


GetTempDirectory() stopped working

2007-05-17 Thread Ben Nadel
Hey All,
 
Out of no where, GetTempDirectory() started returning empty string on
both our production and dev servers. By restarting the CF service
locally, it was fixed. We can restart CF in production, but would love
NOT to do that. 
 
Has anyone else had this happened? It happened yesterday at the same
time and no one here *claims* to have done anything to the production
server.
 
Was there a security update that may have done this (Win. Server)?
 
Thanks!

..
Ben Nadel
Certified Advanced ColdFusion MX7 Developer
www.bennadel.com  
 
Need ColdFusion Help?
www.bennadel.com/ask-ben/


~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278488
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Apache with Vhosts, SSL, and CF

2007-05-17 Thread Hatem Jaber
I spoke too soon. When I access the site from the server directly, it works 
but with an error regarding the certificate. When I tried from my local 
machine to access that page, it gave me a "Cannot find server" page.

What's the cause of this?

Thanks!

- Original Message - 
From: "James Holmes" <[EMAIL PROTECTED]>
To: "CF-Talk" 
Sent: Thursday, May 17, 2007 12:04 AM
Subject: Re: Apache with Vhosts, SSL, and CF


> Yes, wildcard certs work that way. We have a wildcard for our whole
> domain and we can use one IP address for the whole lot in Apache, at
> which point we then use named virtual hosts to sort out the sites.
> It's a real cost saver, if you have a lot of subdomains.
>
> On 5/17/07, John Paul Ashenfelter wrote:
>
>> You can use named virtual hosts, but you can only use one
>> *certificate* on the server, so practically speaking all of the other
>> virtual hosts get a certificate mismatch which throws up a scary
>> message to the user (though my understanding is that if the hosts are
>> all in the same domain, you can use a wildcard certificate to help,
>> but I've never tried)
>
> -- 
> mxAjax / CFAjax docs and other useful articles:
> http://www.bifrost.com.au/blog/
>
> 

~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278487
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Does CF Framework make life easier? Which one to start?

2007-05-17 Thread Charlie Griefer
On 5/17/07, Christopher Jordan <[EMAIL PROTECTED]> wrote:
> Aaron,
>
> Would you mind explaining some of the acronyms you threw around?
> Specifically: what is DI/ioC? What is ORM (I should know my CFUG just
> did a preso on Transfer I think, but I missed out)? You say, they all
> solve different problems. What are those problems, and how do these
> frameworks go about solving them? I can see that LW is LightWire, but
> you didn't tell us uninitiated what CS stood for. I personally
> understood the string of controller frameword initials you threw down,
> but for someone asking what to use two-letter initials probably don't
> help much.

The DeAcronym-ator:

MG: Model Glue
M2: Mach-ii
FB: Fusebox
CB: Coldbox
DI/ioC: Dependency Injection/Inversion of Control
CS: ColdSpring
LW: Lightwire
ORM: Object Relational Mapping
oB: Object Breeze (an ORM)

i think that was all of 'em :)

-- 
Charlie Griefer


"...All the world shall be your enemy, Prince with a Thousand Enemies,
and whenever they catch you, they will kill you. But first they must catch
you, digger, listener, runner, prince with a swift warning.
Be cunning and full of tricks and your people shall never be destroyed."

~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278486
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Does CF Framework make life easier? Which one to start?

2007-05-17 Thread Robertson-Ravo, Neil (RX)
CS = ColdSpring

IoC = inversion of control

DI = I presume Direct Invocation? (as in Explicit Invocation?) not sure
about that one!

ORM = Object Relationship Mapping




"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 information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions." 
Visit our website at http://www.reedexpo.com

-Original Message-
From: Christopher Jordan
To: CF-Talk
Sent: Thu May 17 17:47:20 2007
Subject: Re: Does CF Framework make life easier? Which one to start?

Aaron,

Would you mind explaining some of the acronyms you threw around? 
Specifically: what is DI/ioC? What is ORM (I should know my CFUG just 
did a preso on Transfer I think, but I missed out)? You say, they all 
solve different problems. What are those problems, and how do these 
frameworks go about solving them? I can see that LW is LightWire, but 
you didn't tell us uninitiated what CS stood for. I personally 
understood the string of controller frameword initials you threw down, 
but for someone asking what to use two-letter initials probably don't 
help much.

Can you expand please? :o)

Thanks,
Chris

Aaron Roberson wrote:
> First, you need to understand that there are different kinds of
> frameworks. There are controller frameworks (such as MG, M2, FB, CB,
> etc), DI/ioC frameworks (CS and LW) and ORM frameworks (Reactor,
> Transfer and oB).
>
> I like ColdBox for my controller framework (most documented, and
> suites my programming style the best), LightWire (LW) for my DI/ioC
> framework (gives you the flexibility of switching over to CS later
> down the road if you like using an XML config), and since I am on
> BlueDragon I am not using any ORM frameworks, but I can't wait for Nic
> Tunney to update objectBreeze to v2 - once he does I will be adopting
> it.
>
> In general, controller frameworks provide a solution to the same
> problem, DI/ioC frameworks provide a solution to another problem, and
> ORM frameworks provide a solution to yet another problem. How they are
> configured and some of their features may very.
>
> HTH,
> Aaron
>
> 



~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278485
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


CFUNITED-07 pre-conference classes + iPod raffle

2007-05-17 Thread Michael Smith
Want to go more in depth on topics from CFUNITED? Then come to
one of our Pre-conference clases from the experts. Conveniently
located at the CFUNITED hotel in Bethesda MD.

Plus everyone who signs up before Friday 6/15/07 5pm EDT will be
entered in a raffle to win one Apple iPod Nano. The iPod will be
selected at random on Monday 6/18/07 from one of the people
who are registered for the class. Each class registration counts
as one "ticket" in the raffle.

Monday 6/25
CU221   Rob Gonda   Flex Intensive for ColdFusion Developers
CU222   Ajay Sathuluri  CF Server Administration for Security and More
CU223   Oguz Demirkapi  Multi Language Applications in CF in Theory and 
Practice
CU224   Nate Nelson Advanced Database

Tuesday 6/26
CU225   Peter Bell  Practical Code Generation: By Example
CU226   Simon Horwith   Architecting and Optimizing CF Applications for 
Performance and Scalability
CU227   John Paul Ashenfelter   Best Practice Bootcamp for Developers
CU228   Charlie Arehart New in CFMX 6 and 7: What Did You Miss?

Registration and more info at http://cfunited.com/go/classes


* CU221 Rob Gonda - Flex Intensive for ColdFusion Developers


Extra, extra, read all about it! Flex Wizard in a miracle cure!

This full day hands-on Flex course that require no previous Flex
experience. The class promises to be fun, energetic, and
saturated with information, examples, and code. It will focus not
only on Flex architecture, but also teach you to organize your
ColdFusion code in such fashion that you can reuse your business
layer across any front-end, including Html, Ajax, Flash, or Flex.

Agenda

 * Flex Builder Environment
 * Flex Built-in Components
 * Basics
   o Event System
   o Data binding
 * ActionScript 3.0
 * Remote Calls: HTTP Services, Web Services, AMF3 / Remoting
   o Organizing your ColdFusion Service Layer
   o Flexible Messaging Architecture
   o Error Handling
   o Logging
 * Flex Data Services
 * Cairngorm Microarchitecture
   o Basics / Request Flow
   o Design Patterns
   o Analogy with ColdFusion Frameworks
 * Debugging
   o Within Flex
   o Monitoring HTTP / AMF Traffic
 * Documentation
 * Automated Deployment using ANT

Please bring

 * A laptop
 * Flex Builder 2.0.x+
 * ColdFusion MX7.x+
 * MSSQL / MySQL / PostgreSQL
 * [optional] Flex Data Services Express


* CU222 Ajay Sathuluri - CF Server Administration for Security and More
***

This class will cover how to administer your ColdFusion Server, with an 
eye toward security.

Agenda

 * Different sections of the CF administrator, standard and enterprise
 * Basic parts of directory structure of the CFIDE folder and
 of the ColdFusion root; which parts of CFIDE you may want to
 allow or hide
 * Sandbox security
 * CF Admin API - Basic info on how to use to give your users 
limited administrative rights
 * Other security tips for servers and code:
   o Basic concepts
   o Login
   o Closing backdoors
   o Forgotten password
   o SQL Injection
 * Locking
   o Protect session/application setup
   o Prevent deadlocks
 * JVM
   o memory limits
   o Which versions you can use
 * Client variables setup and issues
 * Error handlers (site-wide and local) to show users safe
 error messages, and alert developers with necessary debug
 information


* CU223 Oguz Demirkapi - Multi Language Applications in CF in Theory and 
Practice
*

This class will explain the theory of creating multi-language
applications and methods in ColdFusion with best practices. Main
goals of this class are explaining multi-language applications
theory, defining requirements and solutions, and providing best
practices with direct coding in class.

Some points that will be covered:

 * Explaining theory with i18N (internationalization), L10N
 (localization), g11N (globalization) and other known
 approaches.
 * Defining opportunities to create effective solutions such
 as Java platform tools usage or designing better database
 etc.
 * Setting up your environment for multilingual applications:
 Code organization, database server settings, ColdFusion
 server settings, development tools etc.
 * Creating a multi-language application from scratch with
 some different i18N techniques such as dynamic content
 management or content replication etc.
 * Working on best practices: troubleshooting such as search
 engine optimization or different platform solutions such as
 creating multi language applications with frameworks etc.

For maximum 

Re: Does CF Framework make life easier? Which one to start?

2007-05-17 Thread Matt Quackenbush
On 5/17/07, James Wolfe <[EMAIL PROTECTED]> wrote:
>
> I cant speak about Frameworks in general, but I can tell you to avoid
> FuseBox like the plague.
>
> If all you ever coded in was fusebox, then maybe its an OK framework to
> work with.
>
> We hired a new developer who told us that FuseBox was the bomb and that he
> knew it. We gave him a specific project to code using FuseBox and to this
> day we regret it. The code is so difficult to read, understand and debug
> that any possible gain in the form of reusable code is immediately lost many
> times over in finding the code you intend to reuse.
>
> Maybe the project was too large for FuseBox. Maybe the guy was incompetent
> (he no longer works for us). But we deeply regret allowing him to code that
> project in FuseBox and have not even considered using it again.
>


I'm sorry, but this is a ludicrous post.  I don't care what framework you
use, if a moron is writing the code, you're going to end up with moronic
code.  To cast the blame off onto the framework is, well, at least as
moronic as the moronic code; maybe even more so.  Not only that, but I'd be
willing to wager that the code from a moron would be even -more- moronic
without the framework (any framework) in place.

I originally looked at Fusebox way back in the v2 or v3 days (can't remember
for sure which it was).  For a variety of reasons I really disliked it.  So,
as a result, I wrote my own quasi-framework and used it for several years.
Long story (you can read more about it here:
http://www.quackfuzed.com/index.cfm/2007/4/17/Am-I-Done-Reinventing-the-Wheel),
but summed up, Fusebox 5.1 is nothing less than AWESOME.

@ Ali - I personally would -highly- recommend using a framework, and unless
you're coming from an OO language, I would *extremely highly* recommend
Fusebox 5.1 as the starting point.  If you do have an OO background, then
ModelGlue or Mach-ii might be better suited to your tastes, but if not,
they'll likely be a bit scary to jump into.

Hope that helps.


Matt


~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278482
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Does CF Framework make life easier? Which one to start?

2007-05-17 Thread Christopher Jordan
Aaron,

Would you mind explaining some of the acronyms you threw around? 
Specifically: what is DI/ioC? What is ORM (I should know my CFUG just 
did a preso on Transfer I think, but I missed out)? You say, they all 
solve different problems. What are those problems, and how do these 
frameworks go about solving them? I can see that LW is LightWire, but 
you didn't tell us uninitiated what CS stood for. I personally 
understood the string of controller frameword initials you threw down, 
but for someone asking what to use two-letter initials probably don't 
help much.

Can you expand please? :o)

Thanks,
Chris

Aaron Roberson wrote:
> First, you need to understand that there are different kinds of
> frameworks. There are controller frameworks (such as MG, M2, FB, CB,
> etc), DI/ioC frameworks (CS and LW) and ORM frameworks (Reactor,
> Transfer and oB).
>
> I like ColdBox for my controller framework (most documented, and
> suites my programming style the best), LightWire (LW) for my DI/ioC
> framework (gives you the flexibility of switching over to CS later
> down the road if you like using an XML config), and since I am on
> BlueDragon I am not using any ORM frameworks, but I can't wait for Nic
> Tunney to update objectBreeze to v2 - once he does I will be adopting
> it.
>
> In general, controller frameworks provide a solution to the same
> problem, DI/ioC frameworks provide a solution to another problem, and
> ORM frameworks provide a solution to yet another problem. How they are
> configured and some of their features may very.
>
> HTH,
> Aaron
>
> 

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278483
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Does CF Framework make life easier? Which one to start?

2007-05-17 Thread Damien McKenna
> -Original Message-
> From: Ali Majdzadeh [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, May 17, 2007 11:03 AM
> Subject: Does CF Framework make life easier? Which one to start?
> 
> Everybody says Frameworks make life easier. Does it?

Yes, from numerous standpoints:

* Forces you to bring more structure to your code.
* More structure == easier to manage.
* You can give the project to someone else, if they're familiar with the
framework they'll have a much easier time of hitting the ground running.

For years I brainstormed rudimentary framework & CMS design on my PHP
work.  Eventually I designed a full framework with CMS myself, though I
never released it, and the site it was used was since rewritten.
Shortly after that I got hired by a CF shop where they had used Fusebox
3 for all of their work, lo and behold it turned out to be very close to
a superset of my PHP framework - it was slightly more organized but
didn't have the CMS overhead.

After several years of working with Fusebox 3 and then to FB4 & FB5 I've
started to see limitations in it (or maybe just my use of it) and have
been looking at other frameworks to see how they could be used, and
right now ColdBox looks like it might be the best direction - it IMHO
seems to make a better balance of usability vs flexibility than similar
projects (MG, MII, etc).

Just my $0.02.


Damien McKenna
Web Developer
The LIMU Company

~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278481
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Apache with Vhosts, SSL, and CF

2007-05-17 Thread Hatem Jaber
First of all, thanks to everyone who helped!

Second, this is an update for those of you who are interested:

SSLPassPhraseDialog builtin is not supported on Win32
Unfortunately Apache on Windows does not support encrypted private keys. To 
resolve this you will need to remove the private key password.
It is possible to create an unencrypted copy of the key using this command: 
openssl rsa -in file1.key -out file2.key

file2.key will contain your unencrypted key.

If you now point your server at this key file, it will not prompt you for a 
pass phrase.

I copied this from a site after entering the error i encountered in case 
anyone else will need this.

BTW, I am using 2 IP's which were issued to the server that I'm currently 
using and everything is now working great, the only thing left for me to do 
at this point is to install CF and place the load CF within the virtualhost 
container.

Thanks Again

- Original Message - 
From: "James Holmes" <[EMAIL PROTECTED]>
To: "CF-Talk" 
Sent: Thursday, May 17, 2007 12:04 AM
Subject: Re: Apache with Vhosts, SSL, and CF


> Yes, wildcard certs work that way. We have a wildcard for our whole
> domain and we can use one IP address for the whole lot in Apache, at
> which point we then use named virtual hosts to sort out the sites.
> It's a real cost saver, if you have a lot of subdomains.
>
> On 5/17/07, John Paul Ashenfelter wrote:
>
>> You can use named virtual hosts, but you can only use one
>> *certificate* on the server, so practically speaking all of the other
>> virtual hosts get a certificate mismatch which throws up a scary
>> message to the user (though my understanding is that if the hosts are
>> all in the same domain, you can use a wildcard certificate to help,
>> but I've never tried)
>
> -- 
> mxAjax / CFAjax docs and other useful articles:
> http://www.bifrost.com.au/blog/
>
> 

~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278480
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: User's getting other user's sessions

2007-05-17 Thread Robertson-Ravo, Neil (RX)
Really? I do hope that was sarcasm?


:-\



"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 information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions." 
Visit our website at http://www.reedexpo.com

-Original Message-
From: Brad Wood
To: CF-Talk
Sent: Thu May 17 17:08:20 2007
Subject: RE: User's getting other user's sessions

OF course, we schedule our servers to restart every night so we wouldn't
know whether or not it was fixed.

~Brad

-Original Message-
From: Brad Wood [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 17, 2007 10:56 AM
To: CF-Talk
Subject: RE: User's getting other user's sessions

Interesting.  We seem to have that problem every once in a while, but
usually it boils down to a user E-mailing a link to another user with a
jsessionid or cfid/cftoken in it.

~Brad

-Original Message-
From: James Wolfe [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 17, 2007 10:39 AM
To: CF-Talk
Subject: Re: User's getting other user's sessions

We had this problem last year. We spoke to a whole bunch of CF Gurus and
even to the people at Macromedia (in particular a very unhelpful,
derogatory gentleman named Serge who denied that we were having the
problem even after I proved it to him).

Either way, general suggestions were to ensure that you have proper
locking around any code that sets Session variables.

However, none of that was our problem. Turned out, all we needed was a
reboot. Something had gotten corrupted in the memory and as soon as we
rebooted (6 weeks after the problem began) the problem disappeared never
to return.

Hope this helps.



~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278479
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Does CF Framework make life easier? Which one to start?

2007-05-17 Thread Robertson-Ravo, Neil (RX)
Devils advocate... To be fair, don't pan blame on the past developer on
someones word as you haven't seen the code, it could be very well written
and it is the current developers who simple don't understand it (not saying
it is, just that it could be).  If may well be a pile of crap (not
giftwrapped) but it could also be well structured just using more complex
code.



Just my £0.02p




"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 information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions." 
Visit our website at http://www.reedexpo.com

-Original Message-
From: Charlie Griefer
To: CF-Talk
Sent: Thu May 17 17:28:45 2007
Subject: Re: Does CF Framework make life easier? Which one to start?

On 5/17/07, James Wolfe <[EMAIL PROTECTED]> wrote:
> I cant speak about Frameworks in general, but I can tell you to avoid
FuseBox like the plague.
>
> If all you ever coded in was fusebox, then maybe its an OK framework to
work with.
>
> We hired a new developer who told us that FuseBox was the bomb and that he
knew it. We gave him a specific project to code using FuseBox and to this
day we regret it. The code is so difficult to read, understand and debug
that any possible gain in the form of reusable code is immediately lost many
times over in finding the code you intend to reuse.
>
> Maybe the project was too large for FuseBox. Maybe the guy was incompetent
(he no longer works for us). But we deeply regret allowing him to code that
project in FuseBox and have not even considered using it again.

James:

I can't speak about Frameworks in general either, as I've only just
recently started using one... and it happened to be Fusebox.

My guess would be that your developer may not have been particularly
competent.  Frankly, it's easy to write "bad" fusebox.  Is that a
negative about the framework itself?  Perhaps... but it also makes
learning the framework a bit less intimidating.

Since I've been using it, I've come across some horrible (i mean
truly, truly horrible) fusebox code.  At it's most basic.. the only
real "rule" it asks you to adhere to is separating your display code
into dsp_ files, and your logic into act_ (there is also qry_ and
lay_... but let's just stick to those 2 to keep it basic).  I've seen
code where -all- of the page is in one single act_ file.  And yes,
that makes maintenance a nightmare.  But y'know what?  That's not
Fusebox :)

I can take a crap and wrap it up in a box from Saks Fifth Avenue but
that doesn't make it any less... crap.

Check out some good fusebox code and I think you'll find that it does
*significantly* make your code easier to maintain.  But the effort has
to be put in up front.  Otherwise, you just get... well, crap :)

Just my $0.02 as a spaghetti coder who has really been enjoyiong
organizing his code with fusebox.

-- 
Charlie Griefer


"...All the world shall be your enemy, Prince with a Thousand Enemies,
and whenever they catch you, they will kill you. But first they must catch
you, digger, listener, runner, prince with a swift warning.
Be cunning and full of tricks and your people shall never be destroyed."



~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278478
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Does CF Framework make life easier? Which one to start?

2007-05-17 Thread Scott Stewart
I'll pitch this out there
It really depends on the application in question...

If it's a very small app, a framework may not even be necessary. It may even
create headaches. Very large apps are great fodder for a framework, because
it organizes the hundreds, or thousands of templates into something
coherent. 

I was in a situation recently where the application was huge, with no
framework, or organization. The lead on the project had all of the app
knowledge in his head and wasn't about to document anything. 

I worked as best I could, having to figure out how he did things, on my
own.. I was accused of not being what I said I was on my resume, and not
working fast enough..

Needless to say I didn't last long

-- 
Scott Stewart
ColdFusion Developer
 
SSTWebworks
7241 Jillspring Ct.
Springfield, Va. 22152
(703) 220-2835
 
http://www.sstwebworks.com

-Original Message-
From: Raymond Camden [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 17, 2007 12:26 PM
To: CF-Talk
Subject: Re: Does CF Framework make life easier? Which one to start?

Ali, a few thoughs.

Frameworks, for me, makes my life VERY easy. But it is important to
note that this doesn't mean LESS work. Just EASIER work. (Sorry for
all the caps.) One of the things that surprised me when I started
working with frameworks was the amount of extra code. Sometimes it
feels like a bit too much work - but when it comes down to it - my
code is a heck of a lot easier to work with now.

I just bring this up so you can keep it in mind.

Also - I encourage you to play with all the frameworks. The "best" one
is the one that works best for you.

On 5/17/07, Ali Majdzadeh <[EMAIL PROTECTED]> wrote:
> Hi:
> Everybody says Frameworks make life easier. Does it? If yes, please tell
me which one can work as a starter for me? Model-Glue looks nice and easy,
Mach-II looks very powerful and Fusebox claims to be the most popular. Are
they completely different? Is it possible to learn one and then migrate to
another easily if needed?
> Please suggest a book for the one you think is the best for the starter. I
am in no rush so there is no need for a very quick start but a complete book
can help me a lot.
> Thanks
> Ali
>
> 



~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278477
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Los Angeles CFMX Firms

2007-05-17 Thread Rob Sherman
Hi,
I'm working for a client (Fortune 500) that is interested in outsourcing an
ongoing project list of websites.  They want a development house / firm
situated in Los Angeles, preferably the west side / southbay areas near
Santa Monica, Venice, Marina Del Rey, El Segundo, LAX.  

The client is looking for a firm that has more then 20 employees and can
handle fast turnaround times, multiple ongoing projects and can also handle
downtime between projects.  The firm should also be knowledgeable about
frameworks like Mach-II or Model Glue with other framework technologies
(ColdSpring, Transfer ORM, etc).

We are not looking for or interested in outsourcing beyond the Los Angeles
area because we will need a dedicated account representative that has to
meet face-to-face with several business units and end-users.  That being
said, we're not looking for the company that has one rep in LA and is based
out of state unless you have a proven track record, client list for Los
Angeles and have heavy references.

We're definitely not interested in outsourcing overseas or individual
developers.

If you know of a company, or represent one, please contact me personally
off-list.  Thanks.


Sincerely,


Rob Sherman
[EMAIL PROTECTED]



~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278476
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Does CF Framework make life easier? Which one to start?

2007-05-17 Thread Aaron Roberson
First, you need to understand that there are different kinds of
frameworks. There are controller frameworks (such as MG, M2, FB, CB,
etc), DI/ioC frameworks (CS and LW) and ORM frameworks (Reactor,
Transfer and oB).

I like ColdBox for my controller framework (most documented, and
suites my programming style the best), LightWire (LW) for my DI/ioC
framework (gives you the flexibility of switching over to CS later
down the road if you like using an XML config), and since I am on
BlueDragon I am not using any ORM frameworks, but I can't wait for Nic
Tunney to update objectBreeze to v2 - once he does I will be adopting
it.

In general, controller frameworks provide a solution to the same
problem, DI/ioC frameworks provide a solution to another problem, and
ORM frameworks provide a solution to yet another problem. How they are
configured and some of their features may very.

HTH,
Aaron

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278475
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Does CF Framework make life easier? Which one to start?

2007-05-17 Thread Charlie Griefer
On 5/17/07, James Wolfe <[EMAIL PROTECTED]> wrote:
> I cant speak about Frameworks in general, but I can tell you to avoid FuseBox 
> like the plague.
>
> If all you ever coded in was fusebox, then maybe its an OK framework to work 
> with.
>
> We hired a new developer who told us that FuseBox was the bomb and that he 
> knew it. We gave him a specific project to code using FuseBox and to this day 
> we regret it. The code is so difficult to read, understand and debug that any 
> possible gain in the form of reusable code is immediately lost many times 
> over in finding the code you intend to reuse.
>
> Maybe the project was too large for FuseBox. Maybe the guy was incompetent 
> (he no longer works for us). But we deeply regret allowing him to code that 
> project in FuseBox and have not even considered using it again.

James:

I can't speak about Frameworks in general either, as I've only just
recently started using one... and it happened to be Fusebox.

My guess would be that your developer may not have been particularly
competent.  Frankly, it's easy to write "bad" fusebox.  Is that a
negative about the framework itself?  Perhaps... but it also makes
learning the framework a bit less intimidating.

Since I've been using it, I've come across some horrible (i mean
truly, truly horrible) fusebox code.  At it's most basic.. the only
real "rule" it asks you to adhere to is separating your display code
into dsp_ files, and your logic into act_ (there is also qry_ and
lay_... but let's just stick to those 2 to keep it basic).  I've seen
code where -all- of the page is in one single act_ file.  And yes,
that makes maintenance a nightmare.  But y'know what?  That's not
Fusebox :)

I can take a crap and wrap it up in a box from Saks Fifth Avenue but
that doesn't make it any less... crap.

Check out some good fusebox code and I think you'll find that it does
*significantly* make your code easier to maintain.  But the effort has
to be put in up front.  Otherwise, you just get... well, crap :)

Just my $0.02 as a spaghetti coder who has really been enjoyiong
organizing his code with fusebox.

-- 
Charlie Griefer


"...All the world shall be your enemy, Prince with a Thousand Enemies,
and whenever they catch you, they will kill you. But first they must catch
you, digger, listener, runner, prince with a swift warning.
Be cunning and full of tricks and your people shall never be destroyed."

~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278474
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Does CF Framework make life easier? Which one to start?

2007-05-17 Thread Raymond Camden
Ali, a few thoughs.

Frameworks, for me, makes my life VERY easy. But it is important to
note that this doesn't mean LESS work. Just EASIER work. (Sorry for
all the caps.) One of the things that surprised me when I started
working with frameworks was the amount of extra code. Sometimes it
feels like a bit too much work - but when it comes down to it - my
code is a heck of a lot easier to work with now.

I just bring this up so you can keep it in mind.

Also - I encourage you to play with all the frameworks. The "best" one
is the one that works best for you.

On 5/17/07, Ali Majdzadeh <[EMAIL PROTECTED]> wrote:
> Hi:
> Everybody says Frameworks make life easier. Does it? If yes, please tell me 
> which one can work as a starter for me? Model-Glue looks nice and easy, 
> Mach-II looks very powerful and Fusebox claims to be the most popular. Are 
> they completely different? Is it possible to learn one and then migrate to 
> another easily if needed?
> Please suggest a book for the one you think is the best for the starter. I am 
> in no rush so there is no need for a very quick start but a complete book can 
> help me a lot.
> Thanks
> Ali
>
> 

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278473
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: User's getting other user's sessions

2007-05-17 Thread Christopher Jordan
OT-OT... My company has dealt with Serge too, and I have to agree with 
your assessment of him. Small world huh?

James Wolfe wrote:
> We had this problem last year. We spoke to a whole bunch of CF Gurus and even 
> to the people at Macromedia (in particular a very unhelpful, derogatory 
> gentleman named Serge who denied that we were having the problem even after I 
> proved it to him).
>
> Either way, general suggestions were to ensure that you have proper locking 
> around any code that sets Session variables.
>
> However, none of that was our problem. Turned out, all we needed was a 
> reboot. Something had gotten corrupted in the memory and as soon as we 
> rebooted (6 weeks after the problem began) the problem disappeared never to 
> return.
>
> Hope this helps.
>
> 

~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278472
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Does CF Framework make life easier? Which one to start?

2007-05-17 Thread Greg Luce
I cant speak about Frameworks in general, but I can tell you to avoid
FuseBox like the plague.

> Now this is just a rediculous idea. There are thousands of Fusebox
developers out there writing tens of thousands of applications with various
degrees of success I'm sure, but I don't think it's a stretch to say that
the success rate, mainatinability and scalability of these apps are above
the average no-framework project.

If all you ever coded in was fusebox, then maybe its an OK framework to work
> with.


> It sounds like some folks didn't want to learn it so they claimed it was
hard to understand.

We hired a new developer who told us that FuseBox was the bomb and that he
> knew it. We gave him a specific project to code using FuseBox and to this
> day we regret it. The code is so difficult to read, understand and debug
> that any possible gain in the form of reusable code is immediately lost many
> times over in finding the code you intend to reuse.


> It's quite possible the guy didn't build a "good" Fusebox application
(I've done that). But even my bad one's are better than the average
spaghetti-code.

Maybe the project was too large for FuseBox. Maybe the guy was incompetent
> (he no longer works for us). But we deeply regret allowing him to code that
> project in FuseBox and have not even considered using it again.


> Was MySpace too large for Fusebox? Come on! It's quite possible the guy
was incompetent, but for a reasonably intelligent programmer to say that
Fusebox code is hard to read tells me they just didn't try.



~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278471
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Errant Web-inf directories

2007-05-17 Thread Dave Watts
> So, we have a single instance of CF 6.1 installed on linux 
> (no clustering). However, we have multiple instances of the 
> web-inf/* directories. The server admin's don't know where 
> they came from, or what to do about them. They seem to be in 
> subdomains or virtual servers, but they're not consistently so.
> 
> Their first approach was to remove one, which was followed by 
> a lovely server crash (which may or may not be related as 
> we're also having Oracle connectivity issues).

What's in those other WEB-INF directories? I suspect they don't contain the
entire contents of the original WEB-INF directory.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

This email has been processed by SmoothZap - www.smoothwall.net


~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278470
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: User's getting other user's sessions

2007-05-17 Thread Brad Wood
OF course, we schedule our servers to restart every night so we wouldn't
know whether or not it was fixed.

~Brad

-Original Message-
From: Brad Wood [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 17, 2007 10:56 AM
To: CF-Talk
Subject: RE: User's getting other user's sessions

Interesting.  We seem to have that problem every once in a while, but
usually it boils down to a user E-mailing a link to another user with a
jsessionid or cfid/cftoken in it.

~Brad

-Original Message-
From: James Wolfe [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 17, 2007 10:39 AM
To: CF-Talk
Subject: Re: User's getting other user's sessions

We had this problem last year. We spoke to a whole bunch of CF Gurus and
even to the people at Macromedia (in particular a very unhelpful,
derogatory gentleman named Serge who denied that we were having the
problem even after I proved it to him).

Either way, general suggestions were to ensure that you have proper
locking around any code that sets Session variables.

However, none of that was our problem. Turned out, all we needed was a
reboot. Something had gotten corrupted in the memory and as soon as we
rebooted (6 weeks after the problem began) the problem disappeared never
to return.

Hope this helps.

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278469
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Does CF Framework make life easier? Which one to start?

2007-05-17 Thread Peterson, Chris
I am coding my first app in Model-Glue and once I got over the concepts,
its really simple.

Also, if this is your first one, take a peek at Coldbox
(http://www.luismajano.com/index.cfm?event=ehProjects.dspColdbox)  When
I stumbled upon this, I was surprised it didn't have more press.  It has
a very slick user interface to its cache, super easy install (copy into
any folder and run).  I haven't made any apps in here, but it looks very
much like Model-Glue at least at first glance.  And I like that its
events are based off cfc names (event = mystuff.lookup finds mystuff.cfc
and runs the lookup function)

Chris

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278468
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: User's getting other user's sessions

2007-05-17 Thread Brad Wood
Interesting.  We seem to have that problem every once in a while, but
usually it boils down to a user E-mailing a link to another user with a
jsessionid or cfid/cftoken in it.

~Brad

-Original Message-
From: James Wolfe [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 17, 2007 10:39 AM
To: CF-Talk
Subject: Re: User's getting other user's sessions

We had this problem last year. We spoke to a whole bunch of CF Gurus and
even to the people at Macromedia (in particular a very unhelpful,
derogatory gentleman named Serge who denied that we were having the
problem even after I proved it to him).

Either way, general suggestions were to ensure that you have proper
locking around any code that sets Session variables.

However, none of that was our problem. Turned out, all we needed was a
reboot. Something had gotten corrupted in the memory and as soon as we
rebooted (6 weeks after the problem began) the problem disappeared never
to return.

Hope this helps.



~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278467
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Does CF Framework make life easier? Which one to start?

2007-05-17 Thread Greg Luce
I have to disagree. Fusebox 3 is not the way to go. Get the new Jeff Peters
FB5.1 book. And download the sample apps out there. I like WeGotWidgets for
teaching new Fuseboxers.

(FB 3 had the worst layout system, don't get newbies involved in that)

Greg

On 5/17/07, Tom Chiverton <[EMAIL PROTECTED]> wrote:
>
> On Thursday 17 May 2007, Ali Majdzadeh wrote:
> > Everybody says Frameworks make life easier. Does it?
>
> Yes*.
>
> > If yes, please tell me
> > which one can work as a starter for me?
>
> Fusebox 3. Gives you a good overview of how and why to use one, but isn't
> nearly as complex as other frameworks.
>
> > they completely different? Is it possible to learn one and then migrate
> to
> > another easily if needed? Please suggest a book for the one you think is
>
> Not generally, no.
> You can do some work to decouple everything, but sooner or later you have
> to
> depend on something remaining static.
> The good news is that once you are in the mind set, picking up your 2nd
> (third, fourth...) framework is easy.
>
>
> --
> Tom Chiverton
> Helping to assertively syndicate interdependent functionalities
> on: http://thefalken.livejournal.com
>
> * This sentence has been sponsored by Sweeping-Statements-R-Us(tm)
>
> 
>
> This email is sent for and on behalf of Halliwells LLP.
>
> Halliwells LLP is a limited liability partnership registered in England
> and Wales under registered number OC307980 whose registered office address
> is at St James's Court Brown Street Manchester M2 2JF.  A list of members is
> available for inspection at the registered office. Any reference to a
> partner in relation to Halliwells LLP means a member of Halliwells LLP.
> Regulated by the Law Society.
>
> CONFIDENTIALITY
>
> This email is intended only for the use of the addressee named above and
> may be confidential or legally privileged.  If you are not the addressee you
> must not read it and must not use any information contained in nor copy it
> nor inform any person other than Halliwells LLP or the addressee of its
> existence or contents.  If you have received this email in error please
> delete it and notify Halliwells LLP IT Department on 0870 365 8008.
>
> For more information about Halliwells LLP visit www.halliwells.com.
>
>
> 

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278466
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Errant Web-inf directories

2007-05-17 Thread Deanna Schneider
Hey all,
So, we have a single instance of CF 6.1 installed on linux (no
clustering). However, we have multiple instances of the web-inf/*
directories. The server admin's don't know where they came from, or
what to do about them. They seem to be in subdomains or virtual
servers, but they're not consistently so.

Their first approach was to remove one, which was followed by a lovely
server crash (which may or may not be related as we're also having
Oracle connectivity issues).

Anyone experience anything like this before?

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278465
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Does CF Framework make life easier? Which one to start?

2007-05-17 Thread James Wolfe
I cant speak about Frameworks in general, but I can tell you to avoid FuseBox 
like the plague. 

If all you ever coded in was fusebox, then maybe its an OK framework to work 
with. 

We hired a new developer who told us that FuseBox was the bomb and that he knew 
it. We gave him a specific project to code using FuseBox and to this day we 
regret it. The code is so difficult to read, understand and debug that any 
possible gain in the form of reusable code is immediately lost many times over 
in finding the code you intend to reuse.

Maybe the project was too large for FuseBox. Maybe the guy was incompetent (he 
no longer works for us). But we deeply regret allowing him to code that project 
in FuseBox and have not even considered using it again.

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278464
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: User's getting other user's sessions

2007-05-17 Thread James Wolfe
We had this problem last year. We spoke to a whole bunch of CF Gurus and even 
to the people at Macromedia (in particular a very unhelpful, derogatory 
gentleman named Serge who denied that we were having the problem even after I 
proved it to him).

Either way, general suggestions were to ensure that you have proper locking 
around any code that sets Session variables.

However, none of that was our problem. Turned out, all we needed was a reboot. 
Something had gotten corrupted in the memory and as soon as we rebooted (6 
weeks after the problem began) the problem disappeared never to return.

Hope this helps.

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278463
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: OT: javascript

2007-05-17 Thread Charlie Griefer
On 5/17/07, Daniel Baughman <[EMAIL PROTECTED]> wrote:
> I'm pretty sure you want
> document.getElementById(textInputID).disabled  =
> true
> not
> document.getElementById(textInputID).style.disabled
> = true;

indeed.  sorry 'bout that.  haven't had coffee yet :)

-- 
Charlie Griefer


"...All the world shall be your enemy, Prince with a Thousand Enemies,
and whenever they catch you, they will kill you. But first they must catch
you, digger, listener, runner, prince with a swift warning.
Be cunning and full of tricks and your people shall never be destroyed."

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278462
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: OT: javascript

2007-05-17 Thread Daniel Baughman
I'm pretty sure you want 
document.getElementById(textInputID).disabled  =
true 
not 
document.getElementById(textInputID).style.disabled
= true;



-Original Message-
From: Charlie Griefer [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 17, 2007 9:26 AM
To: CF-Talk
Subject: Re: OT: javascript


in this case, you don't need 'foo'.  just 'moo'.  even though they could be
in different forms, an id value should not be repeated on a page.

so...

function disabler(textInputID) {
   document.getElementById(textInputID).style.disabled=true;
}



 

On 5/17/07, Chad Gray <[EMAIL PROTECTED]> wrote:
> I want to write a javascript function that I can use on all of my forms
and inputs to disable a text input.  So I want to pass to the function the
form's ID and the text input's ID to be disabled.
>
> How do I append the functions attributes to my document command?
>
> My javascript below does not work.
>
>
> Function disabler(formID,textInputID) {
>
> document.formID.textInputID.disabled=true;
>
> }
>
> 
> 
>  
>
>
>
> 



~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278461
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


  1   2   >