Re: need a host

2014-11-21 Thread Rick Faircloth

I would highly recommend them, without reservation.

I have no vested interest in a recommendation. They've just been
great to work with since I placed my first VPS order in 2008 and have
been very helpful, supportive, and accommodating.

I just have them set up my VPS's and then manage the server
hardware, CF server, and IIS, myself via RDC.

Works like a charm...

Rick


On 11/21/2014 4:04 PM, Wil Genovese wrote:
 I should really get to know these KickAssVPS people. They are located less 
 than 2 miles from my house here in St. Paul, MN.





 Wil Genovese
 Sr. Web Application Developer/
 Systems Administrator
 CF Webtools
 www.cfwebtools.com

 wilg...@trunkful.com
 www.trunkful.com

 On Nov 21, 2014, at 2:57 PM, Rick Eidson cfh...@kchost.net wrote:

 They have CF11.

 Rick

 -Original Message-
 From: Rob Voyle [mailto:robvo...@voyle.com]
 Sent: Friday, November 21, 2014 2:43 PM
 To: cf-talk
 Subject: Re: need a host


 Hi Folks

 I would affirm kickAssVps, I was with them for several years and got great
 responsive service.

 However for business reasons, which I totally understand, they are not
 upgrading to CF11.

 I moved to www.viviotech.net/ and because I am not all that literate in the
 server and condfusion administration arena purchased the extended support
 and I couldn't be happier, the crew their have been really great.

 Rob
 Robert J. Voyle, Psy.D.
 Director, Clergy Leadership Institute
 For Coaching and Training in Appreciative Inquiry
 Author: Restoring Hope: Appreciative Strategies
 to Resolve Grief and Resentment http://www.appreciativeway.com/
 503-647-2378 or 503-647-2382








 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359698
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: need a host

2014-11-21 Thread Rick Faircloth

Ha! Kinda funny...  This is a Virtual server, and I manage the 
hardware! :)

On 11/21/2014 4:09 PM, Rick Faircloth wrote:
 I would highly recommend them, without reservation.

 I have no vested interest in a recommendation. They've just been
 great to work with since I placed my first VPS order in 2008 and have
 been very helpful, supportive, and accommodating.

 I just have them set up my VPS's and then manage the server
 hardware, CF server, and IIS, myself via RDC.

 Works like a charm...

 Rick


 On 11/21/2014 4:04 PM, Wil Genovese wrote:
 I should really get to know these KickAssVPS people. They are located less 
 than 2 miles from my house here in St. Paul, MN.





 Wil Genovese
 Sr. Web Application Developer/
 Systems Administrator
 CF Webtools
 www.cfwebtools.com

 wilg...@trunkful.com
 www.trunkful.com

 On Nov 21, 2014, at 2:57 PM, Rick Eidson cfh...@kchost.net wrote:

 They have CF11.

 Rick

 -Original Message-
 From: Rob Voyle [mailto:robvo...@voyle.com]
 Sent: Friday, November 21, 2014 2:43 PM
 To: cf-talk
 Subject: Re: need a host


 Hi Folks

 I would affirm kickAssVps, I was with them for several years and got great
 responsive service.

 However for business reasons, which I totally understand, they are not
 upgrading to CF11.

 I moved to www.viviotech.net/ and because I am not all that literate in the
 server and condfusion administration arena purchased the extended support
 and I couldn't be happier, the crew their have been really great.

 Rob
 Robert J. Voyle, Psy.D.
 Director, Clergy Leadership Institute
 For Coaching and Training in Appreciative Inquiry
 Author: Restoring Hope: Appreciative Strategies
  to Resolve Grief and Resentment http://www.appreciativeway.com/
 503-647-2378 or 503-647-2382








 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359699
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: need a host

2014-11-20 Thread Rick Faircloth

I've always gotten quick, personal attention to any issues that may arise.


On 11/19/2014 9:27 PM, Rick Eidson wrote:
 I posted about this last week... Yes, you are right. It seems they have
 become a bit drone like. Before with a tech problem things seems more
 personable.



 Rick

 -Original Message-
 From: Rick Faircloth [mailto:r...@whitestonemedia.com]
 Sent: Wednesday, November 19, 2014 7:41 PM
 To: cf-talk
 Subject: Re: need a host


 KickAssVPS.com

 Been with them for years; very little trouble; always quick with support.

 They even tailor VPS's for me.


 On 11/19/2014 7:49 PM, Brian Thornton wrote:
 So sorry to bring up an old thread. BUt things have changed at Hostek.
 Simple common sense have changed into support phone scripts,
 unresponsive tickets, beuracy over account confirmatino over the
 phone.

 Some examples:
 EXAMPLE 1:
 Me: Hi Can you make this change on the account since the online
 portal is not working using the username and password you provided?
 Hostek Support: Yes as long as you answer your secret question with
 the correct answer.
 Me: Sure what is the question that you'd like me to answer?
 Hostek: Sir due to confidentiality, I cant give you the question or
 the answer but you can login online to get the question.
 Me: I understand that but I'm calling since the autogenerated
 password you just created and emailed me isn't valid this cannot login
 to the portal. If I can't login how would I get the question or the
 answer and if I could login I wouldn't be calling you.
 Hostek: Well sir, if you like you can login and change your password
 if you like.

 or EXAMPLE 2:
 Me: When you setup a VPS server for a client you gave them a username
 and password for RDS to the machine, however your policy is to block
 all access unless the IP address is whitelisted. What is the password
 to login to add an IPto the whitelist table?
 Hostek: Sorry sir, that's a different password that you will need to
 login with. I don't have access to it, to allow you to reset it, or to
 create a new one. You will need to login to change it.

 etc etc..

 So kudos to Hostek for being CF tailored, but folks they have become
 drones.
 I recommend the others found at:
 http://www.adobe.com/uk/products/coldfusion-family/hosting-partners.ht
 ml

 On Sun, Jul 20, 2014 at 5:19 PM, Stephen Hait stephenh...@gmail.com
 wrote:
 Just switched a client from Newtek to Hostek and everyone's a lot
 happier.
 CF11, though, not sure about CF9.


 On Sun, Jul 20, 2014 at 5:09 PM, Matthew Smith
 chedders...@gmail.com
 wrote:

 not newtek, no hostmedia.co.uk(no mssql), no viviotek.  Any suggestions?

 Need cf 9 and ms sql.  Thanks.

 --
 Regards,
 chedder is bedder





 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359688
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: need a host

2014-11-19 Thread Rick Faircloth

KickAssVPS.com

Been with them for years; very little trouble; always quick with support.

They even tailor VPS's for me.


On 11/19/2014 7:49 PM, Brian Thornton wrote:
 So sorry to bring up an old thread. BUt things have changed at Hostek.
 Simple common sense have changed into support phone scripts,
 unresponsive tickets, beuracy over account confirmatino over the
 phone.

 Some examples:
 EXAMPLE 1:
 Me: Hi Can you make this change on the account since the online
 portal is not working using the username and password you provided?
 Hostek Support: Yes as long as you answer your secret question with
 the correct answer.
 Me: Sure what is the question that you'd like me to answer?
 Hostek: Sir due to confidentiality, I cant give you the question or
 the answer but you can login online to get the question.
 Me: I understand that but I'm calling since the autogenerated
 password you just created and emailed me isn't valid this cannot login
 to the portal. If I can't login how would I get the question or the
 answer and if I could login I wouldn't be calling you.
 Hostek: Well sir, if you like you can login and change your password
 if you like.

 or EXAMPLE 2:
 Me: When you setup a VPS server for a client you gave them a username
 and password for RDS to the machine, however your policy is to block
 all access unless the IP address is whitelisted. What is the password
 to login to add an IPto the whitelist table?
 Hostek: Sorry sir, that's a different password that you will need to
 login with. I don't have access to it, to allow you to reset it, or to
 create a new one. You will need to login to change it.

 etc etc..

 So kudos to Hostek for being CF tailored, but folks they have become drones.

 I recommend the others found at:
 http://www.adobe.com/uk/products/coldfusion-family/hosting-partners.html

 On Sun, Jul 20, 2014 at 5:19 PM, Stephen Hait stephenh...@gmail.com wrote:
 Just switched a client from Newtek to Hostek and everyone's a lot happier.
 CF11, though, not sure about CF9.


 On Sun, Jul 20, 2014 at 5:09 PM, Matthew Smith chedders...@gmail.com
 wrote:

 not newtek, no hostmedia.co.uk(no mssql), no viviotek.  Any suggestions?

 Need cf 9 and ms sql.  Thanks.

 --
 Regards,
 chedder is bedder




 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359685
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: SOT: the magic of RANK()

2014-08-12 Thread Rick Faircloth

Nice!

I've never heard of Rank()...


On 8/12/2014 4:21 PM, John M Bliss wrote:
 I hope this saves someone some time and I hope I'm not way late to the
 RANK() party:

 Let's say you have this table:

 column1 - column2
 A - 1
 A - 2
 A - 2
 B - 3
 B - 4
 B - 4

 ...and you need to write SQL to return the most frequently occurring
 column2 for each distinct column1:

 A - 2
 B - 4

 Enter RANK():

 SELECT x.column1, x.column2
 FROM (
 SELECT z.column1, z.column2, COUNT(*) as thecount, RANK() OVER (PARTITION
 BY z.column1 ORDER BY COUNT(*) DESC) AS therank
 FROM z
 GROUP BY z.column1, z.column2
 ) AS x
 WHERE x.therank = 1

 Done and done.  :-)



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359113
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Testing

2014-05-18 Thread Rick Faircloth

Testing...

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358654
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Testing

2014-05-18 Thread Rick Faircloth

Thanks for the confirmation, Mike.

I'll keep working on the solution to why you didn't receive it
and I didn't receive your notice confirmation my message failure. :-D

Rick




On 5/18/2014 10:32 PM, Mike K wrote:
 Nope.  I never received it Rick.



 On Mon, May 19, 2014 at 12:31 PM, Rick Faircloth
 r...@whitestonemedia.comwrote:

 Testing...


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358657
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: How do I pass this jQuery variable as arguments to a cfc method?

2014-01-16 Thread Rick Faircloth

Hmmm...

I tried using the specialIDList.push(specialID) approach, and I get the
correct
output in console.log,  [ 27, 28, 26 ], but I also get the error in
Firebug,
500 Element SPECIALIDLIST is undefined in ARGUMENTS.

I also tried using specialIDList = specialID.join(', ') and I still get the
same
output in console.log, [ 27, 28, 26 ], but I also get the same error
in Firebug,
500 Element SPECIALIDLIST is undefined in ARGUMENTS.

So, the cfc method doesn't understand speciaIDList when it's sent in the
form
above, even when I specify the argument as array type.

Suggestions on what to do now? Something else on the client side with
jQuery/JS
or something on the method side with CF?

Thanks for any feedback!

Rick






On Wed, Jan 15, 2014 at 9:20 PM, Raymond Camden raymondcam...@gmail.comwrote:


 On Wed, Jan 15, 2014 at 5:38 PM, Rick Faircloth r...@whitestonemedia.com
 wrote:

 
 
 
  It shows [ 27, 28, 26 ] in the console.
 
  I guess I can just pass that through and have a cfargument type of list
  and parse those ID's with a cfloop to assign them to individual
  cfarguments.
 
  Or does a cfargument type of list handle the ID's without having to
  break down the list into individual arguments?
 
 
 Not exactly. You can't pass complex variables like that via HTTP. It has to
 be serialized first. I believe jQuery will do that for you- but I'd
 probably do it myself - ie, somearray.join(,).




 
  On Wed, Jan 15, 2014 at 6:00 PM, Raymond Camden raymondcam...@gmail.com
  wrote:


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357444
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: How do I pass this jQuery variable as arguments to a cfc method?

2014-01-16 Thread Rick Faircloth

Here's the client-side code:

$(document).ready(function() {

  $('#newsletter_preview_button').click(function() {

  var emailNewsletterGreeting = $('#email_newsletter_greeting').val();

  var specialIDList = [];

  $('.special_title_checkbox:checked').each(function() {

  var specialID = $(this).attr('id').split('_').pop();
  specialIDList = specialID.join(', ');

  });

  console.log(specialIDList);

  values =  { emailNewsletterGreeting: emailNewsletterGreeting,
  specialIDList:  specialIDList }


  $.ajax({  cache:false,
  type:  'post',

'email-newsletter.cfc?method=mProcessEmailNewsletterFormreturnFormat=json',
  data:  values,
  success:function(response) {

  alert('Success!');

  }
  });

  });

});

On Thu, Jan 16, 2014 at 11:02 AM, Raymond Camden raymondcam...@gmail.comwrote:


 On Thu, Jan 16, 2014 at 9:54 AM, Rick Faircloth r...@whitestonemedia.com
 wrote:

 
  Hmmm...
 
  I tried using the specialIDList.push(specialID) approach, and I get the
  correct
  output in console.log,  [ 27, 28, 26 ], but I also get the error in
  Firebug,
  500 Element SPECIALIDLIST is undefined in ARGUMENTS.
 



 
  I also tried using specialIDList = specialID.join(', ') and I still get
 the
  same
  output in console.log, [ 27, 28, 26 ], but I also get the same
 error
  in Firebug,
  500 Element SPECIALIDLIST is undefined in ARGUMENTS.
 

 Ok, so you passed specialidlist, right? Can you show us your latest code?


 
  So, the cfc method doesn't understand speciaIDList when it's sent in the
  form
  above, even when I specify the argument as array type.
 

 Remember, we are sending the data over the wire as a string. So your
 argument should be string.

 But for now, let's see your client side code again please.


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357446
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: How do I pass this jQuery variable as arguments to a cfc method?

2014-01-16 Thread Rick Faircloth

Hi, Steve...

I just gave that a try, but still get an error in Firebug:
500 Element SPECIALIDLIST is undefined in ARGUMENTS

Also, in the console, I still get what appears to be the same when I use
console.log(specialIDLlist):
[ 27, 28, 26 ].

Perhaps something is missing on the cfc method side? Here's that code:

cffunction name   = mProcessEmailNewsletterForm
  displayName=  mProcessEmailNewsletterForm
  hint  =  Processes Email Newsletter Form
  output  =  true
  access =  remote
  returnType= struct 

  cfargument name = emailNewsletterGreeting type = string required =
no /
  cfargument name = specialIDList  type = string required
= no /

  cfset emailNewsletterStruct = structNew() /

  cfset emailNewsletterStruct.EMAILNEWSLETTERGREETING =
'#arguments.emailNewsletterGreeting#'
/
  cfset emailNewsletterStruct.SPECIALIDLIST = '#arguments.specialIDList#'
/

  cfreturn emailNewsletterStruct /

/cffunction


???




On Thu, Jan 16, 2014 at 12:50 PM, Steve Milburn scmilb...@gmail.com wrote:


 Inside your .each loop you want to push specialID to your array like so:
 specialIDList.push (specialID). Afterwards when you are preparing your
 values object to be sent to the server you do specialIDList.join to put
 them into a string.
 On Jan 16, 2014 12:32 PM, Rick Faircloth r...@whitestonemedia.com
 wrote:

 
  Here's the client-side code:
 
  $(document).ready(function() {
 
$('#newsletter_preview_button').click(function() {
 
var emailNewsletterGreeting = $('#email_newsletter_greeting').val();
 
var specialIDList = [];
 
$('.special_title_checkbox:checked').each(function() {
 
var specialID = $(this).attr('id').split('_').pop();
specialIDList = specialID.join(', ');
 
});
 
console.log(specialIDList);
 
values =  { emailNewsletterGreeting:
 emailNewsletterGreeting,
specialIDList:  specialIDList }
 
 
$.ajax({  cache:false,
type:  'post',
 
 
 
 'email-newsletter.cfc?method=mProcessEmailNewsletterFormreturnFormat=json',
data:  values,
success:function(response) {
 
alert('Success!');
 
}
});
 
});
 
  });
 
  On Thu, Jan 16, 2014 at 11:02 AM, Raymond Camden 
 raymondcam...@gmail.com
  wrote:
 
  
   On Thu, Jan 16, 2014 at 9:54 AM, Rick Faircloth 
  r...@whitestonemedia.com
   wrote:
  
   
Hmmm...
   
I tried using the specialIDList.push(specialID) approach, and I get
 the
correct
output in console.log,  [ 27, 28, 26 ], but I also get the
 error
  in
Firebug,
500 Element SPECIALIDLIST is undefined in ARGUMENTS.
   
  
  
  
   
I also tried using specialIDList = specialID.join(', ') and I still
 get
   the
same
output in console.log, [ 27, 28, 26 ], but I also get the same
   error
in Firebug,
500 Element SPECIALIDLIST is undefined in ARGUMENTS.
   
  
   Ok, so you passed specialidlist, right? Can you show us your latest
 code?
  
  
   
So, the cfc method doesn't understand speciaIDList when it's sent in
  the
form
above, even when I specify the argument as array type.
   
  
   Remember, we are sending the data over the wire as a string. So your
   argument should be string.
  
   But for now, let's see your client side code again please.
  
  
  
 
 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357448
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: How do I pass this jQuery variable as arguments to a cfc method?

2014-01-16 Thread Rick Faircloth

Hold the horses!

I changed the join from:

specialIDList.join();

to:

var specialIDList = specialIDList.join();

and it worked!

I think the var, specialIDList, was not available to the ajax function
since it was being recreated
in the .each loop.

So, now do I have to loop over the multiple variables in specialIDList on
the server side with CF
in order to break the string into individual arguments?




On Thu, Jan 16, 2014 at 2:07 PM, Rick Faircloth r...@whitestonemedia.comwrote:

 Hi, Steve...

 I just gave that a try, but still get an error in Firebug:
 500 Element SPECIALIDLIST is undefined in ARGUMENTS

 Also, in the console, I still get what appears to be the same when I use
 console.log(specialIDLlist):
 [ 27, 28, 26 ].

 Perhaps something is missing on the cfc method side? Here's that code:

 cffunction name   = mProcessEmailNewsletterForm
   displayName=  mProcessEmailNewsletterForm
   hint  =  Processes Email Newsletter Form
   output  =  true
   access =  remote
   returnType= struct 

   cfargument name = emailNewsletterGreeting type = string required =
 no /
   cfargument name = specialIDList  type = string required
 = no /

   cfset emailNewsletterStruct = structNew() /

   cfset emailNewsletterStruct.EMAILNEWSLETTERGREETING = 
 '#arguments.emailNewsletterGreeting#'
 /
   cfset emailNewsletterStruct.SPECIALIDLIST = '#arguments.specialIDList#'
 /

   cfreturn emailNewsletterStruct /

 /cffunction


 ???




 On Thu, Jan 16, 2014 at 12:50 PM, Steve Milburn scmilb...@gmail.comwrote:


 Inside your .each loop you want to push specialID to your array like so:
 specialIDList.push (specialID). Afterwards when you are preparing your
 values object to be sent to the server you do specialIDList.join to put
 them into a string.
 On Jan 16, 2014 12:32 PM, Rick Faircloth r...@whitestonemedia.com
 wrote:

 
  Here's the client-side code:
 
  $(document).ready(function() {
 
$('#newsletter_preview_button').click(function() {
 
var emailNewsletterGreeting = $('#email_newsletter_greeting').val();
 
var specialIDList = [];
 
$('.special_title_checkbox:checked').each(function() {
 
var specialID = $(this).attr('id').split('_').pop();
specialIDList = specialID.join(', ');
 
});
 
console.log(specialIDList);
 
values =  { emailNewsletterGreeting:
 emailNewsletterGreeting,
specialIDList:  specialIDList
 }
 
 
$.ajax({  cache:false,
type:  'post',
 
 
 
 'email-newsletter.cfc?method=mProcessEmailNewsletterFormreturnFormat=json',
data:  values,
success:function(response) {
 
alert('Success!');
 
}
});
 
});
 
  });
 
  On Thu, Jan 16, 2014 at 11:02 AM, Raymond Camden 
 raymondcam...@gmail.com
  wrote:
 
  
   On Thu, Jan 16, 2014 at 9:54 AM, Rick Faircloth 
  r...@whitestonemedia.com
   wrote:
  
   
Hmmm...
   
I tried using the specialIDList.push(specialID) approach, and I get
 the
correct
output in console.log,  [ 27, 28, 26 ], but I also get the
 error
  in
Firebug,
500 Element SPECIALIDLIST is undefined in ARGUMENTS.
   
  
  
  
   
I also tried using specialIDList = specialID.join(', ') and I still
 get
   the
same
output in console.log, [ 27, 28, 26 ], but I also get the same
   error
in Firebug,
500 Element SPECIALIDLIST is undefined in ARGUMENTS.
   
  
   Ok, so you passed specialidlist, right? Can you show us your latest
 code?
  
  
   
So, the cfc method doesn't understand speciaIDList when it's sent in
  the
form
above, even when I specify the argument as array type.
   
  
   Remember, we are sending the data over the wire as a string. So your
   argument should be string.
  
   But for now, let's see your client side code again please.
  
  
  
 
 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357449
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


How do I pass this jQuery variable as arguments to a cfc method?

2014-01-15 Thread Rick Faircloth

Hi, all...

I've approached this problem from every direction I can think of and with
reference to many, many websites, but I still can put together an answer.

I have this HTML in a form:

  cfoutput query = qGetSpecials

  div class=special_title_container
  span class=title_checkbox_span
  input id=special_id_#special_id# class=special_title_checkbox
value=#special_title# type=checkbox name=special_title
  /span
  span class=special_title_span#special_title#/span
  /div

  /cfoutput

Which is output into this:

input id=special_id_26 class=special_title_checkbox value=First
Special type=checkbox name=special_title
input id=special_id_27 class=special_title_checkbox value=Second
Special type=checkbox name=special_title
input id=special_id_28 class=special_title_checkbox value=Third
Special type=checkbox name=special_title

This jQuery processing the inputs:

$(document).ready(function() {

  $('#newsletter_preview_button').click(function() {

  var specialTitleID = $('.special_title_checkbox:checked');

  $('.special_title_checkbox:checked').each(function(index,value) {

  var specialTitleID = $(this).attr('id').split('_').pop();
  var specialTitleID = 'specialTitle_'+specialTitleID;

  alert(specialTitleID); --- [ this alerts the three input values, 26, 27,
28, individually when form is submitted ]

  });

  values =  {   emailNewsletterGreeting: emailNewsletterGreeting,
  specialTitleID: specialTitleID}

  (Followed by AJAX code...)

And this cfc method:

  cffunction name   = mProcessEmailNewsletterForm
  displayName=  mProcessEmailNewsletterForm
hint  =  Processes Email Newsletter Form
  output  =  true
  access =  remote
  returnType=  struct 

  cfargument name = emailNewsletterGreeting type = string
  required = no /
  cfargument name = specialTitleID type =
string  required
= no /

  cfset emailNewsletterStruct = structNew() /

  cfset emailNewsletterStruct.email_newsletter_greeting =
'#arguments.email_newsletter_greeting#'
/
  cfset emailNewsletterStruct.specialTitleID   =
'#arguments.specialTitleID#'
/

cfreturn emailNewsletterStruct /

 /cffunction

But, the cffunction above doesn't know what to do with the value,
specialTitleID, when it's received.
Or, rather, I don't know how to change it in the jQuery code or the
cffunction code so that each
specialTitleID can be separted into individual cfarguments.

I've tried specifying cfargument name=specialTitleID as type=array,
type=list, type=string,
but I get a JS error in Firebug no matter what I try. I'm sure it's simple,
I just haven't handled
a multi-valued variable going via AJAX to a cfc method before. (or that I
remember...).

Suggestions, anyone?

Thanks,

Rick

-- 
--
Ninety percent of the politicians give the other ten percent a bad
reputation.  Henry Kissinger


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357429
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: How do I pass this jQuery variable as arguments to a cfc method?

2014-01-15 Thread Rick Faircloth

Hey, Ray, and thanks for the reply...

Here's the ajax part...

$.ajax ({ cache:  false,
  type:'post',
  url:
  'email-newsletter.cfc?method=mProcessEmailNewsletterFormreturnFormat=json',
  data:values,
  success:  function(result) {

  alert('Success!');

  }


On Wed, Jan 15, 2014 at 4:03 PM, Raymond Camden raymondcam...@gmail.comwrote:


 Why didn't yo post the AJAX code? Isn't that crucial for getting the values
 to your CFC? We need to see that.


 On Wed, Jan 15, 2014 at 2:56 PM, Rick Faircloth r...@whitestonemedia.com
 wrote:

 
  Hi, all...
 
  I've approached this problem from every direction I can think of and with
  reference to many, many websites, but I still can put together an answer.
 
  I have this HTML in a form:
 
cfoutput query = qGetSpecials
 
div class=special_title_container
span class=title_checkbox_span
input id=special_id_#special_id# class=special_title_checkbox
  value=#special_title# type=checkbox name=special_title
/span
span class=special_title_span#special_title#/span
/div
 
/cfoutput
 
  Which is output into this:
 
  input id=special_id_26 class=special_title_checkbox value=First
  Special type=checkbox name=special_title
  input id=special_id_27 class=special_title_checkbox value=Second
  Special type=checkbox name=special_title
  input id=special_id_28 class=special_title_checkbox value=Third
  Special type=checkbox name=special_title
 
  This jQuery processing the inputs:
 
  $(document).ready(function() {
 
$('#newsletter_preview_button').click(function() {
 
var specialTitleID = $('.special_title_checkbox:checked');
 
$('.special_title_checkbox:checked').each(function(index,value) {
 
var specialTitleID = $(this).attr('id').split('_').pop();
var specialTitleID = 'specialTitle_'+specialTitleID;
 
alert(specialTitleID); --- [ this alerts the three input values, 26,
 27,
  28, individually when form is submitted ]
 
});
 
values =  {   emailNewsletterGreeting: emailNewsletterGreeting,
specialTitleID: specialTitleID}
 
(Followed by AJAX code...)
 
 
 
 
  --
 
 
 --
  Ninety percent of the politicians give the other ten percent a bad
  reputation.  Henry Kissinger
 
 
 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357437
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: How do I pass this jQuery variable as arguments to a cfc method?

2014-01-15 Thread Rick Faircloth

I set emailNewsletterGreeting earlier. It's a value from a single DOM
element,
so no problem with that.

And I was tinkering with code prior to the ajax code, so I was changing
variable
names halting the processing before ajax kicked in.

Your array idea sounds good.

I also tried this:

var specialIDList = [];

$('.special_title_checkbox:checked').each(function(index,value) {

  var specialTitleID = $(this).attr('id').split('_').pop();
  specialIDList.push(specialTitleID);

});

console.log(specialIDList);

and was able to see the list in Firebug.

It shows [ 27, 28, 26 ] in the console.

I guess I can just pass that through and have a cfargument type of list
and parse those ID's with a cfloop to assign them to individual cfarguments.

Or does a cfargument type of list handle the ID's without having to
break down the list into individual arguments?


On Wed, Jan 15, 2014 at 6:00 PM, Raymond Camden raymondcam...@gmail.comwrote:


 So values is this:

   values =  {   emailNewsletterGreeting: emailNewsletterGreeting,
   specialTitleID: specialTitleID}

 I see you set specialTitleID. But you had it in loop. You probably wanted
 to make that an array. If the values are IDs though you could use an array
 and convert it to a list. So assuming you fixed it and specialTitleID was
 an array, you could do:

 specialTitleList = specialTitleID.join(,);

 Not sure where you set emailNewsletterGretting.

 You then want to use Chrome Dev Tools and look at the network request and
 see how the value is being passed in.


 On Wed, Jan 15, 2014 at 4:50 PM, Rick Faircloth r...@whitestonemedia.com
 wrote:

 
  Hey, Ray, and thanks for the reply...
 
  Here's the ajax part...
 
  $.ajax ({ cache:  false,
type:'post',
url:
 
 
 'email-newsletter.cfc?method=mProcessEmailNewsletterFormreturnFormat=json',
data:values,
success:  function(result) {
 
alert('Success!');
 
}
 
 
  On Wed, Jan 15, 2014 at 4:03 PM, Raymond Camden raymondcam...@gmail.com
  wrote:
 
  
   Why didn't yo post the AJAX code? Isn't that crucial for getting the
  values
   to your CFC? We need to see that.
  
  
   On Wed, Jan 15, 2014 at 2:56 PM, Rick Faircloth 
  r...@whitestonemedia.com
   wrote:
  
   
Hi, all...
   
I've approached this problem from every direction I can think of and
  with
reference to many, many websites, but I still can put together an
  answer.
   
I have this HTML in a form:
   
  cfoutput query = qGetSpecials
   
  div class=special_title_container
  span class=title_checkbox_span
  input id=special_id_#special_id# class=special_title_checkbox
value=#special_title# type=checkbox name=special_title
  /span
  span class=special_title_span#special_title#/span
  /div
   
  /cfoutput
   
Which is output into this:
   
input id=special_id_26 class=special_title_checkbox value=First
Special type=checkbox name=special_title
input id=special_id_27 class=special_title_checkbox
 value=Second
Special type=checkbox name=special_title
input id=special_id_28 class=special_title_checkbox value=Third
Special type=checkbox name=special_title
   
This jQuery processing the inputs:
   
$(document).ready(function() {
   
  $('#newsletter_preview_button').click(function() {
   
  var specialTitleID = $('.special_title_checkbox:checked');
   
  $('.special_title_checkbox:checked').each(function(index,value) {
   
  var specialTitleID = $(this).attr('id').split('_').pop();
  var specialTitleID = 'specialTitle_'+specialTitleID;
   
  alert(specialTitleID); --- [ this alerts the three input values,
 26,
   27,
28, individually when form is submitted ]
   
  });
   
  values =  {   emailNewsletterGreeting:
  emailNewsletterGreeting,
  specialTitleID: specialTitleID}
   
  (Followed by AJAX code...)
   
   
   
   
--
   
   
  
 
 --
Ninety percent of the politicians give the other ten percent a bad
reputation.  Henry Kissinger
   
   
   
  
  
 
 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357441
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: How do I pass this jQuery variable as arguments to a cfc method?

2014-01-15 Thread Rick Faircloth

Thanks for the tip, Jon! I'll have to check out those Chrome Dev Tools!

Rick


On Wed, Jan 15, 2014 at 6:18 PM, Jon Clausen
jon_clau...@silowebworks.comwrote:


 I like Postman because I can manually test  web services, including HTTP
 verbs and enter form and URL variables against services to test responses
 and error handling in a variety of formats. It also has tabs that parse
 your return data, like the network tab does, but in a better format.  It's
 better at functional testing web services, IMHO, than posting AJAX calls
 repeatedly in page.



 [Note: Typo assistance courtesy of iPhone]

  On Jan 15, 2014, at 5:37 PM, Raymond Camden raymondcam...@gmail.com
 wrote:
 
 
  How is that better than the Network tab itself?
 
 
  On Wed, Jan 15, 2014 at 3:59 PM, Jon Clausen
  jon_clau...@silowebworks.comwrote:
 
 
  On a related note, the Postman extension for Chrome is great for testing
  what your remote CFC's are doing with form variables.
 
  On Jan 15, 2014, at 4:53 PM, Jon Clausen 
 jon_clau...@silowebworks.com
  wrote:
 
 
  I would set your argument type as a list and then validate,loop and
  process the list in your CFC method.  If so you’ll need to change your
  each() loop to append the variables in to the list and then post the
 string
  in your $.post() request.
 
  HTH,
  Jon
 
 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357442
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Hosting

2013-10-21 Thread Rick Faircloth

Ditto...

I had a VPS with them for a few years, then moved
to a VDS (Virtual Dedicated Server) about a year ago.

Support couldn't be better and they're a great group.
I've had almost no problems with the service for the
entire time I've been with them. And any issues were
promptly addressed.

And, no, I make no money for my promotion.

Rick

-Original Message-
From: Rob Voyle [mailto:robvo...@voyle.com] 
Sent: Monday, October 21, 2013 1:42 PM
To: cf-talk
Subject: Re: Hosting


Ive been truly blessed by Kickassvps 
http://www.kickassvps.com/

Rob
Robert J. Voyle, Psy.D.
Director, Clergy Leadership Institute
For Coaching and Training in Appreciative Inquiry
Author: Restoring Hope: Appreciative Strategies
to Resolve Grief and Resentment
http://www.appreciativeway.com/
503-647-2378 or 503-647-2382


On 21 Oct 2013 at 9:04, Robert Harrison wrote:

 
 I know this has been asked 100 times before, but it looks like I
 need a new cf hosts that can host enterprise level sites.  Any
 recommendations?
 





~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356957
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Best way to use LESS CSS with CF?

2013-09-10 Thread Rick Faircloth

Thanks for the info, Cutter...

Are you currently using LESS? If so, what are your thoughts
about its usefulness?



-Original Message-
From: Steve 'Cutter' Blades [mailto:cold.fus...@cutterscrossing.com] 
Sent: Monday, September 09, 2013 8:19 AM
To: cf-talk
Subject: Re: Best way to use LESS CSS with CF?


You compile LESS down to css files, you don't serve it up to the browser.

I like cfstatic for asset management. It can also compile LESS on the fly.

Steve 'Cutter' Blades
Adobe Community Professional
Adobe Certified Expert
Advanced Macromedia ColdFusion MX 7 Developer

http://cutterscrossing.com


Co-Author Learning Ext JS 3.2 Packt Publishing 2010
https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book

The best way to predict the future is to help create it

On 9/7/2013 1:53 PM, Rick Faircloth wrote:
 Nevermind... I figured out I need to set a mime type for .less
 and then set that type to text/css.

 In other words:

 Extention: less
 Mime Type: text/css

 Rick

 -Original Message-
 From: Rick Faircloth [mailto:r...@whitestonemedia.com]
 Sent: Saturday, September 07, 2013 2:39 PM
 To: cf-talk
 Subject: Best way to use LESS CSS with CF?


 Hi, all...

 Anyone using LESS with their CSS?

 I'm trying to get a handle on using LESS with my CSS,
 but I'm not quite getting it to work.

 I'm including the styles.less and the less.js files,
 but I'm missing something, because the variables don't
 affect the output.

 Do I need some kind of compiler for this to work with CF?

 Thanks for the guidance!

 Rick




 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356731
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Best way to use LESS CSS with CF?

2013-09-10 Thread Rick Faircloth

I'm just now looking seriously into LESS and its usage.
So far, I've really only looked at its use of variables.

As far as variables are concerned, I don't see much difference
between using variables and classes.

I can define, say, a class this way in CSS:

.titleColor { color: blue }

and use it this way: p class=titleColor

or define this way with LESS:

@titleColor { color: blue }

.titleColor { color: @titleColor }

and use it this way: p class=titleColor

Seems like LESS is more in this case and of
insignificant benefit.

Am I missing the point and best use of variables?

Thanks for the feedback!

Rick




-Original Message-
From: Steve 'Cutter' Blades [mailto:cold.fus...@cutterscrossing.com] 
Sent: Tuesday, September 10, 2013 7:58 AM
To: cf-talk
Subject: Re: Best way to use LESS CSS with CF?


As a heavy Bootstrap user, I use LESS constantly. Once you really dig 
in, you find out quickly just how useful it truly is. Tech like LESS and 
SASS are perfect for those creating skinned applications.

Steve 'Cutter' Blades
Adobe Community Professional
Adobe Certified Expert
Advanced Macromedia ColdFusion MX 7 Developer

http://cutterscrossing.com


Co-Author Learning Ext JS 3.2 Packt Publishing 2010
https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book

The best way to predict the future is to help create it

On 9/10/2013 6:34 AM, Rick Faircloth wrote:
 Thanks for the info, Cutter...

 Are you currently using LESS? If so, what are your thoughts
 about its usefulness?



 -Original Message-
 From: Steve 'Cutter' Blades [mailto:cold.fus...@cutterscrossing.com]
 Sent: Monday, September 09, 2013 8:19 AM
 To: cf-talk
 Subject: Re: Best way to use LESS CSS with CF?


 You compile LESS down to css files, you don't serve it up to the browser.

 I like cfstatic for asset management. It can also compile LESS on the fly.

 Steve 'Cutter' Blades
 Adobe Community Professional
 Adobe Certified Expert
 Advanced Macromedia ColdFusion MX 7 Developer
 
 http://cutterscrossing.com


 Co-Author Learning Ext JS 3.2 Packt Publishing 2010
 https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book

 The best way to predict the future is to help create it

 On 9/7/2013 1:53 PM, Rick Faircloth wrote:
 Nevermind... I figured out I need to set a mime type for .less
 and then set that type to text/css.

 In other words:

 Extention: less
 Mime Type: text/css

 Rick

 -Original Message-
 From: Rick Faircloth [mailto:r...@whitestonemedia.com]
 Sent: Saturday, September 07, 2013 2:39 PM
 To: cf-talk
 Subject: Best way to use LESS CSS with CF?


 Hi, all...

 Anyone using LESS with their CSS?

 I'm trying to get a handle on using LESS with my CSS,
 but I'm not quite getting it to work.

 I'm including the styles.less and the less.js files,
 but I'm missing something, because the variables don't
 affect the output.

 Do I need some kind of compiler for this to work with CF?

 Thanks for the guidance!

 Rick







 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356733
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Best way to use LESS CSS with CF?

2013-09-10 Thread Rick Faircloth

How would you perform CSS pre-processing with CF?


-Original Message-
From: Claude Schnéegans schneeg...@internetique.com 
[mailto:=?ISO-8859-1?Q?Claude_Schn=E9egans
schneegans@interneti=71?= =?ISO-8859-1?Q?ue.com=3E?=] 
Sent: Tuesday, September 10, 2013 11:57 AM
To: cf-talk
Subject: Re: Best way to use LESS CSS with CF?


Apparently, this looks like a CSS prepocessor.
But I do not see anything that cannot be done with CF.
So what is the advantage of using yet another technology?




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356740
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Best way to use LESS CSS with CF?

2013-09-10 Thread Rick Faircloth

Thanks, Cutter...

I read the article you referenced and it did clarify some things,
but, being an overview of many different approaches and frameworks
to utilizing CSS, it opened up a large can of worms!

I'm going to check out the BEM approach, first, just as a starting point.

Re: your comments

Variables seem to be the same as a class, to me. I can set a variable
in one place in LESS and change the CSS by changing the variable. But
the exact same effect seems to take place if I create a class, assign
it to elements, then change the class. In that limited usage, a variable
seems no different than a class. One change, many affected elements.

I'll have to study more to understand your comment about
variables and conditions, especially the conditions part. I don't
think I've read about conditions, yet.

But one question I need clarification concerning: if I don't use LESS,
and work with a naming convention, such as BEM, can a pre-processor
still be used with that to compile several stylesheets into a single
stylesheet? Or do pre-processors work with only certains frameworks,
like LESS or SASS?

Rick

-Original Message-
From: Steve 'Cutter' Blades [mailto:cold.fus...@cutterscrossing.com] 
Sent: Tuesday, September 10, 2013 11:00 AM
To: cf-talk
Subject: Re: Best way to use LESS CSS with CF?


Variables are on small advantage. It's nice to be able to set a variable 
for a color, for instance, and reuse it in several hundred locations, in 
a variety of scenarios, without having to apply a separate class to 
thousands of lines of code throughout an application. If the color 
changes, the variable changes, it updates all of the other style 
declarations automatically, BAM!

Mixins are where the power truly shines through. The ability to write 
little functions, to dynamically create declarations based upon 
variables and conditions. That's very powerful.

Steve 'Cutter' Blades
Adobe Community Professional
Adobe Certified Expert
Advanced Macromedia ColdFusion MX 7 Developer

http://cutterscrossing.com


Co-Author Learning Ext JS 3.2 Packt Publishing 2010
https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book

The best way to predict the future is to help create it

On 9/10/2013 7:58 AM, Rick Faircloth wrote:
 I'm just now looking seriously into LESS and its usage.
 So far, I've really only looked at its use of variables.

 As far as variables are concerned, I don't see much difference
 between using variables and classes.

 I can define, say, a class this way in CSS:

 .titleColor { color: blue }

 and use it this way: p class=titleColor

 or define this way with LESS:

 @titleColor { color: blue }

 .titleColor { color: @titleColor }

 and use it this way: p class=titleColor

 Seems like LESS is more in this case and of
 insignificant benefit.

 Am I missing the point and best use of variables?

 Thanks for the feedback!

 Rick




 -Original Message-
 From: Steve 'Cutter' Blades [mailto:cold.fus...@cutterscrossing.com]
 Sent: Tuesday, September 10, 2013 7:58 AM
 To: cf-talk
 Subject: Re: Best way to use LESS CSS with CF?


 As a heavy Bootstrap user, I use LESS constantly. Once you really dig
 in, you find out quickly just how useful it truly is. Tech like LESS and
 SASS are perfect for those creating skinned applications.

 Steve 'Cutter' Blades
 Adobe Community Professional
 Adobe Certified Expert
 Advanced Macromedia ColdFusion MX 7 Developer
 
 http://cutterscrossing.com


 Co-Author Learning Ext JS 3.2 Packt Publishing 2010
 https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book

 The best way to predict the future is to help create it

 On 9/10/2013 6:34 AM, Rick Faircloth wrote:
 Thanks for the info, Cutter...

 Are you currently using LESS? If so, what are your thoughts
 about its usefulness?



 -Original Message-
 From: Steve 'Cutter' Blades [mailto:cold.fus...@cutterscrossing.com]
 Sent: Monday, September 09, 2013 8:19 AM
 To: cf-talk
 Subject: Re: Best way to use LESS CSS with CF?


 You compile LESS down to css files, you don't serve it up to the browser.

 I like cfstatic for asset management. It can also compile LESS on the fly.

 Steve 'Cutter' Blades
 Adobe Community Professional
 Adobe Certified Expert
 Advanced Macromedia ColdFusion MX 7 Developer
 
 http://cutterscrossing.com


 Co-Author Learning Ext JS 3.2 Packt Publishing 2010
 https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book

 The best way to predict the future is to help create it

 On 9/7/2013 1:53 PM, Rick Faircloth wrote:
 Nevermind... I figured out I need to set a mime type for .less
 and then set that type to text/css.

 In other words:

 Extention: less
 Mime Type: text/css

 Rick

 -Original Message-
 From: Rick Faircloth [mailto:r...@whitestonemedia.com]
 Sent: Saturday, September 07, 2013 2:39 PM
 To: cf-talk
 Subject

Best way to use LESS CSS with CF?

2013-09-07 Thread Rick Faircloth

Hi, all...

Anyone using LESS with their CSS?

I'm trying to get a handle on using LESS with my CSS,
but I'm not quite getting it to work.

I'm including the styles.less and the less.js files,
but I'm missing something, because the variables don't
affect the output.

Do I need some kind of compiler for this to work with CF?

Thanks for the guidance!

Rick


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356727
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Best way to use LESS CSS with CF?

2013-09-07 Thread Rick Faircloth

Nevermind... I figured out I need to set a mime type for .less
and then set that type to text/css.

In other words:

Extention: less
Mime Type: text/css

Rick

-Original Message-
From: Rick Faircloth [mailto:r...@whitestonemedia.com] 
Sent: Saturday, September 07, 2013 2:39 PM
To: cf-talk
Subject: Best way to use LESS CSS with CF?


Hi, all...

Anyone using LESS with their CSS?

I'm trying to get a handle on using LESS with my CSS,
but I'm not quite getting it to work.

I'm including the styles.less and the less.js files,
but I'm missing something, because the variables don't
affect the output.

Do I need some kind of compiler for this to work with CF?

Thanks for the guidance!

Rick




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356728
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Pausing a loop or query

2013-08-19 Thread Rick Faircloth

How about using a scheduled task to run a series of mail sends
of 250 each, the as part of the task, schedules another task
5-10 minutes later to send another task. Repeat as needed.

Here's what part of a scheduled task would look like that I used
to process a Real Estate data download every morning:

cfthread action=run name=schedule_01i_hilly_peterson_concierge_processing

   !--- [ set up the delay routine ] ---

   cfset cfthread.sleepTime = 0
   cfset cfthread.initialized = false

!--- [ the cfloop continues to loop until the status of the previous
  cfthred, in that case named email_results is completed
  or terminated (due to a failure) ] ---

  cfloop condition=cfthread.email_results.status neq 'completed' and
 cfthread.email_results.status neq 'terminated'

 cfset sleep(1) /
 cfset cfthread.sleeptime++ /

  /cfloop

   cfschedule   action =  update
 task   =  vds_01i_hilly_peterson_concierge_processing
 operation  =  HTTPRequest
 url=
http://localhost/scheduledTasks/vds/01i_hilly_peterson_concierge_processing_vds;
 startdate  =  #DateFormat(Now(), 'm/d/')#
 starttime  =  #TimeFormat(DateAdd('n', 2, now()), 'h:mm 
tt')#
 interval   =  once 

!--- [ the following cfmail is just to notify me that the task has run
and has set up the next task ] --- 


   cfmail   to =  r...@whitestonemedia.com
 from   =  
conciergepropertyprocess...@whitestonemedia.com
 subject=  vds_01i_hilly_peterson_concierge_processing 
has been scheduled.

   Schedule Task, 
whitestone_01i_hilly_peterson_concierge_processing,
   will run in 2 minutes.

   /cfmail


/cfthread


Rick



-Original Message-
From: Rick Sanders [mailto:r...@webenergy.ca] 
Sent: Monday, August 19, 2013 10:55 AM
To: cf-talk
Subject: Pausing a loop or query


Here's the situation. A client of mine has an email list he sends a flyer to 
once a month to about 5000
addresses. I need to pause after sending 250 so the server doesn't get flagged 
for spamming. What's the best
way to do this?

It's easy to do multiple queries of 250 rows each, but how can I pause for say 
5 or 10mins in between?

Kind Regards,

Rick Sanders
T: 902-401-7689
W: www.webenergy.cahttp://www.webenergy.ca/





~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356500
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Pausing a loop or query

2013-08-19 Thread Rick Faircloth

How about using a scheduled task to run a series of mail sends
of 250 each, the as part of the task, schedules another task
5-10 minutes later to send another task. Repeat as needed.

Here's what part of a scheduled task would look like that I used
to process a Real Estate data download every morning:

cfthread action=run name=schedule_01i_hilly_peterson_concierge_processing

   !--- [ set up the delay routine ] ---

   cfset cfthread.sleepTime = 0
   cfset cfthread.initialized = false

!--- [ the cfloop continues to loop until the status of the previous
  cfthred, in that case named email_results is completed
  or terminated (due to a failure) ] ---

  cfloop condition=cfthread.email_results.status neq 'completed' and
 cfthread.email_results.status neq 'terminated'

 cfset sleep(1) /
 cfset cfthread.sleeptime++ /

  /cfloop

   cfschedule   action =  update
 task   =  vds_01i_hilly_peterson_concierge_processing
 operation  =  HTTPRequest
 url=
http://localhost/scheduledTasks/vds/01i_hilly_peterson_concierge_processing_vds;
 startdate  =  #DateFormat(Now(), 'm/d/')#
 starttime  =  #TimeFormat(DateAdd('n', 2, now()), 'h:mm 
tt')#
 interval   =  once 

!--- [ the following cfmail is just to notify me that the task has run
and has set up the next task ] --- 


   cfmail   to =  r...@whitestonemedia.com
 from   =  
conciergepropertyprocess...@whitestonemedia.com
 subject=  vds_01i_hilly_peterson_concierge_processing 
has been scheduled.

   Schedule Task, 
whitestone_01i_hilly_peterson_concierge_processing,
   will run in 2 minutes.

   /cfmail


/cfthread


Rick



-Original Message-
From: Rick Sanders [mailto:r...@webenergy.ca] 
Sent: Monday, August 19, 2013 10:55 AM
To: cf-talk
Subject: Pausing a loop or query


Here's the situation. A client of mine has an email list he sends a flyer to 
once a month to about 5000
addresses. I need to pause after sending 250 so the server doesn't get flagged 
for spamming. What's the best
way to do this?

It's easy to do multiple queries of 250 rows each, but how can I pause for say 
5 or 10mins in between?

Kind Regards,

Rick Sanders
T: 902-401-7689
W: www.webenergy.cahttp://www.webenergy.ca/





~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356499
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Client wants CMS that functions similar to Joomla, for example

2013-07-25 Thread Rick Faircloth

Hmmm... just finished setting up CKEditor in a site manager
for specials... just title, description, and image.

Successfully uploaded all content, processed 5 different
image sizes from original, and entered all into database.

When I went to view the new Special on the development site,
I realized the special title, that was entered in a separate
instance of CKEditor on the page, was un-styled. Of course,
in the database, the actual text was surrounded by p/p
and didn't have the style from the stylesheet that normally
styles the Special Titles.

Is this always the case with editors that provide style control?
Since the editor enters its own tags and styles inline (boo),
would this mean that all styling has to come from within the
CKEditor and its styles would override my stylesheets?

Rick

-Original Message-
From: Rick Faircloth [mailto:r...@whitestonemedia.com] 
Sent: Wednesday, July 24, 2013 7:42 PM
To: cf-talk
Subject: RE: Client wants CMS that functions similar to Joomla, for example


Thanks, David...

Yes, the live content editors are very attractive. Several
of the CSM's that I reviewed offer that option. It's very appealing.

And it certainly is a balancing-act, trying to provide desired
functionality so they don't look elsewhere, but not giving them so 
much control that they end up making a mess of a site.

Rick

-Original Message-
From: David Phelan [mailto:dphe...@emerginghealthit.com] 
Sent: Wednesday, July 24, 2013 3:44 PM
To: cf-talk
Subject: RE: Client wants CMS that functions similar to Joomla, for example


Rick,

Most full-blown CMS solutions allow the clients to add pages to a site whenever 
desired, they simply select
the underlying template (that you develop and provide) for that particular page 
and go to town creating the
content and adding web parts into the areas that you have defined in the 
template.  A WYSIWYG editor is a key
ingredient and there are several open source ones out there.  I use TinyMCE 
which is rather simple to
configure and provides a good number of options and plugins to choose from and 
the new version allows for
inline editing of the content, though it doesn't sync with the applied CSS to 
allow users to see the formats
they are applying.  The ability to upload graphics and documents is also 
important.  

Another important thing is allowing the client to preview the updated content 
within the context of the site
before they publish it.  This way they can verify that the changes they have 
made fit the sites theme and
layout and correct anything that falls outside the acceptable limits.  Inline 
editors are good for this but
there are other approaches as well.

You want to give them the freedom to alter the content to the greatest possible 
extent so that you can focus
on developing new functionality/web parts for them to incorporate into their 
content, especially now that
there is an ever increasing number of sites that will allow companies to create 
their own sites for relatively
low cost.  You certainly don't want to constrain your client to the point that 
they move on to another option.

David Phelan  
Web Developer   
IT Security  Web Technologies
  
Emerging Health
Montefiore Information Technology
3 Odell Plaza, Yonkers, NY 10701
914-457-6465 Office
862-234-9109 Cell
dphe...@emerginghealthit.com
www.emerginghealthit.com
www.montefiore.org




-Original Message-
From: Rick Faircloth [mailto:r...@whitestonemedia.com] 
Sent: Wednesday, July 24, 2013 1:42 PM
To: cf-talk
Subject: RE: Client wants CMS that functions similar to Joomla, for example


Thanks, Jon and everyone for your feedback.

I've look at the various pre-rolled CMS offerings and have found them to be 
serious overkill for all my
clients.

I've always created my own CMS for each website I created to insure that 
clients were comfortable with them.
Mostly, I just provide a regular form (never even used CKEditor) and take care 
of the styling in advance to
keep them from destroying the look of their site. They just update verbiage and 
images.

The reason I asked about full-blown CMS options, is that I've got one more 
sophisticated client who wants,
basically, to be able to change everything. Well, she might as well become a 
website designer to be able to
manage everything on the site, including header graphics, etc.

I've been tinkering with CKEditor and think that will be a good option for the 
global site manager or custom
CMS I'm building for my clients currently. I can control the options on the 
toolbar to keep clients from
getting too creative, but make it easy for them to add links, etc., with 
knowing how to code them.

I can keep the CKEditor instances distinct for every form field to accommodate 
database interaction so I can
re-purpose content for email newsletters, etc., and avoid having all content 
titles, bylines, details, and
images all contained within a single database field.

I'll have to discuss just

RE: Client wants CMS that functions similar to Joomla, for example

2013-07-25 Thread Rick Faircloth

Yes, that's true, Scott.



-Original Message-
From: Scott Stroz [mailto:boyz...@gmail.com] 
Sent: Thursday, July 25, 2013 12:51 PM
To: cf-talk
Subject: Re: Client wants CMS that functions similar to Joomla, for example


For a 'title' you may not want them to be able to format that within a rich
text editor. It would be more consistent to have all the titles be the same
style.


On Thu, Jul 25, 2013 at 12:08 PM, Rick Faircloth
r...@whitestonemedia.comwrote:


 Hmmm... just finished setting up CKEditor in a site manager
 for specials... just title, description, and image.

 Successfully uploaded all content, processed 5 different
 image sizes from original, and entered all into database.

 When I went to view the new Special on the development site,
 I realized the special title, that was entered in a separate
 instance of CKEditor on the page, was un-styled. Of course,
 in the database, the actual text was surrounded by p/p
 and didn't have the style from the stylesheet that normally
 styles the Special Titles.

 Is this always the case with editors that provide style control?
 Since the editor enters its own tags and styles inline (boo),
 would this mean that all styling has to come from within the
 CKEditor and its styles would override my stylesheets?

 Rick

 -Original Message-
 From: Rick Faircloth [mailto:r...@whitestonemedia.com]
 Sent: Wednesday, July 24, 2013 7:42 PM
 To: cf-talk
 Subject: RE: Client wants CMS that functions similar to Joomla, for example


 Thanks, David...

 Yes, the live content editors are very attractive. Several
 of the CSM's that I reviewed offer that option. It's very appealing.

 And it certainly is a balancing-act, trying to provide desired
 functionality so they don't look elsewhere, but not giving them so
 much control that they end up making a mess of a site.

 Rick

 -Original Message-
 From: David Phelan [mailto:dphe...@emerginghealthit.com]
 Sent: Wednesday, July 24, 2013 3:44 PM
 To: cf-talk
 Subject: RE: Client wants CMS that functions similar to Joomla, for example


 Rick,

 Most full-blown CMS solutions allow the clients to add pages to a site
 whenever desired, they simply select
 the underlying template (that you develop and provide) for that particular
 page and go to town creating the
 content and adding web parts into the areas that you have defined in the
 template.  A WYSIWYG editor is a key
 ingredient and there are several open source ones out there.  I use
 TinyMCE which is rather simple to
 configure and provides a good number of options and plugins to choose from
 and the new version allows for
 inline editing of the content, though it doesn't sync with the applied CSS
 to allow users to see the formats
 they are applying.  The ability to upload graphics and documents is also
 important.

 Another important thing is allowing the client to preview the updated
 content within the context of the site
 before they publish it.  This way they can verify that the changes they
 have made fit the sites theme and
 layout and correct anything that falls outside the acceptable limits.
  Inline editors are good for this but
 there are other approaches as well.

 You want to give them the freedom to alter the content to the greatest
 possible extent so that you can focus
 on developing new functionality/web parts for them to incorporate into
 their content, especially now that
 there is an ever increasing number of sites that will allow companies to
 create their own sites for relatively
 low cost.  You certainly don't want to constrain your client to the point
 that they move on to another option.

 David Phelan
 Web Developer
 IT Security  Web Technologies

 Emerging Health
 Montefiore Information Technology
 3 Odell Plaza, Yonkers, NY 10701
 914-457-6465 Office
 862-234-9109 Cell
 dphe...@emerginghealthit.com
 www.emerginghealthit.com
 www.montefiore.org




 -Original Message-
 From: Rick Faircloth [mailto:r...@whitestonemedia.com]
 Sent: Wednesday, July 24, 2013 1:42 PM
 To: cf-talk
 Subject: RE: Client wants CMS that functions similar to Joomla, for example


 Thanks, Jon and everyone for your feedback.

 I've look at the various pre-rolled CMS offerings and have found them to
 be serious overkill for all my
 clients.

 I've always created my own CMS for each website I created to insure that
 clients were comfortable with them.
 Mostly, I just provide a regular form (never even used CKEditor) and take
 care of the styling in advance to
 keep them from destroying the look of their site. They just update
 verbiage and images.

 The reason I asked about full-blown CMS options, is that I've got one
 more sophisticated client who wants,
 basically, to be able to change everything. Well, she might as well
 become a website designer to be able to
 manage everything on the site, including header graphics, etc.

 I've been tinkering with CKEditor and think that will be a good option for
 the global site manager or custom
 CMS I'm

RE: Client wants CMS that functions similar to Joomla, for example

2013-07-25 Thread Rick Faircloth

Thanks, Dave.



-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: Thursday, July 25, 2013 1:09 PM
To: cf-talk
Subject: Re: Client wants CMS that functions similar to Joomla, for example


 Is this always the case with editors that provide style control?
 Since the editor enters its own tags and styles inline (boo),
 would this mean that all styling has to come from within the
 CKEditor and its styles would override my stylesheets?

You can customize the style list shown to the user, so that it uses
classes you've defined within your CSS stylesheet. Google custom
ckeditor styles for more information. This is also covered in the
Advanced CF course available from Adobe training partners.

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356315
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Client wants CMS that functions similar to Joomla, for example

2013-07-24 Thread Rick Faircloth

Thanks, Jon and everyone for your feedback.

I've look at the various pre-rolled CMS offerings
and have found them to be serious overkill for all my clients.

I've always created my own CMS for each website I created
to insure that clients were comfortable with them. Mostly,
I just provide a regular form (never even used CKEditor)
and take care of the styling in advance to keep them from
destroying the look of their site. They just update verbiage
and images.

The reason I asked about full-blown CMS options, is that I've
got one more sophisticated client who wants, basically, to be
able to change everything. Well, she might as well become
a website designer to be able to manage everything on the site,
including header graphics, etc.

I've been tinkering with CKEditor and think that will be a good
option for the global site manager or custom CMS I'm building
for my clients currently. I can control the options on the toolbar
to keep clients from getting too creative, but make it easy
for them to add links, etc., with knowing how to code them.

I can keep the CKEditor instances distinct for every form field
to accommodate database interaction so I can re-purpose content
for email newsletters, etc., and avoid having all content titles,
bylines, details, and images all contained within a single database field.

I'll have to discuss just exactly what this new client means
by control everything on the site. Turning over complete layout
and design control to a novice to change the design of a corporate
site with my name associated with it is not an option I want to pursue.
If she wants that much control, then I'll just consult with them
and she can buy a copy of Dreamweaver and use it as a WYSIWYG editor.

She wants to be able to add pages to the site, as well, so I may have
to develop that functionality, along with on-the-fly menu adaptation
for the new pages. Maybe I can just convince her to let me create a new
page when she needs one and then turn her loose on the content. It starts
to be annoying and a lot of trouble (for which the client doesn't want to
pay, typically) when they want to start wanting to get into the kitchen
of the website design  development restaurant, rather than just placing
their order and allowing the chef to do his work.

Any other thoughts and/or feedback is still appreciated!

Rick


-Original Message-
From: Jon Clausen [mailto:jon_clau...@silowebworks.com] 
Sent: Wednesday, July 24, 2013 11:25 AM
To: cf-talk
Subject: Re: Client wants CMS that functions similar to Joomla, for example


I've spent about 70% of my time over the last 5 years developing in PHP, 
including developing a customized
installation of Joomla for a radio station client that included live streaming 
and audio archives. I've also
rolled a customized CMS through the PHP framework Kohana.  I, for one am happy 
to let go of the content
updates and the radio station example allowed the program hosts to manage their 
own program content, archives,
blogs and links to externals.

IMHO, as some have mentioned, Joomla is a bloated beast to customize. It does 
what it does well, though and
has a solid role/permission setup and tons of plugin functionality. For a 
simple 10 page site, though, it's
probably too much. For CFML CMS options, I find FarCry to be similarly 
troublesome to customize (I haven't
worked with the newest versions, though)  I've played around under the hood 
with Mura and I find it to be very
promising as a CMS platform to build a site around. It's fast and 
straightforward in the way it approaches
what it does.  

As far as design goes, I've never been able to take a Joomla site with a 
template and deploy it
out-of-the-box. They all need customization, based on the way the client wants 
to use them.  The newest
version of Joomla is better for customizing.

A customized CMS, whichever you choose, makes clients feel pleased and 
empowered. You'll still have plenty of
work to do fixing the odd mistakes, adding functionality, and helping them 
through the learning curves.  I've
found that the more a client interacts with their site, the more valuable it 
becomes as a business tool and
the more requests I get to add functionality and features to help then.

Best of luck,
Jon

 -Original Message-
 From: Rick Faircloth [mailto:r...@whitestonemedia.com] 
 Sent: Tuesday, July 23, 2013 4:26 PM
 To: cf-talk
 Subject: SOT: Client wants CMS that functions similar to Joomla, for example
 
 
 Hi, guys...
 
 Just need some recommendations from some of you who have been down this road 
 before.
 
 I have a client that is asking for what amounts to absolute control over 
 their site through a CMS. Among a
few others they metioned, Joomla was brought up.
 
 I'm checking them out myself, but wanted to cut to the chase based on 
 experience from those who have used
CMS's that provide control such as Joomla.
 
 What have you tried? What turned out to work well? What bombed?
 I've always rolled my own

RE: Client wants CMS that functions similar to Joomla, for example

2013-07-24 Thread Rick Faircloth

Thanks, David...

Yes, the live content editors are very attractive. Several
of the CSM's that I reviewed offer that option. It's very appealing.

And it certainly is a balancing-act, trying to provide desired
functionality so they don't look elsewhere, but not giving them so 
much control that they end up making a mess of a site.

Rick

-Original Message-
From: David Phelan [mailto:dphe...@emerginghealthit.com] 
Sent: Wednesday, July 24, 2013 3:44 PM
To: cf-talk
Subject: RE: Client wants CMS that functions similar to Joomla, for example


Rick,

Most full-blown CMS solutions allow the clients to add pages to a site whenever 
desired, they simply select
the underlying template (that you develop and provide) for that particular page 
and go to town creating the
content and adding web parts into the areas that you have defined in the 
template.  A WYSIWYG editor is a key
ingredient and there are several open source ones out there.  I use TinyMCE 
which is rather simple to
configure and provides a good number of options and plugins to choose from and 
the new version allows for
inline editing of the content, though it doesn't sync with the applied CSS to 
allow users to see the formats
they are applying.  The ability to upload graphics and documents is also 
important.  

Another important thing is allowing the client to preview the updated content 
within the context of the site
before they publish it.  This way they can verify that the changes they have 
made fit the sites theme and
layout and correct anything that falls outside the acceptable limits.  Inline 
editors are good for this but
there are other approaches as well.

You want to give them the freedom to alter the content to the greatest possible 
extent so that you can focus
on developing new functionality/web parts for them to incorporate into their 
content, especially now that
there is an ever increasing number of sites that will allow companies to create 
their own sites for relatively
low cost.  You certainly don't want to constrain your client to the point that 
they move on to another option.

David Phelan  
Web Developer   
IT Security  Web Technologies
  
Emerging Health
Montefiore Information Technology
3 Odell Plaza, Yonkers, NY 10701
914-457-6465 Office
862-234-9109 Cell
dphe...@emerginghealthit.com
www.emerginghealthit.com
www.montefiore.org




-Original Message-
From: Rick Faircloth [mailto:r...@whitestonemedia.com] 
Sent: Wednesday, July 24, 2013 1:42 PM
To: cf-talk
Subject: RE: Client wants CMS that functions similar to Joomla, for example


Thanks, Jon and everyone for your feedback.

I've look at the various pre-rolled CMS offerings and have found them to be 
serious overkill for all my
clients.

I've always created my own CMS for each website I created to insure that 
clients were comfortable with them.
Mostly, I just provide a regular form (never even used CKEditor) and take care 
of the styling in advance to
keep them from destroying the look of their site. They just update verbiage and 
images.

The reason I asked about full-blown CMS options, is that I've got one more 
sophisticated client who wants,
basically, to be able to change everything. Well, she might as well become a 
website designer to be able to
manage everything on the site, including header graphics, etc.

I've been tinkering with CKEditor and think that will be a good option for the 
global site manager or custom
CMS I'm building for my clients currently. I can control the options on the 
toolbar to keep clients from
getting too creative, but make it easy for them to add links, etc., with 
knowing how to code them.

I can keep the CKEditor instances distinct for every form field to accommodate 
database interaction so I can
re-purpose content for email newsletters, etc., and avoid having all content 
titles, bylines, details, and
images all contained within a single database field.

I'll have to discuss just exactly what this new client means by control 
everything on the site. Turning over
complete layout and design control to a novice to change the design of a 
corporate site with my name
associated with it is not an option I want to pursue.
If she wants that much control, then I'll just consult with them and she can 
buy a copy of Dreamweaver and
use it as a WYSIWYG editor.

She wants to be able to add pages to the site, as well, so I may have to 
develop that functionality, along
with on-the-fly menu adaptation for the new pages. Maybe I can just convince 
her to let me create a new page
when she needs one and then turn her loose on the content. It starts to be 
annoying and a lot of trouble (for
which the client doesn't want to pay, typically) when they want to start 
wanting to get into the kitchen of
the website design  development restaurant, rather than just placing their 
order and allowing the chef to do
his work.

Any other thoughts and/or feedback is still appreciated!

Rick


-Original Message

SOT: Client wants CMS that functions similar to Joomla, for example

2013-07-23 Thread Rick Faircloth

Hi, guys...

Just need some recommendations from some of you who have been
down this road before.

I have a client that is asking for what amounts to absolute control
over their site through a CMS. Among a few others they metioned,
Joomla was brought up.

I'm checking them out myself, but wanted to cut to the chase based
on experience from those who have used CMS's that provide control
such as Joomla.

What have you tried? What turned out to work well? What bombed?
I've always rolled my own, and never used a ready-made CMS, so
I have zero experience with them.

(Joomla seems like it replaces me as a designer/developer, at first glance.
If a client has a CMS that allows them to do everything that I do
for them now, including selecting themes for pages they add to the
site themselves (designer), manage data through Joomla functionality 
(developer),
I wonder if I would end up as a Joomla Installer  Maintenance person
for the client. ???)

Thoughts? Suggestions?

Thanks for any feedback!

Rick


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356294
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Haven't received any mail lately...

2013-06-25 Thread Rick Faircloth

Testing...

-- 
--
Ninety percent of the politicians give the other ten percent a bad
reputation.  Henry Kissinger


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356039
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Haven't received any mail lately...

2013-06-25 Thread Rick Faircloth

Thanks, Bruce...


On Tue, Jun 25, 2013 at 10:33 AM, Bruce Sorge sor...@gmail.com wrote:


 Got it.

 Sent from my iPhone 4S.

 On Jun 25, 2013, at 10:32 AM, Rick Faircloth r...@whitestonemedia.com
 wrote:

 
  Testing...
 
  --
 
 --
  Ninety percent of the politicians give the other ten percent a bad
  reputation.  Henry Kissinger
 
 
 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356042
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Best means of setting a library of reusable code

2013-06-25 Thread Rick Faircloth

Hi, all...

I've been writing code for every project I've worked on for the last 10+
years.
I did that purposefully to make myself work in a manner which would,
hopefully,
not cause me to rely on known practices because they were familiar and
understood, but always strive to discover better ways of coding.

Now, however, I'm trying to combine reusing code I've already written with
enhancing the reused code, instead of writing it from scratch each time.

On my latest project I decided to take the dive and structure my code of
HTML,
CF, jQuery, and CSS in away that allows me to create resource libraries
that I can build upon and reference from within new projects.

I know *not* doing it this way sounds nuts to some of you. But, again, see
my
first paragraph. There was a method to the madness of this approach.

But, now I find myself (after days of trying to understand what I've found
on the
Internet and in the CF docs to little avail)  trying to get a working
method for this
approach.

I started first by putting my initial components for the project *above*
the website's
root folder. I knew this was going to be problematic. I, of course,
immediately
got the error, component cannot be found.

Then, I read about cfincluding an application.cfc into an application.cfm
in the
website root folder. For kicks and giggles, not a real solution, because
this approach
is fundamentally flawed, I put an application.cfm in the site root folder
and
used the relative path capability of cfinclude to pull in the
application.cfc above
the site web root and it's settings into the site's directory structure.
Knowing that's
not a solution, I continued to dig on the Internet. Nothing has clicked. I
think there
are too many gaps in my understanding to make sense of everything I'm
reading.

So, I thought I'd just ask the brains that inhabit the world of CF-Talk and
ask
for a simple explanation of how to go about accessing cfc's above a website
root,
that allows those cfc's access to the variables set up in application.cfc
when it
resides inside the site root directory structure.

I'm trying to get this to work in the manner that I access virtually every
cfc currently,
which is through AJAX functionality in jQuery. I can access a mapped path
created
in application.cfc using AJAX in this manner:

url: location.protocol + '//' + location.host +
'/common/coldfusion/form-processing/contact.cfc?method=json'

However, the contact.cfc has to reference variables setup in the
application.cfc,
which exists inside the website root. Unless I place the application.cfc in
the same
folder as contact.cfc, it doesn't work.

So, how do I make the variables from application.cfc available to
contact.cfc under
such a scenario? Does the extends functionality of cfc's solve this? Is
that what
I need to understand and implement or do I need to look into something else?

Clues? Breadcrumbs?

Thanks for any feedback!

Rick

-- 
--
Ninety percent of the politicians give the other ten percent a bad
reputation.  Henry Kissinger


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356043
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Haven't received any mail lately...

2013-06-25 Thread Rick Faircloth

Boy, traffic must be really slow...


On Tue, Jun 25, 2013 at 10:33 AM, John M Bliss bliss.j...@gmail.com wrote:


 This thing is on.


 On Tue, Jun 25, 2013 at 10:32 AM, Rick Faircloth
 r...@whitestonemedia.comwrote:

 
  Testing...
 
  --
 
 
 --
  Ninety percent of the politicians give the other ten percent a bad
  reputation.  Henry Kissinger
 
 
 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356046
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Best means of setting a library of reusable code

2013-06-25 Thread Rick Faircloth

Alright, that's the confirmation I needed to proceed. So, use 'extends it
is!

Thanks,

Rick


On Tue, Jun 25, 2013 at 11:21 AM, Russ Michaels r...@michaels.me.uk wrote:


 if you use EXTENDS, then everything in the parent CFC is available tot he
 child.
 If you want libraries to use on multiple sites, then you would need to put
 the components in a central location and then adding a mapping to them.



 On Tue, Jun 25, 2013 at 4:01 PM, Rick Faircloth r...@whitestonemedia.com
 wrote:

 
  Hi, all...
 
  I've been writing code for every project I've worked on for the last 10+
  years.
  I did that purposefully to make myself work in a manner which would,
  hopefully,
  not cause me to rely on known practices because they were familiar and
  understood, but always strive to discover better ways of coding.
 
  Now, however, I'm trying to combine reusing code I've already written
 with
  enhancing the reused code, instead of writing it from scratch each time.
 
  On my latest project I decided to take the dive and structure my code of
  HTML,
  CF, jQuery, and CSS in away that allows me to create resource libraries
  that I can build upon and reference from within new projects.
 
  I know *not* doing it this way sounds nuts to some of you. But, again,
 see
  my
  first paragraph. There was a method to the madness of this approach.
 
  But, now I find myself (after days of trying to understand what I've
 found
  on the
  Internet and in the CF docs to little avail)  trying to get a working
  method for this
  approach.
 
  I started first by putting my initial components for the project *above*
  the website's
  root folder. I knew this was going to be problematic. I, of course,
  immediately
  got the error, component cannot be found.
 
  Then, I read about cfincluding an application.cfc into an
 application.cfm
  in the
  website root folder. For kicks and giggles, not a real solution,
 because
  this approach
  is fundamentally flawed, I put an application.cfm in the site root folder
  and
  used the relative path capability of cfinclude to pull in the
  application.cfc above
  the site web root and it's settings into the site's directory structure.
  Knowing that's
  not a solution, I continued to dig on the Internet. Nothing has clicked.
 I
  think there
  are too many gaps in my understanding to make sense of everything I'm
  reading.
 
  So, I thought I'd just ask the brains that inhabit the world of CF-Talk
 and
  ask
  for a simple explanation of how to go about accessing cfc's above a
 website
  root,
  that allows those cfc's access to the variables set up in application.cfc
  when it
  resides inside the site root directory structure.
 
  I'm trying to get this to work in the manner that I access virtually
 every
  cfc currently,
  which is through AJAX functionality in jQuery. I can access a mapped path
  created
  in application.cfc using AJAX in this manner:
 
  url: location.protocol + '//' + location.host +
  '/common/coldfusion/form-processing/contact.cfc?method=json'
 
  However, the contact.cfc has to reference variables setup in the
  application.cfc,
  which exists inside the website root. Unless I place the application.cfc
 in
  the same
  folder as contact.cfc, it doesn't work.
 
  So, how do I make the variables from application.cfc available to
  contact.cfc under
  such a scenario? Does the extends functionality of cfc's solve this? Is
  that what
  I need to understand and implement or do I need to look into something
  else?
 
  Clues? Breadcrumbs?
 
  Thanks for any feedback!
 
  Rick
 
  --
 
 
 --
  Ninety percent of the politicians give the other ten percent a bad
  reputation.  Henry Kissinger
 
 
 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356047
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Best means of setting a library of reusable code

2013-06-25 Thread Rick Faircloth

Your understanding is correct, Matt, but I don't see how your
example is relevant.

In my application.cfc, I've got a line that sets an application variable:

cfset application.siteShortDomain = myShortDomain.com

I need that application.siteShortdomain variable available when contact.cfc
runs.

So, how would I go about this?

(I just noticed what Brian and Russ added to the conversation,
and Russ is correct, as you can see from above, that I want to extend
the global application variables that I've set in application.cfc tp all
the other cfc's that are in a common library of cfc's above the website
root.

???

Thanks!

Rick


On Tue, Jun 25, 2013 at 11:50 AM, Matt Quackenbush quackfu...@gmail.comwrote:


 Hang on a minute. If I understand this correctly 

 So, how do I make the variables from application.cfc available to
  contact.cfc under
  such a scenario? Does the extends functionality of cfc's solve this?


 ... you're thinking about adding `extends=Application` to your
 contact.cfc?  If that's a correct understanding on my part, then the answer
 is: HELL NO! DO NOT USE EXTENDS!

 Your CFCs should be self-contained and any outside variables they need
 should be passed in as either arguments or properties. Here's a contrived
 example.

 // foo.cfc
 component
 {
 property name=datasourcename

 function init( required string datasourcename )
 {
 variables.datasourcename = arguments.datasourcename
 return this
 }

 function doQuery()
 {
 // your query goes here
 return mycoolquery
 }
 }

 // test.cfm
 foo = createObject( 'component', 'foo' ).init( application.datasourcename )
 writeDump( foo.doQuery )


 HTH

 On Tue, Jun 25, 2013 at 11:41 AM, Rick Faircloth
 r...@whitestonemedia.comwrote:

 
  Alright, that's the confirmation I needed to proceed. So, use 'extends
 it
  is!
 
  Thanks,
 
  Rick
 
 
  On Tue, Jun 25, 2013 at 11:21 AM, Russ Michaels r...@michaels.me.uk
  wrote:
 
  
   if you use EXTENDS, then everything in the parent CFC is available tot
 he
   child.
   If you want libraries to use on multiple sites, then you would need to
  put
   the components in a central location and then adding a mapping to them.
  
  
  
   On Tue, Jun 25, 2013 at 4:01 PM, Rick Faircloth 
  r...@whitestonemedia.com
   wrote:
  
   
Hi, all...
   
I've been writing code for every project I've worked on for the last
  10+
years.
I did that purposefully to make myself work in a manner which would,
hopefully,
not cause me to rely on known practices because they were familiar
 and
understood, but always strive to discover better ways of coding.
   
Now, however, I'm trying to combine reusing code I've already written
   with
enhancing the reused code, instead of writing it from scratch each
  time.
   
On my latest project I decided to take the dive and structure my code
  of
HTML,
CF, jQuery, and CSS in away that allows me to create resource
 libraries
that I can build upon and reference from within new projects.
   
I know *not* doing it this way sounds nuts to some of you. But,
 again,
   see
my
first paragraph. There was a method to the madness of this approach.
   
But, now I find myself (after days of trying to understand what I've
   found
on the
Internet and in the CF docs to little avail)  trying to get a working
method for this
approach.
   
I started first by putting my initial components for the project
  *above*
the website's
root folder. I knew this was going to be problematic. I, of course,
immediately
got the error, component cannot be found.
   
Then, I read about cfincluding an application.cfc into an
   application.cfm
in the
website root folder. For kicks and giggles, not a real solution,
   because
this approach
is fundamentally flawed, I put an application.cfm in the site root
  folder
and
used the relative path capability of cfinclude to pull in the
application.cfc above
the site web root and it's settings into the site's directory
  structure.
Knowing that's
not a solution, I continued to dig on the Internet. Nothing has
  clicked.
   I
think there
are too many gaps in my understanding to make sense of everything I'm
reading.
   
So, I thought I'd just ask the brains that inhabit the world of
 CF-Talk
   and
ask
for a simple explanation of how to go about accessing cfc's above a
   website
root,
that allows those cfc's access to the variables set up in
  application.cfc
when it
resides inside the site root directory structure.
   
I'm trying to get this to work in the manner that I access virtually
   every
cfc currently,
which is through AJAX functionality in jQuery. I can access a mapped
  path
created
in application.cfc using AJAX in this manner:
   
url: location.protocol + '//' + location.host +
'/common

Re: Best means of setting a library of reusable code

2013-06-25 Thread Rick Faircloth

Dave:

 Is contact.cfc part of the same application as the Application.cfc
 where the variables are defined?

No, I'm trying to figure out a way to have a common library of cfc's, js,
etc.,
that websites I build can reference.

I saw in other places around the Internet that it's best to keep code logic
outside the webroot. I thought I'd try that.

So, contact.cfc is in
e:\inetpub\common\coldfusion\form-processing\contact.cfc.

The application.cfc is in
e:\inetpub\webroot\hdspa-responsive-dev\application.cfc.

Since application.siteShortDomain is set in application.cfc, when
contact.cfc
is accessed via AJAX, contact.cfc has no knowledge of the
application.siteShortDomain
variable.

Just trying to figure out how to make contact.cfc aware of the value of
application.siteShortDomain.

Rick


On Tue, Jun 25, 2013 at 12:04 PM, Dave Watts dwa...@figleaf.com wrote:


  However, the contact.cfc has to reference variables setup in the
  application.cfc, which exists inside the website root. Unless I place
  the application.cfc in the same folder as contact.cfc, it doesn't work.
 
  So, how do I make the variables from application.cfc available to
  contact.cfc under such a scenario? Does the extends functionality of
  cfc's solve this? Is that what I need to understand and implement or do
  I need to look into something else?

 Is contact.cfc part of the same application as the Application.cfc
 where the variables are defined? If so, why aren't those variables
 just part of the Application scope, instead of local variables that
 get recreated for each page request?

 Code reuse is very important. But code reuse doesn't just mean invoke
 one module from another one. It requires that you structure your code
 appropriately in the first place. I'm not seeing that structure from
 your description - that doesn't mean there isn't any structure, just
 that I'm not seeing it in your description.

 In general, you don't want to use Application.cfc as the parent class
 for any other class except another Application.cfc - for example, in a
 subdirectory of the parent application. You don't want to use it as
 the parent class for other CFCs.

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

 Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
 GSA Schedule, and provides the highest caliber vendor-authorized
 instruction at our training centers, online, or onsite.

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356055
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Best means of setting a library of reusable code

2013-06-25 Thread Rick Faircloth

 From within any file that's part of that application, you can directly
 reference application.siteShortDomain:

 cfoutput#application.siteShortDomain#/cfoutput

 Any file within the same directory, or any subdirectories that don't
 have their own Application.cfc or Application.cfm files, are part of
 that application.

Thanks, Dave I understand that usage of application variables.
The problem here is that the contact.cfc that I need to have access
to application.siteShortDomain is outside the directory structure
of application.cfc that sets the variable, contact.cfc doesn't have
access to it in the normal way.

I've set up resource files, such as contact.cfc, which processes
contact form information, set up in a separate directory structure
outside the webroot, so in other applications I can refer to the
contact.cfc for processing contact form information, as well.

Just trying to figure out how to setup a library of functionality
that I can reference from various websites. Normally, I just copy
all the cfc's into a new site's directory structure. I'm just trying
to find a way around that.


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356064
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Best means of setting a library of reusable code

2013-06-25 Thread Rick Faircloth

Matt, just participate in the conversation without being asinine about it.

I haven't asked anyone to write my code for me. Just looking
for some guidance as to the correct approach.

So, offer your advice in a friendly manner, if you're going to offer
it at all.



On Tue, Jun 25, 2013 at 12:56 PM, Matt Quackenbush quackfu...@gmail.comwrote:


 You do it exactly like I said you do it: Pass it in as either an argument
 or a property. When you instantiate your contact.cfc, you pass in
 everything it needs from outside in order to do its job.

 The example I gave is completely relevant, albeit not an example of your
 exact situation. I don't know your exact situation and I'm not going to
 write your code for you, but I - along with others here - have definitely
 given you all the information you need to apply the principles to your
 exact scenario.


 On Tue, Jun 25, 2013 at 12:40 PM, Rick Faircloth
 r...@whitestonemedia.comwrote:

 
  Your understanding is correct, Matt, but I don't see how your
  example is relevant.
 
  In my application.cfc, I've got a line that sets an application variable:
 
  cfset application.siteShortDomain = myShortDomain.com
 
  I need that application.siteShortdomain variable available when
 contact.cfc
  runs.
 
  So, how would I go about this?
 
  (I just noticed what Brian and Russ added to the conversation,
  and Russ is correct, as you can see from above, that I want to extend
  the global application variables that I've set in application.cfc tp all
  the other cfc's that are in a common library of cfc's above the website
  root.
 
  ???
 
  Thanks!
 
  Rick
 
 
  On Tue, Jun 25, 2013 at 11:50 AM, Matt Quackenbush quackfu...@gmail.com
  wrote:
 
  
   Hang on a minute. If I understand this correctly 
  
   So, how do I make the variables from application.cfc available to
contact.cfc under
such a scenario? Does the extends functionality of cfc's solve
 this?
  
  
   ... you're thinking about adding `extends=Application` to your
   contact.cfc?  If that's a correct understanding on my part, then the
  answer
   is: HELL NO! DO NOT USE EXTENDS!
  
   Your CFCs should be self-contained and any outside variables they
 need
   should be passed in as either arguments or properties. Here's a
 contrived
   example.
  
   // foo.cfc
   component
   {
   property name=datasourcename
  
   function init( required string datasourcename )
   {
   variables.datasourcename = arguments.datasourcename
   return this
   }
  
   function doQuery()
   {
   // your query goes here
   return mycoolquery
   }
   }
  
   // test.cfm
   foo = createObject( 'component', 'foo' ).init(
  application.datasourcename )
   writeDump( foo.doQuery )
  
  
   HTH
  
   On Tue, Jun 25, 2013 at 11:41 AM, Rick Faircloth
   r...@whitestonemedia.comwrote:
  
   
Alright, that's the confirmation I needed to proceed. So, use
  'extends
   it
is!
   
Thanks,
   
Rick
   
   
On Tue, Jun 25, 2013 at 11:21 AM, Russ Michaels r...@michaels.me.uk
 
wrote:
   

 if you use EXTENDS, then everything in the parent CFC is available
  tot
   he
 child.
 If you want libraries to use on multiple sites, then you would need
  to
put
 the components in a central location and then adding a mapping to
  them.



 On Tue, Jun 25, 2013 at 4:01 PM, Rick Faircloth 
r...@whitestonemedia.com
 wrote:

 
  Hi, all...
 
  I've been writing code for every project I've worked on for the
  last
10+
  years.
  I did that purposefully to make myself work in a manner which
  would,
  hopefully,
  not cause me to rely on known practices because they were
 familiar
   and
  understood, but always strive to discover better ways of coding.
 
  Now, however, I'm trying to combine reusing code I've already
  written
 with
  enhancing the reused code, instead of writing it from scratch
 each
time.
 
  On my latest project I decided to take the dive and structure my
  code
of
  HTML,
  CF, jQuery, and CSS in away that allows me to create resource
   libraries
  that I can build upon and reference from within new projects.
 
  I know *not* doing it this way sounds nuts to some of you. But,
   again,
 see
  my
  first paragraph. There was a method to the madness of this
  approach.
 
  But, now I find myself (after days of trying to understand what
  I've
 found
  on the
  Internet and in the CF docs to little avail)  trying to get a
  working
  method for this
  approach.
 
  I started first by putting my initial components for the project
*above*
  the website's
  root folder. I knew this was going to be problematic. I, of
 course,
  immediately
  got the error, component cannot be found.
 
  Then, I read about cfincluding an application.cfc

Re: Best means of setting a library of reusable code

2013-06-25 Thread Rick Faircloth

Thanks, Azadi...

I was afraid that or creating CF Admin mappings might end up being
the answer. I was trying to find a way of accessing the variables without
a lot of setup for each website. But, virtual directories won't be that much
to do, since the virtual directories will be the same for each website that
needs the functionality they contain.

But, will virtual directories put into the directory structure of an app in
IIS
then have access to global variables such as application variables?

I'll have to test that approach.

Another alternative might be to send the needed application variables
into the AJAX function which accesses the component function as
JS variables. That might work...


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356066
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Best means of setting a library of reusable code

2013-06-25 Thread Rick Faircloth

Well, the good news is that I can include the application variables in the
AJAX post and pass them into the contact.cfc (which is also out of the
webroot and in the library) via the AJAX call to contact.cfc.

The bad news is, I have to type all those application variables into every
AJAX call. But, at least I only have to type them in once for the reusable
code!




On Tue, Jun 25, 2013 at 2:31 PM, Rick Faircloth r...@whitestonemedia.comwrote:

 Thanks, Azadi...

 I was afraid that or creating CF Admin mappings might end up being
 the answer. I was trying to find a way of accessing the variables without
 a lot of setup for each website. But, virtual directories won't be that
 much
 to do, since the virtual directories will be the same for each website that
 needs the functionality they contain.

 But, will virtual directories put into the directory structure of an app
 in IIS
 then have access to global variables such as application variables?

 I'll have to test that approach.

 Another alternative might be to send the needed application variables
 into the AJAX function which accesses the component function as
 JS variables. That might work...




-- 
--
Ninety percent of the politicians give the other ten percent a bad
reputation.  Henry Kissinger


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356069
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Best means of setting a library of reusable code

2013-06-25 Thread Rick Faircloth

sigh No, Matt... I didn't say your example is (not) relevant.

I stated, I don't see how your example is relevant.

See the difference? I put the fault on my part for not understanding your
example.

Your example may be perfectly relevant, but I couldn't see how.

I think you just misread my statement and assumed I was being offensive
about your example. If I had said, your example is not relevant, then that
would be offensive, especially coming from me, someone who is the one
asking everyone for assistance in understanding what I was trying to do!

So, no offense intended...


On Tue, Jun 25, 2013 at 2:35 PM, Matt Quackenbush quackfu...@gmail.comwrote:


 sigh I did. And you flatly stated that my example is (not) relevant. I
 was merely pointing out - mostly for those who happen upon this thread
 later, since they'll hopefully read and comprehend - that your assessment
 is flatly wrong.

 Good luck.


 On Tue, Jun 25, 2013 at 2:24 PM, Rick Faircloth r...@whitestonemedia.com
 wrote:

 
  Matt, just participate in the conversation without being asinine about
 it.
 
  I haven't asked anyone to write my code for me. Just looking
  for some guidance as to the correct approach.
 
  So, offer your advice in a friendly manner, if you're going to offer
  it at all.
 
 
 
  On Tue, Jun 25, 2013 at 12:56 PM, Matt Quackenbush quackfu...@gmail.com
  wrote:
 
  
   You do it exactly like I said you do it: Pass it in as either an
 argument
   or a property. When you instantiate your contact.cfc, you pass in
   everything it needs from outside in order to do its job.
  
   The example I gave is completely relevant, albeit not an example of
 your
   exact situation. I don't know your exact situation and I'm not going to
   write your code for you, but I - along with others here - have
 definitely
   given you all the information you need to apply the principles to your
   exact scenario.
  
  
   On Tue, Jun 25, 2013 at 12:40 PM, Rick Faircloth
   r...@whitestonemedia.comwrote:
  
   
Your understanding is correct, Matt, but I don't see how your
example is relevant.
   
In my application.cfc, I've got a line that sets an application
  variable:
   
cfset application.siteShortDomain = myShortDomain.com
   
I need that application.siteShortdomain variable available when
   contact.cfc
runs.
   
So, how would I go about this?
   
(I just noticed what Brian and Russ added to the conversation,
and Russ is correct, as you can see from above, that I want to extend
the global application variables that I've set in application.cfc tp
  all
the other cfc's that are in a common library of cfc's above the
 website
root.
   
???
   
Thanks!
   
Rick
   
   
On Tue, Jun 25, 2013 at 11:50 AM, Matt Quackenbush 
  quackfu...@gmail.com
wrote:
   

 Hang on a minute. If I understand this correctly 

 So, how do I make the variables from application.cfc available to
  contact.cfc under
  such a scenario? Does the extends functionality of cfc's solve
   this?


 ... you're thinking about adding `extends=Application` to your
 contact.cfc?  If that's a correct understanding on my part, then
 the
answer
 is: HELL NO! DO NOT USE EXTENDS!

 Your CFCs should be self-contained and any outside variables they
   need
 should be passed in as either arguments or properties. Here's a
   contrived
 example.

 // foo.cfc
 component
 {
 property name=datasourcename

 function init( required string datasourcename )
 {
 variables.datasourcename = arguments.datasourcename
 return this
 }

 function doQuery()
 {
 // your query goes here
 return mycoolquery
 }
 }

 // test.cfm
 foo = createObject( 'component', 'foo' ).init(
application.datasourcename )
 writeDump( foo.doQuery )


 HTH

 On Tue, Jun 25, 2013 at 11:41 AM, Rick Faircloth
 r...@whitestonemedia.comwrote:

 
  Alright, that's the confirmation I needed to proceed. So, use
'extends
 it
  is!
 
  Thanks,
 
  Rick
 
 
  On Tue, Jun 25, 2013 at 11:21 AM, Russ Michaels 
  r...@michaels.me.uk
   
  wrote:
 
  
   if you use EXTENDS, then everything in the parent CFC is
  available
tot
 he
   child.
   If you want libraries to use on multiple sites, then you would
  need
to
  put
   the components in a central location and then adding a mapping
 to
them.
  
  
  
   On Tue, Jun 25, 2013 at 4:01 PM, Rick Faircloth 
  r...@whitestonemedia.com
   wrote:
  
   
Hi, all...
   
I've been writing code for every project I've worked on for
 the
last
  10+
years.
I did that purposefully to make myself work in a manner which
would

Re: Best means of setting a library of reusable code

2013-06-25 Thread Rick Faircloth

Thanks for that info, Carl...

I think I read somewhere about that while researching. I'll take another
look and see if I can make that work. It'll beat typing in all the
application variables for every call to the cfc's!

Rick


On Tue, Jun 25, 2013 at 3:39 PM, Carl Von Stetten
vonner.li...@vonner.netwrote:


 Rick,

 I don't know if this will help, but I've read about people creating
 proxy CFCs in or below the webroot specifically for AJAX requests.
 Those proxy CFCs either extend the protected CFCs (the ones outside
 the webroot) or have functions that call the protected CFCs through
 createObject() or other similar means (which breaks encapsulation, but I
 think that doing this was thought of as a justifiable exception to
 encapsulation).  You would still need to create mappings to the CFCs
 that reside outside the webroot, but you likely would have to do that
 anyway if you use the same CFCs elsewhere in your application.

 -Carl V.

 On 6/25/2013 12:03 PM, Rick Faircloth wrote:
  Well, the good news is that I can include the application variables in
 the
  AJAX post and pass them into the contact.cfc (which is also out of the
  webroot and in the library) via the AJAX call to contact.cfc.
 
  The bad news is, I have to type all those application variables into
 every
  AJAX call. But, at least I only have to type them in once for the
 reusable
  code!

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356086
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: (ot) what in a ajax page could block a jquery click listener?

2013-06-05 Thread Rick Faircloth

It could be anything from a simple spelling error, to a missing character,
or any number of problems. You'll to show some code in order for anyone to
be able to help.

Rick


On Wed, Jun 5, 2013 at 9:32 PM, morchella morchella.delici...@gmail.comwrote:


 i am stuck.
 cant show any code. but most of it is old.
 tried to stick a simple move multi select box into an existing page that
 does all sort of ajax call i can figure out.

 the jq stuff work fine in most/90% of the site
 just this one page it is confusing me..


 may have to re-write the form.
 sick of ajax and cf7.


 =]

 any ideas one what i should look for?
 a way to catch trap pass what is failing?

 i appreciate ANY ideas.
 -m


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355872
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Anyone ever created their own email archive with CF?

2013-04-18 Thread Rick Faircloth

You guys just get ridiculous in your conversations, which, if you'll
pardon the profane verbiage, inevitably is reduced to a pissing contest
and a sometimes not-so-subtle attempt to demean others by display of
something that's supposed to pass for superior knowledge. It's no wonder
that geeks have a reputation for totally lacking people skills, because
that's exactly the way many of you act on this list. No tact, but plenty
of insulting, off-topic remarks.

Russ, I think it's safe to assume that if someone managed to keep
a job in IT for 30 years, and even worked as an IT manager
that they *probably* know what they're doing? Don't you think?

And only *one* person in this entire, mostly ridiculous discussion,
has even attempted to answer the question I asked to start with,
Anyone ever created their own email archive with CF? ... The rest
has been an exercise in attempting to tell me that I should be doing
something else, like using Google Apps for Business.

And Dave, talk about OT! Suggesting I use Google Apps, or anything else,
instead of even attempting to answer my question, isn't acceptable
to this OP. I've had already looked at Gmail and found it unsuitable.
And to suggest that you know best what my clients' need that I do,
is terribly presumptuous.

Perhaps should anoint a few of you know-it-alls to be a CF-Talk
Advice and Solution Panel. Those of us who aren't smart enough to make
the cut for that panel can then bring offerings, explain our situation,
and wait for you the panel to dispense its wisdom as to how we should
proceed. But, imagine! Some might dare to ask a question that by-passes
the panel's usual modus operandi, come up with an idea on our own,
and ask a question that seeks an answer to just a simple-minded question.

But this happens all the time on this list. Many questions that are posed
get no real answer; instead they get a list of replies that typically
sound like this: I don't know what you're trying to accomplish, but you
should... and a solution is offered that doesn't address the original
question. Well, if you don't know what I'm trying to accomplish, or if you
do, but don't know how to solve it, just keep your mouth shut. Or offer
solutions only to the OP's questions. Stop trying to push the OP towards
something *YOU* prefer.

If I wanted to know what solutions existed, I'd ask that question.
Or I can ask that question instead: Are there any existing solutions
that offer an email archiving system that I should consider?. But that's not 
what I
asked. I've already looked at Google Apps for Business and had decided
that I didn't like what I saw; found the solution overkill for what my
client needs.. they need email, not email + calendar + drive + docs, etc., etc.
Some of that has already been offered to my client and they didn't want it. It 
just
might be, MIGHT BE, that I know my clients and what they need better
that you wanna-be CF gods who quickly avoid answering OP questions and
start imparting unsolicited wisdom.

The client's needs that I'm trying to address happens to be a NON-PROFIT
USO organization who is trying to find solutions while keeping the cost
at a minimum. And going from $50 per month to $500 per month for email
isn't a wise use of their funds. Some of you who have to work as employees
instead of having the skill-set (including the aforementioned people skills)
to run your own business where you have to manage relationships with people,
may think that if a business is *worthy* to exist, then it should prove
it by purchasing costly and wasteful solutions to problems. But some
organizations, and even for-profit businesses, prefer to try to find the
least-expensive, yet effective solutions to meet their needs.

AND some of us might have the audacity (hate to use that word because leaves
a very bad taste in my mouth because of the idiot in the white house),
to think we might be able to build a custom solution to our own problems that
Google, or any other vendor can't come close to.

Advice for those of you on high who seek to impart your wisdom from
Mt. Olympus to us mere mortals: Answer the original, and *only* the
original question. If the OP wants to go in another direction with the
discussion, then let them. But don't hi-jack a thread with alternatives
until the OP asks. At that point we won't have all this damned useless
discussion.

Thanks for NOT answering my question. I've gotten almost no helpful
information from this entire conversation, in spite of its tremendous length.

Rick 

-Original Message-
From: Russ Michaels [mailto:r...@michaels.me.uk] 
Sent: Thursday, April 18, 2013 5:23 AM
To: cf-talk
Subject: Re: Anyone ever created their own email archive with CF?


Not sure what working in it for 30 years has to do with the topic, this
tells us you had a job in a specific area for a certain time  thats all, it
certainly doesn't mean you know everything there is to know about i.t, or
that you were even good  at it.


Regards
Russ Michaels

RE: Anyone ever created their own email archive with CF?

2013-04-18 Thread Rick Faircloth

I can tinker with that approach, and it might prove beneficial.

But I am really after an automated setup that creates a storage
system for original-topic emails, along with the replies I send.

Much like text messaging provides currently. I can follow a text
message conversation easily, because my replies are automatically
displayed in-line with the other persons responses.

Email should work the same way. I shouldn't have to filter or
search or anything else to be able to view an entire conversation.

We seem to be stuck in the paradigm of thinking email users should
store replies in various folders. And in order to get my response
into the conversation, I have to go to a Sent Items folder and
each time manually copy my replies into a particular folder.

Even a basic setup that includes all parts of a conversation,
like this email list, is preferable to anything I've found in
current offerings.

And it should be relatively easy to build. Just have CF manage
that emails behind the scenes as the conversation flows. Then, 
should I want to review or send a *complete* conversation to 
someone else, I can simply refer to what CF has created for me.

It's ridiculously complex to try to reassemble an email conversation.
It's time for a new approach.

That's what I'm trying to accomplish and what led to my original question.

Rick

-Original Message-
From: Mark Drew [mailto:mark.d...@gmail.com] 
Sent: Thursday, April 18, 2013 5:40 AM
To: cf-talk
Subject: Re: Anyone ever created their own email archive with CF?


Going back to the original question, one thing we use is http://highrisehq.com/ 
which basically by BCC'ing an
email in every reply you do (or forwarding an email) it can be stored against 
that client. Would that help?

I know it's not automatic, but then again, I am not sure of your goals. 


Sincerely

Mark Drew

On 16 Apr 2013, at 02:04, Rick Faircloth r...@whitestonemedia.com wrote:

 
 I've been trying to find a good way to store email
 *from* AND *to* my clients. (you know, create that
 really handy paper trail you need sometimes...)
 
 I've tried all sorts of ways from The Brain to Evernote
 to One Note, but nothing works easily or automatically.
 
 Just wondering if anyone has tried this.  I found nothing
 about it when searching the Internet.
 
 Rick
 
 
 
 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355481
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Anyone ever created their own email archive with CF?

2013-04-18 Thread Rick Faircloth

Some good suggestions, Mark, that address the original question. ;o)

I've used POP hooks (if I know what you're referencing), as I described
in a earlier post, to based on a scheduled task that ran every 10 minutes
or so, and check a third-party email provider to see if an email with a
specific email had been delivered.  If that email had arrived, it triggered
other scheduled tasks that could be run only after the email had arrived,
since that told the scheduled tasks that certain data was ready from a
third-party, for me to download and process. This just automated the process
of having to check the third-party email for the specific message's presence
with my intervention at any point.

During work on that little project, I realized that CF had great potential
for handling email, not only as a sending mechanism, but in parsing, storing,
etc., email.

And to your point of creating conversation with some sort of unique piece of
data common to only appropriate threads: Some earlier mentioned using a
message id as that item that I could link only appropriate messages, rather
than relying on subject, as Outlook does.

Several have mentioned IMAP, so I need to do some research on it's potential.

Rick

-Original Message-
From: Mark Drew [mailto:mark.d...@gmail.com] 
Sent: Thursday, April 18, 2013 7:12 AM
To: cf-talk
Subject: Re: Anyone ever created their own email archive with CF?


I see what you mean now and yeah, that shouldn't be *too* hard to build. 

If I had to solve this I would look into either IMAP or POP hooks into the mail 
server. THen import that into
a database for example, so it can be queried. 

The problem with your SMS Vs Email analogy is that (on my iPhone anyway) my 
message history is by person. In
email, the history is by conversation (or subject line) which you need some 
parsing to get that they are
related and then more parsing to remove replies. 

There are some things that can help, for example (in Railo anyway) there is a 
EMail Event Handler that will
trigger actions when a new email has arrived into your POP mailbox. 

You could extend it to work with IMAP for example and search in the Sent folder?

I would really have to look at the options you have with your mail server. 

The NEXT thing (and if I recall, I think Russ mentioned this to me a long while 
back) could be actually
creating a SMTP/POP EventGateway that then stores emails and what have you . Or 
find a SMTP/POP server that
has an API that you can then work with, of which I don't know any. 

Anyway, just some thoughts that I am sure you have also had. 

Regards

Mark Drew

On 18 Apr 2013, at 12:04, Rick Faircloth r...@whitestonemedia.com wrote:

 
 I can tinker with that approach, and it might prove beneficial.
 
 But I am really after an automated setup that creates a storage
 system for original-topic emails, along with the replies I send.
 
 Much like text messaging provides currently. I can follow a text
 message conversation easily, because my replies are automatically
 displayed in-line with the other persons responses.
 
 Email should work the same way. I shouldn't have to filter or
 search or anything else to be able to view an entire conversation.
 
 We seem to be stuck in the paradigm of thinking email users should
 store replies in various folders. And in order to get my response
 into the conversation, I have to go to a Sent Items folder and
 each time manually copy my replies into a particular folder.
 
 Even a basic setup that includes all parts of a conversation,
 like this email list, is preferable to anything I've found in
 current offerings.
 
 And it should be relatively easy to build. Just have CF manage
 that emails behind the scenes as the conversation flows. Then, 
 should I want to review or send a *complete* conversation to 
 someone else, I can simply refer to what CF has created for me.
 
 It's ridiculously complex to try to reassemble an email conversation.
 It's time for a new approach.
 
 That's what I'm trying to accomplish and what led to my original question.
 
 Rick
 
 -Original Message-
 From: Mark Drew [mailto:mark.d...@gmail.com] 
 Sent: Thursday, April 18, 2013 5:40 AM
 To: cf-talk
 Subject: Re: Anyone ever created their own email archive with CF?
 
 
 Going back to the original question, one thing we use is 
 http://highrisehq.com/ which basically by BCC'ing
an
 email in every reply you do (or forwarding an email) it can be stored against 
 that client. Would that help?
 
 I know it's not automatic, but then again, I am not sure of your goals. 
 
 
 Sincerely
 
 Mark Drew
 
 On 16 Apr 2013, at 02:04, Rick Faircloth r...@whitestonemedia.com wrote:
 
 
 I've been trying to find a good way to store email
 *from* AND *to* my clients. (you know, create that
 really handy paper trail you need sometimes...)
 
 I've tried all sorts of ways from The Brain to Evernote
 to One Note, but nothing works easily or automatically.
 
 Just wondering if anyone has tried this.  I

RE: Anyone ever created their own email archive with CF?

2013-04-18 Thread Rick Faircloth

I've got to think this through so I can understand how this would work.

But first, this organization is in another state, so I don't have control
over their clients (I control their accounts, where, I guess I could set
a BCC...really haven't checked on it, so I don't remember).

And, realize, I'm not trying to keep an archive of my *clients* email
conversations, I'm just wanting to do this for myself. If it works for me,
I may polish it up and offer it as a service to them. In the kind of
organization I'm talking about, almost everyone right now wants their
email archived. ;o) It get's contentious at times there.

However, for right now, it's just for me. And, frankly, I enjoy the challenge
of developing a solution that can completely control. I like re-inventing
the wheel. It's challenging and I learn a lot from the work.

But keep the on-topic suggestions and thoughts coming!

Rick

PS - And Dave, you'll be glad to know that I'm signing up for a trial
Google Apps for Business account just to fully explore its potential.



-Original Message-
From: mac jordan [mailto:mac.jor...@gmail.com] 
Sent: Thursday, April 18, 2013 7:27 AM
To: cf-talk
Subject: Re: Anyone ever created their own email archive with CF?


On Tue, Apr 16, 2013 at 2:04 AM, Rick Faircloth r...@whitestonemedia.comwrote:

 I've been trying to find a good way to store email
 *from* AND *to* my clients. (you know, create that
 really handy paper trail you need sometimes...)



​Am I missing something?​ Just set their mail clients up to auto 
bcc
themselves!


-- 
mac jordan
www.kestrel.org | www.reactivecooking.com |  www.jordan-cats.org
twitter: @ramtops




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355488
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Anyone ever created their own email archive with CF?

2013-04-18 Thread Rick Faircloth

You should stick to answering the question asked and only the
question asked and not offer alternatives unless the OP asks for them.

I appreciate the offer to share the alternatives, but please try to not
assume that OP's haven't already looked at alternatives and decided to
go their own way. I've learned over the years, that I can almost always
create a solution in some areas that is better *for me* than anything any
other company including Apple, Google, or Microsoft can create, simply
because I create only what need, in exactly the way I need it. I haven't been
able to get Apple, Adobe, Google, or Microsoft to pay much attention to
my requests. ;o)  The other reason I like to re-invent the wheel is that
I learn new things. Always a plus. So, it's not always about the conventional
best solution or a convenient ready-made solution. It's what suits
my motivations most closely.

Anyway, once I heard, before this conversation, that Google Apps for Business
was $5 per user, it didn't matter how great it was; for a non-profit USO just
getting started, an 10-fold increase PER MONTH was not an acceptable 
alternative.



-Original Message-
From: Russ Michaels [mailto:r...@michaels.me.uk] 
Sent: Thursday, April 18, 2013 7:37 AM
To: cf-talk
Subject: Re: Anyone ever created their own email archive with CF?


I do think you have rather thrown the toys out of the pram here over mine
and Dave's Google Apps answers when we were only answering your questions
and correcting your misconceptions.
One thing that happens often in the world of CF and on this list is that
people try to use CFML for everything and thus for tasks it is really not a
best fit for. So it would be pretty a poor community if everyone just said
here is how to do it in CF without advising you there were better ways to
do, or that you are trying to re-invent the wheel.
I clearly know a lot more about GApps than you, and Dave knows more than
me, so obviously we wouldn't just sit here and let you think it cannot do
what you want when it clearly can.



On Thu, Apr 18, 2013 at 11:51 AM, Rick Faircloth
r...@whitestonemedia.comwrote:


 You guys just get ridiculous in your conversations, which, if you'll
 pardon the profane verbiage, inevitably is reduced to a pissing contest
 and a sometimes not-so-subtle attempt to demean others by display of
 something that's supposed to pass for superior knowledge. It's no wonder
 that geeks have a reputation for totally lacking people skills, because
 that's exactly the way many of you act on this list. No tact, but plenty
 of insulting, off-topic remarks.


You are right that sometimes things do go way off topic and sometimes
people are a bit holier than thou, but sometimes it is also warranted.



 Russ, I think it's safe to assume that if someone managed to keep
 a job in IT for 30 years, and even worked as an IT manager
 that they *probably* know what they're doing? Don't you think?


Absolutely not, and  that misconception is precisely why people say that. I
have known many people who have worked in I.T, accounting, been developers,
etc their whole life, but are really not very good at it, but can still get
jobs none the less.
Sure that is not true for everyone, but it is a pointless statement as it
means nothing and mostly people say it just to shut you up.
Cowboy builders convince people to hire them simply by saying I have been
doing this for x years, and their victim then blindly assumes that must
mean they are good at it.


 And only *one* person in this entire, mostly ridiculous discussion,
 has even attempted to answer the question I asked to start with,
 Anyone ever created their own email archive with CF? ... The rest
 has been an exercise in attempting to tell me that I should be doing
 something else, like using Google Apps for Business.


Actually that is not the case. The only reason the Google Apps discussion
went on is because you said it can't do x and y so we simply pointed out
that it can in fact do x and y so does indeed meet your requirements.


 And Dave, talk about OT! Suggesting I use Google Apps, or anything else,
 instead of even attempting to answer my question, isn't acceptable
 to this OP. I've had already looked at Gmail and found it unsuitable.
 And to suggest that you know best what my clients' need that I do,
 is terribly presumptuous.


You found it unsuitable because as you have shown you did not know how to
use or how it worked, thus your misconception




 The client's needs that I'm trying to address happens to be a NON-PROFIT
 USO organization who is trying to find solutions while keeping the cost
 at a minimum. And going from $50 per month to $500 per month for email
 isn't a wise use of their funds. Some of you who have to work as employees
 instead of having the skill-set (including the aforementioned people
 skills)
 to run your own business where you have to manage relationships with
 people,
 may think that if a business is *worthy* to exist, then it should

RE: Anyone ever created their own email archive with CF?

2013-04-18 Thread Rick Faircloth

And, again, offer what only is asked for, nothing else.
Don't take an OP's specific topic OT. If you don't think
the OP should consider an alternative, I suggest you wait until
the ask. It's not my mailing list, but neither is it yours.

I just watch these simple topics devolve into totally OT
wrestling matches for no good reason, often leaving the OP
still stranded.

And I never mentioned you by name as one who wasn't self-employed.
If the shoe doesn't fit...

-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: Thursday, April 18, 2013 9:39 AM
To: cf-talk
Subject: Re: Anyone ever created their own email archive with CF?


 And Dave, talk about OT! Suggesting I use Google Apps, or anything else,
 instead of even attempting to answer my question, isn't acceptable
 to this OP. I've had already looked at Gmail and found it unsuitable.
 And to suggest that you know best what my clients' need that I do,
 is terribly presumptuous.

You stated a set of requirements, and I pointed out that Apps met your
requirements. You listed a bunch of reasons you found it unsuitable,
and I pointed out the reasons you listed (selecting and deleting
emails, etc) weren't valid. I don't know anything about your clients,
but I do know that the problem you described, as you described it, can
easily be solved by using Apps.

I don't really care what you do with that information, but when you
post a question to a public list you should expect that people will
provide all kinds of answers to those questions. You may not like
those answers. That's ok, you're free to disregard them. But if you
post responses that say x isn't a suitable solution because of y,
and y is not actually correct, people will tell you that. If you'd
just said I'm not interested in Google Apps without stating specific
and incorrect justifications, that would have been the end of it.

 The client's needs that I'm trying to address happens to be a NON-PROFIT
 USO organization who is trying to find solutions while keeping the cost
 at a minimum. And going from $50 per month to $500 per month for email
 isn't a wise use of their funds. Some of you who have to work as employees
 instead of having the skill-set (including the aforementioned people skills)
 to run your own business where you have to manage relationships with people,
 may think that if a business is *worthy* to exist, then it should prove
 it by purchasing costly and wasteful solutions to problems. But some
 organizations, and even for-profit businesses, prefer to try to find the
 least-expensive, yet effective solutions to meet their needs.

Fortunately for your nonprofit client, they can use Apps for
Nonprofits for free. I recently set up Apps for a Catholic diocese to
get them off of GroupWise, and they paid nothing.

And based on your responses here, I'm not sure I'd be talking up my
great people skills if I were you. But I do just fine managing
relationships with people, and have not been anyone's employee for
many, many years. Thanks for asking!

 AND some of us might have the audacity (hate to use that word because leaves
 a very bad taste in my mouth because of the idiot in the white house),
 to think we might be able to build a custom solution to our own problems that
 Google, or any other vendor can't come close to.

First, this is probably not the appropriate venue for us to air our
political beliefs.

Second, maybe you can build a custom solution that ... whatever. But
you originally stated a pretty simple problem, and I provided a simple
solution to that problem. I'm sorry that's got you so flustered, but
my advice to you is to get over it.

 Advice for those of you on high who seek to impart your wisdom from
 Mt. Olympus to us mere mortals: Answer the original, and *only* the
 original question. If the OP wants to go in another direction with the
 discussion, then let them. But don't hi-jack a thread with alternatives
 until the OP asks. At that point we won't have all this damned useless
 discussion.

I had no idea this was your mailing list. I thought it was a public
mailing list.

I'm going to have to ignore your advice. It's bad advice. People ask
all sorts of questions about how to do things, and sometimes those
questions aren't really the right questions to ask. Imagine if someone
posted on here that they wanted to save their client money, but they
wanted to build something that worked just like ColdFusion or Railo
etc and did not want to use ColdFusion or Railo themselves. Wouldn't
you feel inclined to point out that these already existed? Would that
be a wrong answer?

My advice, in turn, to you is that if you don't like free advice, ask
for your money back. And if you don't want a discussion to continue,
don't respond - especially with things that are factually incorrect.

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the 

RE: Anyone ever created their own email archive with CF?

2013-04-18 Thread Rick Faircloth

And that's exactly to my point... When I ask a specific question,
I only want answers that address that specific question.

If it turns out *to me* that the solution I'm considering is wrong,
then it's up to me to change my mind. I don't take anyone's advice
as unassailable. If we all did that, nothing new would ever be done.

When I get ready to entertain alternative solutions, I'll ask for them.
Until then, the only topic to respond to is Anyone ever created their
own email archive with CF?

And by that question I'm asking for people's experience, but only in the
scope creating an email archive with CF, not quickly dismissing the
approach as wrong or offering alternative solutions. If I wanted those
answers, I would have asked, Is it wrong or a waste of time to attempt
to develop an email archive system with CF? or What are the alternative
solutions to developing my own email archive system with CF?

Very specific questions. I just don't like it when people immediately
try to hi-jack the thread based on their own experience and wisdom.
For all I know, a CF solution has the potential to be perfect and those
trying to dissuade me from that approach just didn't do it right and failed.

I'm just hard-headed that way.

But it's my post; people should stick close to the subject with replies
and let *me* expand the scope if I want to.

-Original Message-
From: Cameron Childress [mailto:camer...@gmail.com] 
Sent: Thursday, April 18, 2013 11:00 AM
To: cf-talk
Subject: Re: Anyone ever created their own email archive with CF?


On Thu, Apr 18, 2013 at 6:51 AM, Rick Faircloth wrote:

 Thanks for NOT answering my question. I've gotten almost no helpful
 information from this entire conversation, in spite of its tremendous
 length.


Rick - Please take this in the most constructive way possible. You asked a
question, got a overwhelmingly consistant answer from the entire list that
you're doing it wrong. Now you are being somewhat unreasonably upset
about that answer (considering you asked for input).

You seem very fixated on a very very specific solution to a problem when
you may be better served to have a wide open mind and listen to all
opinions.  Sometimes if everyone around you is saying you're doing it
wrong, then there is nothing more to it than just that.

Often I talk to clients who start by telling me what they think the
solution to their problem is. Sometimes it's a good solution, but often
(usually due to their inexperience), it's not really the best solution for
their problem. Instead I try to ask them to tell me their *problem*, not
their *solution*. Until the client can let go of their preconceived notions
of what *they* think the best solution is, we really aren't giving them the
best work that we can.

Take a step back and look at the question you were asking. You are
prescribing a solution not presenting a problem. Many on the list are
trying to stop you from making that mistake and moving you back to the
actual problem you are trying to solve.

Your root problem is one that most of the people on this list also have
dealt with at some point. As a result, the overwhelming majority of people
have told you how they solved that root problem, and why they chose that
solution over the one you are suggesting.

Now, you can (and are apparently) holding steadfast to your one single
prescribed solution, and I wish you the best of luck with that. However,
you have asked a community of peers for advice, and then aggressively (and
rudely) rejected the overwhelmingly consistant advise of you're doing it
wrong.

Good luck out there.

-Cameron

...




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355492
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Anyone ever created their own email archive with CF?

2013-04-18 Thread Rick Faircloth

 if you're going to
 suggest Apps for Nonprofits (free) to your client you might want to
 familiarize yourself with them.

Absolutely...

But like, I said, for now, this is just for me. My client hasn't asked
me for an archiving system. They're just handling that individually.
I just wanted something that work the way I want it to, hence the desire
to develop a customized solution. (Which may, like many other ideas, turn
out to be more than I bargained for.) However, knowing what I do already
about CFMail, it has the potential to do what I want relatively easily.



-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: Thursday, April 18, 2013 1:01 PM
To: cf-talk
Subject: Re: Anyone ever created their own email archive with CF?


 And, realize, I'm not trying to keep an archive of my *clients* email
 conversations, I'm just wanting to do this for myself. If it works for me,
 I may polish it up and offer it as a service to them. In the kind of
 organization I'm talking about, almost everyone right now wants their
 email archived. ;o) It get's contentious at times there.

Do they want this just to be able to read old email? Or do they have
specific requirements for archiving?

Archiving for the purposes of those requirements can be a bit tough to
implement - you might, for example, have to support nonrepudiation,
etc. I would definitely recommend that you use a hosted solution for
that, if that's what they need. Google has one (of course!) but so do
lots of other vendors, and if you're not using Apps you might want to
go with one of those other vendors. Those solutions tend not to be
inexpensive, however.

 PS - And Dave, you'll be glad to know that I'm signing up for a trial
 Google Apps for Business account just to fully explore its potential.

Good for you! If you have questions about Apps, feel free to send them
off-list. Their trials are only thirty days, so you kind of have to
dedicate some serious time to evaluate things.

Also, there are some very minor differences between Apps for Business
and Apps for Nonprofits. They're pretty minor, but if you're going to
suggest Apps for Nonprofits (free) to your client you might want to
familiarize yourself with them.

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355495
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Anyone ever created their own email archive with CF?

2013-04-18 Thread Rick Faircloth

Yes, you're going to make this your list under all circumstances.
I'm not your client asking for your advice to a problem.

I'm asking for any one's experience with a specific approach
to a problem. You should respect my question.

Yes, I can ignore your responses, but only after wading through
your response. You are an intelligent commenter, but I only want
what I ask for, not what you think I need. Let me make my mistakes,
then maybe I can grow up and become a big-boy CF programmer.


-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: Thursday, April 18, 2013 1:09 PM
To: cf-talk
Subject: Re: Anyone ever created their own email archive with CF?


 And, again, offer what only is asked for, nothing else.
 Don't take an OP's specific topic OT. If you don't think
 the OP should consider an alternative, I suggest you wait until
 the ask. It's not my mailing list, but neither is it yours.

Again, I'm sorry, but no. I refuse to do that. I get questions all the
time where the best answer is, basically, don't do that. If you post
questions to a public mailing list, you will simply have to accept
that people will answer those questions from their own perspectives.
That's the price of asking for help on a mailing list. You don't get
to dictate how people will respond. You do get to choose to ignore the
responses that don't interest you.

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355496
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Anyone ever created their own email archive with CF?

2013-04-18 Thread Rick Faircloth

Yes, I will definitely give it a good look now that I know it's
a potential free solution for the USO.

Thanks for the info!

Rick

-Original Message-
From: Russ Michaels [mailto:r...@michaels.me.uk] 
Sent: Thursday, April 18, 2013 1:56 PM
To: cf-talk
Subject: Re: Anyone ever created their own email archive with CF?


Rick
Did you notice several emails back I mentioned that gapps is free for non
profits?
You said many times you primarily didn't want gapps bcoz it costs money,
why not at least give it a try now that you know its free and that all your
aforementioned complaints have now been proved wrong.
Surely that would be mote productive that keep having a go at everyone?

Regards
Russ Michaels
www.michaels.me.uk
www.cfmldeveloper.com - Free CFML hosting for developers
www.cfsearch.com - CF search engine
On Apr 18, 2013 6:44 PM, Dave Watts dwa...@figleaf.com wrote:


  Yes, you're going to make this your list under all circumstances.

 No, but I'm going to respond to questions as I see fit. Those are not
 the same thing.

  I'm asking for any one's experience with a specific approach
  to a problem. You should respect my question.

 Well, since you put it that way: in your original question, you said
 you'd tried The Brain, Evernote and OneNote. So it strikes me as
 logical to presume you were open to non-CF solutions. I responded with
 my suggestion about Apps, and then you replied asking more questions
 about it. It wasn't until quite deep in the thread that you appeared
 to get upset about people offering non-CF solutions.

 But I think I've learned my lesson from this thread. So good luck to
 you with whatever solutions you choose in the future.

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

 Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
 GSA Schedule, and provides the highest caliber vendor-authorized
 instruction at our training centers, online, or onsite.

 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355499
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Anyone ever created their own email archive with CF?

2013-04-17 Thread Rick Faircloth

Now, I can't say this for ALL interfaces, even Gmail, without
some research, which I don't want to do for the sake a constructive
discussion, but most of the time, I've found that I have to
delete emails by checking their box or by clicking delete.
In Outlook, for example, I can run down a few dozen emails and save
those I want to folders, and just hit the delete key to get rid
of those I don't want to save. Very fast. (Perhaps I tried the
Delete key on the web interfaces, perhaps not... not sure)

Yes, I can review subjects and check boxes as I go, then delete
those I don't want to read, but, if I recall correctly, if I check
emails for deletion, but then decide to read one after checking said boxes,
then when I return to the view displaying the subject line, the
previously checked boxes are typically unchecked, requiring me to
re-check the emails for deletion. I would prefer an AJAX solution
with a little red X that I click and the email fades away.

But my discussion began with a concern about being able to archive
conversations, in conversation view (and yes, I would like the archive
to display by Message ID, and not by Subject as Outlook does. It's
HIGHLY ANNOYING when all messages with the same subject like Website
get lumped into the same conversation.


-Original Message-
From: Cameron Childress [mailto:camer...@gmail.com] 
Sent: Wednesday, April 17, 2013 10:28 AM
To: cf-talk
Subject: Re: Anyone ever created their own email archive with CF?


On Tue, Apr 16, 2013 at 4:29 PM, Rick Faircloth wrote:

 Are you saying that your Gmail, through the Gmail browser interface
 out-performs a locally installed, copy of Outlook?


I find that is definitely does outperform it. Opening Chrome with GMail as
a default tab is faster then opening Outlook. Searching my mail is WAY
faster in GMail than in outlook.


 Just one annoyance with online interfaces is the trying to delete emails.


I thought the entire point of this thread started because you didn't want
to delete things, you wanted to KEEP things. Once I started using GMail I
pretty much stopped deleting emails entirely unless they were friendly spam
like monthly newsletters.

But, at times when I do want to delete things, say to make more space in my
account, it's very easy to search for all messages with attachments larger
than X, and then select all  delete all.

What is it about deleting in a web interface that annoys you? I
don't understand.

-Cameron

-- 
Cameron Childress
--
p:   678.637.5072
im: cameroncf
facebook http://www.facebook.com/cameroncf |
twitterhttp://twitter.com/cameronc |
google+ https://profiles.google.com/u/0/117829379451708140985




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355463
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Anyone ever created their own email archive with CF?

2013-04-17 Thread Rick Faircloth

No, I've been through Gmail and Outlook.com, the two
I'd considering to handle my mail. They didn't satisfy.

-Original Message-
From: Cameron Childress [mailto:camer...@gmail.com] 
Sent: Wednesday, April 17, 2013 1:34 PM
To: cf-talk
Subject: Re: Anyone ever created their own email archive with CF?


Really? It sounds like you haven't even tried any of the solutions you are
so strongly against. Suddenly this entire conversation feels like a giant
waste of time.

-Cameron

On Wed, Apr 17, 2013 at 12:16 PM, Rick Faircloth
r...@whitestonemedia.comwrote:

 Now, I can't say this for ALL interfaces, even Gmail, without
 some research, which I don't want to do for the sake a constructive
 discussion, but most of the time, I've found that I have to
 delete emails by checking their box or by clicking delete.
 In Outlook, for example, I can run down a few dozen emails and save
 those I want to folders, and just hit the delete key to get rid
 of those I don't want to save. Very fast. (Perhaps I tried the
 Delete key on the web interfaces, perhaps not... not sure)

 Yes, I can review subjects and check boxes as I go, then delete
 those I don't want to read, but, if I recall correctly, if I check
 emails for deletion, but then decide to read one after checking said boxes,
 then when I return to the view displaying the subject line, the
 previously checked boxes are typically unchecked, requiring me to
 re-check the emails for deletion. I would prefer an AJAX solution
 with a little red X that I click and the email fades away.

 But my discussion began with a concern about being able to archive
 conversations, in conversation view (and yes, I would like the archive
 to display by Message ID, and not by Subject as Outlook does. It's
 HIGHLY ANNOYING when all messages with the same subject like Website
 get lumped into the same conversation.


 -Original Message-
 From: Cameron Childress [mailto:camer...@gmail.com]
 Sent: Wednesday, April 17, 2013 10:28 AM
 To: cf-talk
 Subject: Re: Anyone ever created their own email archive with CF?


 On Tue, Apr 16, 2013 at 4:29 PM, Rick Faircloth wrote:

  Are you saying that your Gmail, through the Gmail browser interface
  out-performs a locally installed, copy of Outlook?
 

 I find that is definitely does outperform it. Opening Chrome with GMail as
 a default tab is faster then opening Outlook. Searching my mail is WAY
 faster in GMail than in outlook.


  Just one annoyance with online interfaces is the trying to delete emails.


 I thought the entire point of this thread started because you didn't want
 to delete things, you wanted to KEEP things. Once I started using GMail I
 pretty much stopped deleting emails entirely unless they were friendly spam
 like monthly newsletters.

 But, at times when I do want to delete things, say to make more space in my
 account, it's very easy to search for all messages with attachments larger
 than X, and then select all  delete all.

 What is it about deleting in a web interface that annoys you? I
 don't understand.

 -Cameron

 --
 Cameron Childress
 --
 p:   678.637.5072
 im: cameroncf
 facebook http://www.facebook.com/cameroncf |
 twitterhttp://twitter.com/cameronc |
 google+ https://profiles.google.com/u/0/117829379451708140985




 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355466
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Anyone ever created their own email archive with CF?

2013-04-16 Thread Rick Faircloth

I assume by conversation view you mean that also includes
my replies? I have used the conventional conversation view that
only show emails received within a grouping by conversation, but
my replies still only go to my Sent Items box. I'm still running
Outlook 2007, however, but recently tried Outlook.com. I didn't like
that experience very well, at first taste, anyway.

I've tried regular Gmail as well, but have never come to prefer an
online interface for various reasons. Gmail for business may be
much better for my purposes, but at $5 per month per distinct email
address, that a killer cost compared to what I charge my clients
now. They'd never go for that.


-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: Tuesday, April 16, 2013 12:12 AM
To: cf-talk
Subject: Re: Anyone ever created their own email archive with CF?


 I thought perhaps I could create a way to archive email that
 I receive and send.  That's a real irritation, that I can't
 get my mail in conversational style that includes my sent messages.
 At least not in Outlook, that I'm aware of.

I think newer versions of Outlook support conversation view.

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355428
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Anyone ever created their own email archive with CF?

2013-04-16 Thread Rick Faircloth

But again, with business class Gmail/Google Apps, we're talking
about $5 per unique email address which would run me $500 per month
for my email users. A quite ridiculous cost!

I get SmarterMail 11 Professional, which includes up to 250 users
or domains included with my Virtual Dedicated Server.

I've found all the online interfaces; outlook.com, gmail, and even
SmarterMail to be slower when it comes to handling mail than
desktop outlook.  There's no way an online service can compete with
locally installed software that I've found.  If an online server can
keep up with locally installed software, then there's probably something
wrong with the local installation.



-Original Message-
From: Russ Michaels [mailto:r...@michaels.me.uk] 
Sent: Tuesday, April 16, 2013 10:30 AM
To: cf-talk
Subject: Re: Anyone ever created their own email archive with CF?


current versions of outlook do conversation threading, however it threads
base don the subject, so any emails that have the same subject end up in
the same conversation, so it isn't very good. why they don't use the
MessageId I do not know.
Gmail/Google Apps takes some getting used to if your switching from
Outlook, it is just like switching IDE's, you just have to give it some
time. Outlook is so slow and clunky by comparison.


On Tue, Apr 16, 2013 at 3:23 PM, Rick Faircloth r...@whitestonemedia.comwrote:


 I assume by conversation view you mean that also includes
 my replies? I have used the conventional conversation view that
 only show emails received within a grouping by conversation, but
 my replies still only go to my Sent Items box. I'm still running
 Outlook 2007, however, but recently tried Outlook.com. I didn't like
 that experience very well, at first taste, anyway.

 I've tried regular Gmail as well, but have never come to prefer an
 online interface for various reasons. Gmail for business may be
 much better for my purposes, but at $5 per month per distinct email
 address, that a killer cost compared to what I charge my clients
 now. They'd never go for that.


 -Original Message-
 From: Dave Watts [mailto:dwa...@figleaf.com]
 Sent: Tuesday, April 16, 2013 12:12 AM
 To: cf-talk
 Subject: Re: Anyone ever created their own email archive with CF?


  I thought perhaps I could create a way to archive email that
  I receive and send.  That's a real irritation, that I can't
  get my mail in conversational style that includes my sent messages.
  At least not in Outlook, that I'm aware of.

 I think newer versions of Outlook support conversation view.

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

 Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
 GSA Schedule, and provides the highest caliber vendor-authorized
 instruction at our training centers, online, or onsite.



 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355433
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Anyone ever created their own email archive with CF?

2013-04-16 Thread Rick Faircloth

I will take a look at all that my clients would gain with Google Apps,
but all that they require at the moment is email service.

The other benefits of Google Apps, except for a consolidated calendar,
at this point, would be superfluous.

I'll check out Google Business Apps a little closer and see what all it offers.

However, I do have issues with Outlook slowing down at times and even
crashing on the rare occasion, but it far faster than Gmail's online
interface by far, at least in my experience. Are you saying that your
Gmail, through the Gmail browser interface out-performs a locally installed,
copy of Outlook?

Just one annoyance with online interfaces is the trying to delete emails.

-Original Message-
From: Russ Michaels [mailto:r...@michaels.me.uk] 
Sent: Tuesday, April 16, 2013 11:36 AM
To: cf-talk
Subject: Re: Anyone ever created their own email archive with CF?


I was only referring to Gmail not other webmail interfaces, which I have
found quicker and more responsive than Outlook. Outlook is a slugish
monster and prone to crashing, always has been and is well known for it.

You cannot really compare your Smartermail Server to Google Apps, that is
like comparing a word processor App to Microsoft Office or a 1 bed
apartment to a 5 bed house.
You should go and take a look at what Google Apps actually is, as you are
clearly under the impression is is just basic email, which is so not the
case.
For what you get, $5 per user is incredibly cheap.
Clearly it is not suitable for you or your client who is obviously very low
budget, but you should at least research the facts before making invalid
judgements or comparisons, you may find other clients for which this is
suitable, which would be a potential lost sale if you don't know the facts.



On Tue, Apr 16, 2013 at 4:16 PM, Rick Faircloth r...@whitestonemedia.comwrote:


 But again, with business class Gmail/Google Apps, we're talking
 about $5 per unique email address which would run me $500 per month
 for my email users. A quite ridiculous cost!

 I get SmarterMail 11 Professional, which includes up to 250 users
 or domains included with my Virtual Dedicated Server.

 I've found all the online interfaces; outlook.com, gmail, and even
 SmarterMail to be slower when it comes to handling mail than
 desktop outlook.  There's no way an online service can compete with
 locally installed software that I've found.  If an online server can
 keep up with locally installed software, then there's probably something
 wrong with the local installation.



 -Original Message-
 From: Russ Michaels [mailto:r...@michaels.me.uk]
 Sent: Tuesday, April 16, 2013 10:30 AM
 To: cf-talk
 Subject: Re: Anyone ever created their own email archive with CF?


 current versions of outlook do conversation threading, however it threads
 base don the subject, so any emails that have the same subject end up in
 the same conversation, so it isn't very good. why they don't use the
 MessageId I do not know.
 Gmail/Google Apps takes some getting used to if your switching from
 Outlook, it is just like switching IDE's, you just have to give it some
 time. Outlook is so slow and clunky by comparison.


 On Tue, Apr 16, 2013 at 3:23 PM, Rick Faircloth r...@whitestonemedia.com
 wrote:

 
  I assume by conversation view you mean that also includes
  my replies? I have used the conventional conversation view that
  only show emails received within a grouping by conversation, but
  my replies still only go to my Sent Items box. I'm still running
  Outlook 2007, however, but recently tried Outlook.com. I didn't like
  that experience very well, at first taste, anyway.
 
  I've tried regular Gmail as well, but have never come to prefer an
  online interface for various reasons. Gmail for business may be
  much better for my purposes, but at $5 per month per distinct email
  address, that a killer cost compared to what I charge my clients
  now. They'd never go for that.
 
 
  -Original Message-
  From: Dave Watts [mailto:dwa...@figleaf.com]
  Sent: Tuesday, April 16, 2013 12:12 AM
  To: cf-talk
  Subject: Re: Anyone ever created their own email archive with CF?
 
 
   I thought perhaps I could create a way to archive email that
   I receive and send.  That's a real irritation, that I can't
   get my mail in conversational style that includes my sent messages.
   At least not in Outlook, that I'm aware of.
 
  I think newer versions of Outlook support conversation view.
 
  Dave Watts, CTO, Fig Leaf Software
  http://www.figleaf.com/
  http://training.figleaf.com/
 
  Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
  GSA Schedule, and provides the highest caliber vendor-authorized
  instruction at our training centers, online, or onsite.
 
 
 
 



 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http

RE: Anyone ever created their own email archive with CF?

2013-04-16 Thread Rick Faircloth

I can give that a try... thanks for the suggestion, Bobby!

-Original Message-
From: Bobby [mailto:bo...@acoderslife.com] 
Sent: Tuesday, April 16, 2013 1:25 PM
To: cf-talk
Subject: Re: Anyone ever created their own email archive with CF?


How about BCC to a designated box?

On 4/15/13 9:04 PM, Rick Faircloth r...@whitestonemedia.com wrote:


I've been trying to find a good way to store email
*from* AND *to* my clients. (you know, create that
really handy paper trail you need sometimes...)

I've tried all sorts of ways from The Brain to Evernote
to One Note, but nothing works easily or automatically.

Just wondering if anyone has tried this.  I found nothing
about it when searching the Internet.

Rick







~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355448
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Anyone ever created their own email archive with CF?

2013-04-15 Thread Rick Faircloth

I've been trying to find a good way to store email
*from* AND *to* my clients. (you know, create that
really handy paper trail you need sometimes...)

I've tried all sorts of ways from The Brain to Evernote
to One Note, but nothing works easily or automatically.

Just wondering if anyone has tried this.  I found nothing
about it when searching the Internet.

Rick



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355415
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Anyone ever created their own email archive with CF?

2013-04-15 Thread Rick Faircloth

Thanks for the reply, Dave...

When you say you use Google Apps, do you mean Gmail?

Or are you running an email server (I use SmarterMail)
that somehow works with a Google App to archive email?

Rick


-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: Monday, April 15, 2013 9:29 PM
To: cf-talk
Subject: Re: Anyone ever created their own email archive with CF?


 I've been trying to find a good way to store email
 *from* AND *to* my clients. (you know, create that
 really handy paper trail you need sometimes...)

 I've tried all sorts of ways from The Brain to Evernote
 to One Note, but nothing works easily or automatically.

 Just wondering if anyone has tried this.  I found nothing
 about it when searching the Internet.

I'm not sure what you're looking for here. I just do this in Google
Apps. I have labels for each client, and filters to mark incoming mail
from clients and outgoing mail to them as belonging to the appropriate
client. I can pull up all communication with any given client in
seconds.

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355418
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Anyone ever created their own email archive with CF?

2013-04-15 Thread Rick Faircloth

I've never done much with CFMail, except its main function
of sending mail, but I did code a function one time to trigger
a series of scheduled tasks based on the receipt of an email
with a particular subject line. It was quite handy in that situation.
When that email was received, I knew that data was ready from
a third party for FTP download and processing on my end. I didn't
have to worry about the scheduled task firing if the data was
delayed or keep checking the data and manually firing the scheduled task.

I remember from that experience at CF could handle quite a
lot of various email functionality based on its ability to
handle the various parts of an email message.

I thought perhaps I could create a way to archive email that
I receive and send.  That's a real irritation, that I can't
get my mail in conversational style that includes my sent messages.
At least not in Outlook, that I'm aware of.

Any suggestions as to an approach for this are welcome!

Rick

-Original Message-
From: Cameron Childress [mailto:camer...@gmail.com] 
Sent: Monday, April 15, 2013 10:08 PM
To: cf-talk
Subject: Re: Anyone ever created their own email archive with CF?


On Mon, Apr 15, 2013 at 9:28 PM, Dave Watts wrote:

 I'm not sure what you're looking for here. I just do this in Google
 Apps. I have labels for each client, and filters to mark incoming mail
 from clients and outgoing mail to them as belonging to the appropriate
 client. I can pull up all communication with any given client in
 seconds.


+1, but I don't even bother applying labels. Google's email search is just
so damn easy.

-Cameron

...




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355419
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Large amounts of CF email

2013-04-11 Thread Rick Faircloth

Google Apps is $5 per user per month or $50 per user per year?
And Google defines a user as a distinct email inbox.

Wow, I'm running SmarterMail 11 that came free with my
Virtual Dedicated Server with CF9. Google would cost me
about $500 per month! I can do the extra work for that
kind of money!

http://www.google.com/intl/en/enterprise/apps/business/pricing.html

Rick

-Original Message-
From: Russ Michaels [mailto:r...@michaels.me.uk] 
Sent: Thursday, April 11, 2013 3:30 PM
To: cf-talk
Subject: Re: Large amounts of CF email


I would still recommend sendgrid if the emails your clients send are
important and you want tracking and reporting and bounce processing to make
sure the mails reach their recipients.
You also need to consider spam blacklists,.do you regularly check them to
make sure your not listed? Do you want all the hassle of dealing with that
with your own smtp server?
If none of this matters to you and you ate happy to run your own smtp
server them smartermail free edition or hmailserver will do the job. Also
look at phplist as a mailing list manager.
As for hosting incoming mail, I would suggest using google apps or
office365, running your own mailserver can be a lot of work and.does
require intimate knowledge of dns, spf, spam, back scatter, dnsbl, loop
backs, spoofing, etc to do it properly, and google apps and office365 are
better than anything you can offer anyway, with bells on.
If you do decide to do it yourself then I suggest a separate server for
mail, unless your only doing smtp then what you have is fine for that qty
of mail.
Remember the more services you put on same server the more you create a
single point of failure that will take everything down in one go.
You could certainly take dns out of the equation, dns comes free with all
domain registrars, the main benefit to run your own dns is if you allow
your clients to manage it via a hosting control panel  if you manage dns
manually then you.you can do the same via your registrar, or use a service
like nettica.

Regards
Russ Michaels
www.michaels.me.uk
www.cfmldeveloper.com - Free CFML hosting for developers
www.cfsearch.com - CF search engine
On Apr 11, 2013 7:45 PM, Michael Muller mich...@mullertech.com wrote:


 Hey all,

 Ok, so I'm all set on the question of SPF etc. Here's another one.

 I am taking on a client who has an existing CF application. It's one of
 those 30%-off coupon things. They have a dedicated server right now that
 holds CF/SQL/SmarterMail all on one box. They send out a little over
 100,000 emails a month.

 My existing setup is two cloud-based servers at Enterhost:  CF/DNS on one,
 and SQL/SmarterMail/DNS on the other. I do not want to add the extra email
 burden to my system. I already send out about 50,000 emails a month from
 about 170 websites, not including the POP personal / business emails of 75
 of those clients.

 The current concept is for me to get another server specifically for their
 email delivery, and to move their app to my CF machine and their database
 to my SQL machine.  With the extra email-only server I get SmarterMail,
 though I'm not sure that's the best tool for delivering large amounts of
 email from CF.

 I saw that Russ Michaels mentioned sendgrid.net in a post a couple days
 ago about CFMAIL dropping some emails. This client knows that their needs
 are going to grow beyond the 300,000 ($200/mo) limit in a short amount of
 time, and so that will turn into an expensive solution eventually.

 So, if I stick with the new cloud server just for this one client's email
 delivery... am I setting this up right?

 1. Their app on my CF server with hard-coded SERVER (see 3. below) in all
 CFMAIL tags
 2. Their DB on my SQL server
 3. Their own SM server (see 1. above)

 Is there a better email delivery option from CF, and if so how would you
 integrate the two onto the on box so the customer can also get their own
 email at their domain? I'm curious for my own needs as well.

 Is there a better way to set up the boxes?

 I know this sounds like fundamental stuff, but I'd love any opinions
 people may want to volunteer (including what are you crazy?!).

 Thanks,

 MM




 Michael Muller -- (413) 320-5336
 http://MontagueWebWorks.com

 ** Powered by ROCKETFUSION **

 Information is not knowledge
 Knowledge is not wisdom

 Eschew Obfuscation



 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355377
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Large amounts of CF email

2013-04-11 Thread Rick Faircloth

And, Russ, I guess you're talking about MS Office Exchange Web App?
If so, that would be $4.00 per user per month.

That would cost me about $400 per month. Whew!



-Original Message-
From: Russ Michaels [mailto:r...@michaels.me.uk] 
Sent: Thursday, April 11, 2013 3:30 PM
To: cf-talk
Subject: Re: Large amounts of CF email


I would still recommend sendgrid if the emails your clients send are
important and you want tracking and reporting and bounce processing to make
sure the mails reach their recipients.
You also need to consider spam blacklists,.do you regularly check them to
make sure your not listed? Do you want all the hassle of dealing with that
with your own smtp server?
If none of this matters to you and you ate happy to run your own smtp
server them smartermail free edition or hmailserver will do the job. Also
look at phplist as a mailing list manager.
As for hosting incoming mail, I would suggest using google apps or
office365, running your own mailserver can be a lot of work and.does
require intimate knowledge of dns, spf, spam, back scatter, dnsbl, loop
backs, spoofing, etc to do it properly, and google apps and office365 are
better than anything you can offer anyway, with bells on.
If you do decide to do it yourself then I suggest a separate server for
mail, unless your only doing smtp then what you have is fine for that qty
of mail.
Remember the more services you put on same server the more you create a
single point of failure that will take everything down in one go.
You could certainly take dns out of the equation, dns comes free with all
domain registrars, the main benefit to run your own dns is if you allow
your clients to manage it via a hosting control panel  if you manage dns
manually then you.you can do the same via your registrar, or use a service
like nettica.

Regards
Russ Michaels
www.michaels.me.uk
www.cfmldeveloper.com - Free CFML hosting for developers
www.cfsearch.com - CF search engine
On Apr 11, 2013 7:45 PM, Michael Muller mich...@mullertech.com wrote:


 Hey all,

 Ok, so I'm all set on the question of SPF etc. Here's another one.

 I am taking on a client who has an existing CF application. It's one of
 those 30%-off coupon things. They have a dedicated server right now that
 holds CF/SQL/SmarterMail all on one box. They send out a little over
 100,000 emails a month.

 My existing setup is two cloud-based servers at Enterhost:  CF/DNS on one,
 and SQL/SmarterMail/DNS on the other. I do not want to add the extra email
 burden to my system. I already send out about 50,000 emails a month from
 about 170 websites, not including the POP personal / business emails of 75
 of those clients.

 The current concept is for me to get another server specifically for their
 email delivery, and to move their app to my CF machine and their database
 to my SQL machine.  With the extra email-only server I get SmarterMail,
 though I'm not sure that's the best tool for delivering large amounts of
 email from CF.

 I saw that Russ Michaels mentioned sendgrid.net in a post a couple days
 ago about CFMAIL dropping some emails. This client knows that their needs
 are going to grow beyond the 300,000 ($200/mo) limit in a short amount of
 time, and so that will turn into an expensive solution eventually.

 So, if I stick with the new cloud server just for this one client's email
 delivery... am I setting this up right?

 1. Their app on my CF server with hard-coded SERVER (see 3. below) in all
 CFMAIL tags
 2. Their DB on my SQL server
 3. Their own SM server (see 1. above)

 Is there a better email delivery option from CF, and if so how would you
 integrate the two onto the on box so the customer can also get their own
 email at their domain? I'm curious for my own needs as well.

 Is there a better way to set up the boxes?

 I know this sounds like fundamental stuff, but I'd love any opinions
 people may want to volunteer (including what are you crazy?!).

 Thanks,

 MM




 Michael Muller -- (413) 320-5336
 http://MontagueWebWorks.com

 ** Powered by ROCKETFUSION **

 Information is not knowledge
 Knowledge is not wisdom

 Eschew Obfuscation



 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355378
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: How can I view arguments in a CFC on-screen?

2013-04-02 Thread Rick Faircloth

When I put this inside a function of a CFC, right after thearguments 
declarations: cfdump var = '#arguments#' output='e:\dump.html' 
format='html'orcfdump var = '#arguments#' output='console' format='text' I 
get this error message from CF: Context validation error for the cffunction tag.
The start tag must have a matching end tag.
An explicit end tag can be provided by adding
lt;/cffunctiongt;.  If the body of the tag is empty,
\you can use the shortcut lt;cffunction .../ It's as if the cfdump is causing 
CF not to recognize
the closing /cffunction tag.

Am I putting the cfdump in the wrong place in the method?Thanks!Rick
  To: cf-talk@houseoffusion.com
 Subject: Re: How can I view arguments in a CFC on-screen?
 Date: Mon, 1 Apr 2013 19:06:31 -0400
 From: dswit...@pengoworks.com
 
 
 Use the step debugger.
 
 On Monday, April 1, 2013, Russ Michaels wrote:
 
 
  Dump them all to a file, then view the file.
 
  Regards
  Russ Michaels
  www.michaels.me.uk
  www.cfmldeveloper.com - Free CFML hosting for developers
  www.cfsearch.com - CF search engine
  On Apr 1, 2013 6:36 PM, Rick Faircloth 
  r...@whitestonemedia.comjavascript:;
  wrote:
 
  
   I wouldn't think this would be that difficult! Normally, I would include
   variables in a struct (when I'm using AJAX, whichis almost always) and
  view
   the variables when they're returned to the calling page. However, there
  are
   times, like right now, when I just want to have a look at allthe argument
   variables that a CFC is receiving and verify their accuracy. Isn't there
  an
   easy way to do this? I'm using CF 9. Thanks! Rick
  
  
 
  
 
 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355222
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: How can I view arguments in a CFC on-screen?

2013-04-02 Thread Rick Faircloth

The way I finally got to view the arguments sent to the CFC methodwas by simply 
assigning the arguments to the struct I created: cfset authorizeStruct  = 
structNew() / cfset authorizeStruct.ARGUMENTS = '#arguments#' / cfreturn 
authorizeStruct / That put a halt to all further processing in the method, 
which is good,and sent back the name pairs in JSON so I could view them in the 
console.
 From: r...@whitestonemedia.com
To: cf-talk@houseoffusion.com
Subject: RE: How can I view arguments in a CFC on-screen?
Date: Tue, 2 Apr 2013 10:39:18 -0400




When I put this inside a function of a CFC, right after the
arguments declarations:
 
cfdump var = '#arguments#' output='e:\dump.html' format='html'
or
cfdump var = '#arguments#' output='console' format='text'
 
I get this error message from CF:
 
Context validation error for the cffunction tag.
The start tag must have a matching end tag.
An explicit end tag can be provided by adding
lt;/cffunctiongt;.  If the body of the tag is empty,
\you can use the shortcut lt;cffunction .../ It's as if the cfdump is causing 
CF not to recognize
the closing /cffunction tag.

Am I putting the cfdump in the wrong place in the method?Thanks!Rick
 
 To: cf-talk@houseoffusion.com
 Subject: Re: How can I view arguments in a CFC on-screen?
 Date: Mon, 1 Apr 2013 19:06:31 -0400
 From: dswit...@pengoworks.com
 
 
 Use the step debugger.
 
 On Monday, April 1, 2013, Russ Michaels wrote:
 
 
  Dump them all to a file, then view the file.
 
  Regards
  Russ Michaels
  www.michaels.me.uk
  www.cfmldeveloper.com - Free CFML hosting for developers
  www.cfsearch.com - CF search engine
  On Apr 1, 2013 6:36 PM, Rick Faircloth 
  r...@whitestonemedia.comjavascript:;
  wrote:
 
  
   I wouldn't think this would be that difficult! Normally, I would include
   variables in a struct (when I'm using AJAX, whichis almost always) and
  view
   the variables when they're returned to the calling page. However, there
  are
   times, like right now, when I just want to have a look at allthe argument
   variables that a CFC is receiving and verify their accuracy. Isn't there
  an
   easy way to do this? I'm using CF 9. Thanks! Rick
  
  
 
  
 
 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355223
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: PCI-Compliance Ding for Non-Random CFID's

2013-04-01 Thread Rick Faircloth

Thanks for the info, Pete. That should satisfy the compliance company that 
ColdFusion'scombination of CFID and CF-Token are, indeed, truly randomand meets 
their requirements. Rick
  To: cf-talk@houseoffusion.com
 Subject: Re: PCI-Compliance Ding for Non-Random CFID's
 Date: Mon, 1 Apr 2013 11:34:55 -0400
 From: p...@foundeo.com
 
 
 On Fri, Mar 29, 2013 at 2:10 PM, Rick Faircloth 
 r...@whitestonemedia.comwrote:
 
 
  Thanks for the reply, Pete... If I remember all of the conversation
  correctly, when we came to the dingfor consecutive session variables, the
  scanning vendor rep did mention thefact that a CFToken was involved and
  that made a difference. I did look upthe information on this in the docs
  (CF9) and it did mention changing theCFToken to a long format (I didn't
  want to say UUID because, withoutlooking it up, I wasn't sure that's the
  way it was labeled).
 
 
 Yes it is labeled use UUID for CFTOKEN in ColdFusion administrator, but it
 is actually more than just a UUID in modern versions of ColdFusion, for
 example it might look like this:
 
 545fa4955f796cd4-AF350107-CF9E-E638-A240BBF644B48476
  ^ (Random)   ^ (UUID)
 
 Which contains a random value (which I believe is also generated using a
 secure random generator like the jsessionid) concatenated with a UUID.
 
 --
 Pete Freitag - Adobe Community Professional
 http://foundeo.com/ - ColdFusion Consulting  Products
 http://hackmycf.com - Is your ColdFusion Server Secure?
 http://www.youtube.com/watch?v=ubESB87vl5U - FuseGuard your CFML in 10
 minutes
 
 
 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355212
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


How can I view arguments in a CFC on-screen?

2013-04-01 Thread Rick Faircloth

I wouldn't think this would be that difficult! Normally, I would include 
variables in a struct (when I'm using AJAX, whichis almost always) and view the 
variables when they're returned to the calling page. However, there are times, 
like right now, when I just want to have a look at allthe argument variables 
that a CFC is receiving and verify their accuracy. Isn't there an easy way to 
do this? I'm using CF 9. Thanks! Rick  

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355213
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Has anyone dealing with PCI-Compliance seem this?

2013-04-01 Thread Rick Faircloth

I've been trying to deal with security scans and getting my serverup to 
PCI-Compliance standards. One ding that has been an issue from the start has 
involvedwhat the scan refers to as dced. The first support tech at the 
scanning company didn't know whatit was. I can't find out very much from 
searching, either. (I've foundthe acronym has a lot to do with certain state 
agencies, however!) Here's the text from the security scan: Title: possible 
vulnerability in HP dcedImpact: 
A remote attacker could execute arbitrary commands with root privileges.
 Resolution: Apply patch PHSS_29963 for 
HP-UX 11.00, PHSS_29964 for HP-UX 11.11, or PHSS_29966 for HP-UX 11.23. HP-UX 
patches are available from the [http://itrc.hp.com] HP Resource Center. Patch 
information for Tru64 users is available from 
[http://support.entegrity.com/private/patches/dce/ssrt4741.asp] Entegrity. 
Patch information for OpenVMS is available from 
[http://www.securityfocus.com/archive/1/368882] SSRT 4741.  This may have 
something to do with virtualization from what I've gathered.I'm on a Virtual 
Private Server, at this point. So, that would make some sense.There's no 
program or port referenced by the scanning results, either. Clues and advice 
anyone? Thanks! Rick  

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355214
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


PCI-Compliance Ding for Non-Random CFID's

2013-03-29 Thread Rick Faircloth

Hi, all... Trying to get my server to pass PCI-Compliance and I was dinged for 
the server(CF) using non-random session id's (CFID's). They found three 
consecutive CFID'sin use.  However, I noticed in the CF documentation that 
CF-Tokens are random.And I opted for the long-form CF-Tokens in the 
administrator. Is there a way to use random CFID's or is that what the random 
CF-Tokens arefor: to provide a pair of variables, that together satisfy 
randomness requirementsfor sessions? Thanks for any feedback! Rick  
  

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355196
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: PCI-Compliance Ding for Non-Random CFID's

2013-03-29 Thread Rick Faircloth

Thanks for the reply, Pete... If I remember all of the conversation correctly, 
when we came to the dingfor consecutive session variables, the scanning 
vendor rep did mention thefact that a CFToken was involved and that made a 
difference. I did look upthe information on this in the docs (CF9) and it did 
mention changing theCFToken to a long format (I didn't want to say UUID 
because, withoutlooking it up, I wasn't sure that's the way it was labeled). I 
have changed the CFToken to the long-format, so that should satisfy thevendor. 
I'm working with Security Metrics, the PCI-Compliance Vendorfor TD Bank. 
They've been very good about going over all the technicalitiesand offering 
suggestions and solutions to issues, such as this one.  Security Metrics has 
been good to work with so far and reasonably priced,so I thought I'd give them 
a shout-out. (btw, I own the company... no justkidding!) I have no connection 
to them at all. But thanks for the feedback, again, and just fyi, that's the 
only CF-relatedissue that came up at all in the compliance scan. :o) Rick
  To: cf-talk@houseoffusion.com
 Subject: Re: PCI-Compliance Ding for Non-Random CFID's
 Date: Fri, 29 Mar 2013 13:37:01 -0400
 From: p...@foundeo.com
 
 
 Most (if not all) PCI scanning vendors will remove it from your report if
 you explain that the session is based on BOTH the CFID and CFTOKEN values,
 not just one, as long as you have Use UUID for CFTOKEN enabled (which in
 CF9/10 is more than just a UUID).
 
 --
 Pete Freitag - Adobe Community Professional
 http://foundeo.com/ - ColdFusion Consulting  Products
 http://hackmycf.com - Is your ColdFusion Server Secure?
 http://www.youtube.com/watch?v=ubESB87vl5U - FuseGuard your CFML in 10
 minutes
 
 
 
 On Fri, Mar 29, 2013 at 11:49 AM, Rick Faircloth
 r...@whitestonemedia.comwrote:
 
 
  Hi, all... Trying to get my server to pass PCI-Compliance and I was dinged
  for the server(CF) using non-random session id's (CFID's). They found three
  consecutive CFID'sin use.  However, I noticed in the CF documentation that
  CF-Tokens are random.And I opted for the long-form CF-Tokens in the
  administrator. Is there a way to use random CFID's or is that what the
  random CF-Tokens arefor: to provide a pair of variables, that together
  satisfy randomness requirementsfor sessions? Thanks for any feedback! Rick
 
  
 
 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355204
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Sublime Text 2

2013-03-29 Thread Rick Faircloth

Hi, Dave... Have you tried going through Package Control to look fora CF 
package? It should show up there. Rick
  To: cf-talk@houseoffusion.com
 Subject: Sublime Text 2
 Date: Thu, 28 Mar 2013 10:47:30 -0500
 From: d...@northgoods.com
 
 
 I downloaded and installed Sublime Text 2 but I can't locate a CF package. 
 Does anyone have the link to this?
 
 Dave 
 
 
 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355206
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: PCI-Compliance Ding for Non-Random CFID's

2013-03-29 Thread Rick Faircloth

Thanks, Dennis! Rick
  To: cf-talk@houseoffusion.com
 Subject: RE: PCI-Compliance Ding for Non-Random CFID's
 Date: Fri, 29 Mar 2013 18:03:23 -0400
 From: denn...@uxbinternet.com
 
 
 Tell the PCI testing company that the session requires two tokens, CFID and
 CFTOKEN, and while one is consecutive the other is random.  They will place
 it in their testing as an exception.  We have to do this all the time with
 each new client sigh even when it is the same testing company.  We have
 never had any trouble or blowback on this issue once we tell them.
 
 
 Dennis Powers
 UXB Internet - A website Design and Hosting Company
 P.O. Box 6028, Wolcott, CT 06716 - T:203-879-2844
 W: http://www.uxbinternet.com
 W: http://www.ctbusinesslist.com
  

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355210
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CF running out of steam

2013-03-19 Thread Rick Faircloth

I could have saved them a TON of trouble by letting them
know that Flash wasn't going to make it the first time I had a
look at it.  I came from a video editing background and it was
very similar with the use of the timeline. And it was extremely
labor intensive, as is video production (especially at first when it was just an
animation generator). So much so that I knew no one was going to
pay enough money for the labor it required just to produce
something flashy :o) for their site. I WANTED to use it, but
just couldn't justify the cost of the software, the charges to a
client, nor the time it took me to create something that wouldn't
even run on all interfaces equally.

I just had the realization, long before Adobe about it, that it
was going to fail in the end. They should have put their time and
effort into CF...



-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: Tuesday, March 19, 2013 2:29 PM
To: cf-talk
Subject: Re: CF running out of steam


   what company in the business of selling stuff, isn't interested in 
   selling stuff?
 
  For instance a company who bought the company who baught Macromedia
  because they where intersted in former Macromedia products like Flash, but
  not really in other stuff like CF.

 Funny... look what product is dying fastest for that acquisition.

Perhaps there's a lesson to be learned there about how valuable
marketing really is. Macromedia and Adobe marketed the hell out of
Flash, and yet here we are.

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355100
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CF running out of steam

2013-03-19 Thread Rick Faircloth

I'll rejoin the fray tomorrow. I had softball practice
tonight and didn't have time to continue our enlightening discussion...

Oh, and Dave, I'll get to those tech winner and losers tomorrow.

:o)

Rick

-Original Message-
From: Raymond Camden [mailto:raymondcam...@gmail.com] 
Sent: Tuesday, March 19, 2013 9:33 PM
To: cf-talk
Subject: Re: CF running out of steam


On Tue, Mar 19, 2013 at 5:46 PM, Adam Cameron 
adamcameroncoldfus...@gmail.com wrote:



 My problem with what *you* say, Ray, is your assumptions about my
 motivations for saying what I did, and then continuing from there to make
 assumptions about what conclusions I draw from this. Which is a bit -
 uncharacteristically - rubbish of you. Especially as the conclusions you
 drew for me were pretty facile.


Eh? Well, in your further description below I think you just further
affirmed what I thought of your position, which I still disagree with! ;)



 That said, I think Flash was/is far more an enabler of crap than raw HTML
 is. This is perhaps borne-out as not simply being a vagary of my thoughts


It is only more an enabler because it can do more. For example, if browsers
did not support animated gifs, we wouldn't have them. But because they
have, they are 'enabled' them. Flash can do more, therefore has the power
to annoy more. HTML5 is the exact same.



 on the matter, but the almost ubiquity of people thinking what's produced
 in Flash is *shit*, and the variety of options available to get rid of it
 from out screens. Another consideration here is that even with all Flash
 blocked, I can readily use almost all websites, so this pretty much
 demonstrates what people are doing with Flash is not actually... well...
 useful. It's fluff around the edges.


Dude, if you don't think we won't see a giant crap load of fluff with just
pure HTML than you are - respectfully - crazy. Folks are just going to
change their delivery mechanism.



 People do crap with HTML and JS as well, and I guess this will be on the
 rise with the increased capabilities of both technologies (and browsers
 running them).  However I've never heard of there being a market for a
 mark-up blocker like there is for Flash.


Because you can't! Heck, at least with Flash you could block it if you
didn't like it. You can't block an animated HTML banner ad. Folks are going
to be *begging* for a return of the Flash banner ad probably. ;)



 It's the fault of the people producing the content rather than Flash
 itself, sure. I suspect this is because Flash came up in the designer
 community, and.. err... people doing design don't usually have much of a
 clue about UX (obviously there are exceptions, but they are *exceptions*),
 and accordingly we just get the designer's creativity declaring its
 presence unnecessarily on the screen, and at odds with what the user
 actually wants to achieve on the web page / site.


And all that's going to change is the delivery mechanism. You've got a new
way to be forced fed crap now. Awesome. ;)


 Fortunately a lot of people seem to be understanding UX a bit better these
 days, so I think once Flash goes the way of the dodo, the experience it
 gave us will probably largely disappear too.  Good riddance to bad rubbish,
 I say.


I will say that UX, in general, is more thought of now then it was then. I
wouldn't put the blame on Flash for that. I just think as a whole, we (the
web community) are more considerate of UX now than we were back in 1990.
Just like the rise of mobile has made us more considerate of mobile UX,
performance, etc.


There. That's perhaps better than letting you articulate my position the
 basis thereof, yes?


Still wrong. :p




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355113
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CF running out of steam

2013-03-18 Thread Rick Faircloth

I've been using CF for a long time and will be using it until I retire,
because I build things people use and they don't particularly care what
the technology is behind those things they use.

HOWEVER, that is no excuse for Adobe being SO VERY SLACK at promoting their
product, providing tutorials for new users to use to get to know CF,
providing conferences, etc. Yes, CF *may* still be profitable for Adobe,
but it won't take too many more years before that will change as people like
myself decide to migrate to Blue Dragon and cut off yet one more customer
from Adobe.  Too many of those decisions and even hosts will decide CF is not
worth providing.

I like CF and hope to retire before I have to learn anything else. (I'd rather
play softball with my extra time than learn PHP)

But, as long as Adobe keeps CF on the market, they should support it like
it's the greatest thing since sliced bread.  The only businesses I know that
have a product on the market, yet don't market in every way and to the fullest
extent possible, are those who don't understand marketing in today's media,
or those who are just milking the cow without feeding it to get whatever money
they can for the milk with no more investment in maintaining a healthy thriving
cow. They're just willing to get what they can on their way out of the business
and let the cow survive on its own as long as it can.

I'm not sure, after a decade of watching Adobe, if they're just lazy, ignorant,
or going out of business with CF. Any of the above scenarios fits their 
long-time
approach to marketing CF.

And I've never heard one rational defense of Adobe and its handling of CF that
excuses Adobe lack of attention to CF, from documentation to marketing.

(And understand, that I'm a freelancer, and my business success has never once
depended on how well Adobe has marketed their product, so I'm like an outsider
looking in at those dependent upon Adobe making a name for CF so those of you
who work for others can get hired based on the reputation of CF, which ONLY
Adobe can create...)

Rick


-Original Message-
From: Paul Hastings [mailto:p...@sustainablegis.com] 
Sent: Monday, March 18, 2013 12:47 AM
To: cf-talk
Subject: Re: CF running out of steam


On 3/18/2013 10:05 AM, Jenny Gavin-Wear wrote:

 I take all of your points on board, but it is still frustrating to be trying
 to sell a product that the manufacturer does not seem particularly
 interested in selling itself - let alone the business model for the product
 being wrong in the first place.

at face value, kind of an absurd statement. what company in the business of 
selling stuff, isn't interested in selling stuff?

i *know* the cf team is trying  cf is still profitable to adobe. but when its 
not they'll likely drop it  i don't find that very worrying. adobe has already 
dropped what i thought was a pretty good product (flex). but they dropped it 
in a responsible fashion (into apache's lap, where its ticking along quite 
nicely--the commit stream  people coming out of the woodwork to donate stuff 
to 
it makes me feel all warm  fuzzy).

people have been bemoaning cf's demise for a decade  yet its still here. if 
its 
around for another decade w/adobe fine, if not, that's fine too.





~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355068
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CF running out of steam

2013-03-18 Thread Rick Faircloth

Oh, and Paul, if what I've witnessed of Adobe's efforts at building a rep
for Adobe since they bought it from Macromedia is trying, then they will
ultimate be a losing team.

If the softball players that I coach put so little effort into they're work
at becoming more successful on the field, they'd be kicked off the team for
lack of commitment to success. Just as I'd already have fired the Adobe
marketing team. No excuses...

Rick

-Original Message-
From: Paul Hastings [mailto:p...@sustainablegis.com] 
Sent: Monday, March 18, 2013 12:47 AM
To: cf-talk
Subject: Re: CF running out of steam


On 3/18/2013 10:05 AM, Jenny Gavin-Wear wrote:

 I take all of your points on board, but it is still frustrating to be trying
 to sell a product that the manufacturer does not seem particularly
 interested in selling itself - let alone the business model for the product
 being wrong in the first place.

at face value, kind of an absurd statement. what company in the business of 
selling stuff, isn't interested in selling stuff?

i *know* the cf team is trying  cf is still profitable to adobe. but when its 
not they'll likely drop it  i don't find that very worrying. adobe has already 
dropped what i thought was a pretty good product (flex). but they dropped it 
in a responsible fashion (into apache's lap, where its ticking along quite 
nicely--the commit stream  people coming out of the woodwork to donate stuff 
to 
it makes me feel all warm  fuzzy).

people have been bemoaning cf's demise for a decade  yet its still here. if 
its 
around for another decade w/adobe fine, if not, that's fine too.





~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355069
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Curmudgeon painted in a corner

2013-03-18 Thread Rick Faircloth

I've switched to Sublime Text 2. It's been a fine editor.
I'd don't like CF assistance with writing code, however it does
support syntax highlighting. It's lightweight and I can keep
3, 4, or 5 editors open with various projects at one time with no problem.

I work primarily in HTML, CF, CSS3, and jQuery so I LOVE the fact
that it lets me have choices about layout of parts of the editor.
I use the Grid-4 layout all the time. It's nice to have HTML,
CF, jQuery, and CSS3 all on their own screen if I want to. I use
dual monitors, so they makes it particularly useful. And it's only
$70. You can use it for free, you just have to put up with the 
Please buy a license popups every 10 saves or so, but it's well
worth the $70 and has a LOT of people writing add-ons for it that
makes it easy to configure to work in a way that benefits your
workflow the most.

Rick

-Original Message-
From: Dave Long [mailto:d...@northgoods.com] 
Sent: Sunday, March 17, 2013 6:06 PM
To: cf-talk
Subject: Curmudgeon painted in a corner


I've been using Homesite 5 on my Compaq laptop since a year or two before
Y2K was scary. Now the old hoss is reluctant to boot (takes about 30 minutes
or more) so I'm kind of forced to get a new machine. Problem: new ones all
come with Windows 8 so it looks like I'll be buying (unless I can find
freebies) some new development tools. 
 
My server host is moving to Railo to avoid doubling my fees, so what do you
folks recommend for CF development environment?
 
Dave




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355070
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Curmudgeon painted in a corner

2013-03-18 Thread Rick Faircloth

Overkill, unless you need the ton of features that are
built-in. I tried it. It's fine for Matt, I'm sure, but
is overkill for me. And it's $199, minimum.


-Original Message-
From: Matt Quackenbush [mailto:quackfu...@gmail.com] 
Sent: Sunday, March 17, 2013 6:10 PM
To: cf-talk
Subject: Re: Curmudgeon painted in a corner


Intellij IDEA. http://www.jetbrains.com/idea/



On Sun, Mar 17, 2013 at 5:05 PM, Dave Long d...@northgoods.com wrote:


 I've been using Homesite 5 on my Compaq laptop since a year or two before
 Y2K was scary. Now the old hoss is reluctant to boot (takes about 30
 minutes
 or more) so I'm kind of forced to get a new machine. Problem: new ones all
 come with Windows 8 so it looks like I'll be buying (unless I can find
 freebies) some new development tools.

 My server host is moving to Railo to avoid doubling my fees, so what do you
 folks recommend for CF development environment?

 Dave


 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355073
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Curmudgeon painted in a corner

2013-03-18 Thread Rick Faircloth

+1


-Original Message-
From: Cameron Childress [mailto:camer...@gmail.com] 
Sent: Sunday, March 17, 2013 6:29 PM
To: cf-talk
Subject: Re: Curmudgeon painted in a corner


On Sun, Mar 17, 2013 at 6:05 PM, Dave Long d...@northgoods.com wrote:

 I've been using Homesite 5 on my Compaq laptop since
 [...]
 what do you folks recommend for CF development environment?


Coming from Homesite, you are likely to enjoy Sublime Text 2.

Instal Package Control and then install the ColdFusion package. Decent
syntax highlighting and a lot fo goot packages to choose from. It's also
very lightweight compared to memory beasts built on top of Eclipse like
CFBuilder.

-Cameron

-- 
Cameron Childress
--
p:   678.637.5072
im: cameroncf
facebook http://www.facebook.com/cameroncf |
twitterhttp://twitter.com/cameronc |
google+ https://profiles.google.com/u/0/117829379451708140985




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355074
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Curmudgeon painted in a corner

2013-03-18 Thread Rick Faircloth

Ignore the first 4 below and just skip to Sublime Text 2...

-Original Message-
From: Russ Michaels [mailto:r...@michaels.me.uk] 
Sent: Sunday, March 17, 2013 6:40 PM
To: cf-talk
Subject: Re: Curmudgeon painted in a corner


Dreamweaver
CFBuilder
CFEclipse
NotePad++ (there is a CFML plugin)
Sublime Text 2



On Sun, Mar 17, 2013 at 10:05 PM, Dave Long d...@northgoods.com wrote:


 I've been using Homesite 5 on my Compaq laptop since a year or two before
 Y2K was scary. Now the old hoss is reluctant to boot (takes about 30
 minutes
 or more) so I'm kind of forced to get a new machine. Problem: new ones all
 come with Windows 8 so it looks like I'll be buying (unless I can find
 freebies) some new development tools.

 My server host is moving to Railo to avoid doubling my fees, so what do you
 folks recommend for CF development environment?

 Dave


 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355075
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CF running out of steam

2013-03-18 Thread Rick Faircloth

You nailed the reason for the demise of those products on the head...
you have not even heard of most of them... Speaks to poor marketing.

-Original Message-
From: Russ Michaels [mailto:r...@michaels.me.uk] 
Sent: Monday, March 18, 2013 10:19 AM
To: cf-talk
Subject: Re: CF running out of steam


FWIW, there have been several competitors to CFML that have come out over
the years, but they never really became popular, I bet you have not even
heard of most of them, they certainly never get mentioned anywhere and most
of them have already died, so it shows that CFML isn't doing too bad when
you compare it to those.

A couple that come to mind are
iHTML
Lasso




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355078
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CF running out of steam

2013-03-18 Thread Rick Faircloth

Funny... look what product is dying fastest for that acquisition.

-Original Message-
From: Claude Schnéegans schneeg...@internetique.com 
[mailto:=?ISO-8859-1?Q?Claude_Schn=E9egans
schneegans@interneti=71?= =?ISO-8859-1?Q?ue.com=3E?=] 
Sent: Monday, March 18, 2013 10:30 AM
To: cf-talk
Subject: Re: CF running out of steam


 what company in the business of
selling stuff, isn't interested in selling stuff?

For instance a company who bought the company who baught Macromedia
because they where intersted in former Macromedia products like Flash, but not 
really in other stuff like CF.




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355079
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CF running out of steam

2013-03-17 Thread Rick Faircloth

+1

-Original Message-
From: Jenny Gavin-Wear [mailto:jenn...@fasttrackonline.co.uk] 
Sent: Sunday, March 17, 2013 9:06 AM
To: cf-talk
Subject: RE: CF running out of steam


So CF is a great for getting into development for newbies, but expect to
pay an enterprise level price.  And if you are an enterprise, then you'll
probably using something else anyway because you won't really need a
newbie product.

I recognise I'm not at the level on CF that many of you are here, but I have
been able to develop quite nice eCommerce and CMS applications.  What I
don't like so much is that all I need, pretty much, is about 50% of what CF
can do, having bought into a get started easily product, yet I'm still
stuffed with enterprise level prices.

IMO, CF has failed to identify where it actually sits in the market and to
offer a range of functionalities and price tag that match.

-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: 15 March 2013 14:27
To: cf-talk
Subject: Re: CF running out of steam


 programming. CF does what you need with server-side programming. But 
 server-side application development tools are basically a commodity 
 at this point. You can do anything with anything. There's nothing I 
 can

 not quite. make sure you're sitting down  not drinking anything, then 
 check the price of an arcGIS server license (inside the US, prices 
 outside the US might make your head explode). plus you need at least 
 one desktop seat (about the same cost as enterprise cf) just to manage
your arcGIS servers.

 in large enterprise projects that make use of that kind of server 
 platform, cf's relatively cheap  a very nice fit especially where you 
 have to dip into java libs to get stuff done, run off reports, etc.

Yeah, my comparison was aimed at general-purpose server-side programming
environments, not stuff like arcGIS. And CF is definitely cheap for
enterprise software - and that might actually be a problem in the
enterprise, as people in the enterprise often equate cost with value.
(There's no other explanation I have for the continued success of Oracle.)

If you compare CF to ASP.NET, or to common J2EE environments, or to PHP, CF
is easier to use, but not so much easier that everyone's going to switch to
it from those other things.

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule,
and provides the highest caliber vendor-authorized instruction at our
training centers, online, or onsite.





~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355045
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CF running out of steam

2013-03-17 Thread Rick Faircloth

+1

Adobe Marketing is the failure... I see almost nothing on that front.
I receive email newsletters constantly from Microsoft Evangelists
who tout the conferences, tutorials, and benefits of Microsoft's
offering. I rarely (never these days) receive ANYTHING from Adobe
that discusses any of the above from an Adobe perspective. Adobe has
content and human resources to be far more of  push organization
that it is.  They seem to miss the fundamental perspective that I 
preach to my clients all the time. Push your benefits and products to
current and prospective clients. Don't sit back and wait for them to
come to you. There are *ALWAYS* others waiting to fill that void that's
created and take the business which could be yours if they simply are
significantly aware of what you offer and its benefits.

Adobe fails at the most fundamental marketing strategy:
Developing Top-of-mind awareness.

And let's face it...

1) When Microsoft talks, people listen.
2) When Adobe talks, people listen.
3) When developers talk, people don't listen.

And the fact is...

Microsoft talks...
Microsoft developers don't have to.

Adobe doesn't talk...
Adobe developers have to do the talking.
See point three above.

Rick



-Original Message-
From: Jenny Gavin-Wear [mailto:jenn...@fasttrackonline.co.uk] 
Sent: Sunday, March 17, 2013 9:12 AM
To: cf-talk
Subject: RE: CF running out of steam


Hi Ray,

I can see that to a developer that Adobe page looks incredibly sexy.

The problem being that it is not always (usually not?) the developers who
hold the purse strings.

Many times in this list over the last few years I have seen threads from
developers asking for help in selling CF to customers or their management.
Why the hell isn't Adobe doing this for them already??

Jenny

-Original Message-
From: Raymond Camden [mailto:raymondcam...@gmail.com] 
Sent: 13 March 2013 21:58
To: cf-talk
Subject: Re: CF running out of steam


Oh I think the home page is great.

http://www.adobe.com/products/coldfusion-family.html

If you meant the _Adobe_ home page, I think it is great too, but I'm
probably biased. ;) I can't see many coders going to adobe.com looking for
random development languages. I think the audience is totally different.





On Wed, Mar 13, 2013 at 4:36 PM,  wrote:


  Maybe they would just Google it.

 Google is a good tool but not an excuse for having a poor home page.


 





~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355046
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Why is this happening??????

2013-03-14 Thread Rick Faircloth

I'm not aware of any jsStringFormat() at work and
no global script protection, either.


-Original Message-
From: Bobby [mailto:bo...@acoderslife.com] 
Sent: Thursday, March 14, 2013 10:00 AM
To: cf-talk
Subject: Re: Why is this happening??


I guess you had no luck finding an instance of jsStringFormat().

Does the value ever hit a scope covered by global script protection before
it gets set to the app scope?

You could easily rule it out by making sure it is off or turning it off
long enough to test.



On 3/14/13 12:25 AM, Kym Kovan dev-li...@mbcomms.net.au wrote:


Rick,

how are you returning this structure? You haven't got some funny format
turning on as the return from the CFC function by accident have you?

Kym

On 14/03/2013 15:49, Rick Faircloth wrote:

 The application.temp_images_directory is being set in application.cfc:

 cfset application.temp_images_directory = 'e:\tempImages' /

 The last part of the example below, the
#newImageFileName#.#originalImageExt#
 is being set in news.cfc, after an image has been uploaded. It's done
this
 way to be able to manipulate the filename part before the extension,
such as:

 #newImageFileName#_400.#originalImageExt#

 I'm checking it right now by setting struct variables
 in a cfc such as,

 cfset saveNewsItemStruct.APPTEMP =
 
'#application.temp_images_directory#\#newImageFileName#_400.#originalImag
eExt#' /

 then, just returning the struct to the calling page:

 cfreturn saveNewsItemStruct /

 The saveNewsItemStruct.APPTEMP would end up looking like:

 e:\\temp_images\\duck_400.jpg

 And when I tried Dave's solution of using forward slashes, /,
 instead of back slashes, I'd end up with:

 e:\/temp_images\/duck_400.jpg

 I'm not sure what is inserting the backslashes. I don't believe
 I've ever run into this before.

 Rick



 -Original Message-
 From: Jerry Milo Johnson [mailto:jmi...@gmail.com]
 Sent: Wednesday, March 13, 2013 10:18 PM
 To: cf-talk
 Subject: Re: Why is this happening??


 how are you displaying it when the \ are appearing doubled? (something
like
 a js alert, or a cfoutput to an html page, or some other mechanism?)


 On Wed, Mar 13, 2013 at 10:08 PM, Rick Faircloth
 r...@whitestonemedia.comwrote:


 If I use this on a test page:

 cfoutput#application.temp_images_directory#/cfoutput

 it comes out fine: e:\inetpub\webroot\tempImages

 I just don't see why (or how) it could be happening.

 Thanks for the feedback!

 Rick

 -Original Message-
 From: Jerry Milo Johnson [mailto:jmi...@gmail.com]
 Sent: Wednesday, March 13, 2013 9:34 PM
 To: cf-talk
 Subject: Re: Why is this happening??


 what happens if you display the value INSIDE the cfc before you return
it?
 what happens if you set the same variable OUTSIDE the cfc and display
it?


 On Wed, Mar 13, 2013 at 9:23 PM, Rick Faircloth
r...@whitestonemedia.com
 wrote:


 This has been driving me crazy for two days and I GIVE UP! AHH!


 If I create this variable in application.cfc:

 cfset application.temp_images_directory =
 'e:\inetpub\webroot\tempImages'
 /


 and use it in news.cfc like this:

 cfset saveNewsItemStruct = structNew()

 cfset saveNewsItemStruct.ATID =
'#application.temp_images_directory#' /


 why in the WORLD would I get this:

 e:\\inetpub\\webroot\\tempImages


 when I return the struct and display saveNewsItemsStruct.ATID?

 Why are the path lines doubling?


 I don't think I've seen this in 15 years of CF programming!

 (I'm getting too old for all this aggravation...)

 Thanks for any help!

 Rick











 





~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355020
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Why is this happening??????

2013-03-13 Thread Rick Faircloth

This has been driving me crazy for two days and I GIVE UP! AHH!


If I create this variable in application.cfc:

cfset application.temp_images_directory = 'e:\inetpub\webroot\tempImages' /


and use it in news.cfc like this:

cfset saveNewsItemStruct = structNew()

cfset saveNewsItemStruct.ATID = '#application.temp_images_directory#' /


why in the WORLD would I get this:

e:\\inetpub\\webroot\\tempImages


when I return the struct and display saveNewsItemsStruct.ATID?

Why are the path lines doubling?


I don't think I've seen this in 15 years of CF programming!

(I'm getting too old for all this aggravation...)

Thanks for any help!

Rick



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354998
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Why is this happening??????

2013-03-13 Thread Rick Faircloth

If I use this on a test page:

cfoutput#application.temp_images_directory#/cfoutput

it comes out fine: e:\inetpub\webroot\tempImages

I just don't see why (or how) it could be happening.

Thanks for the feedback!

Rick

-Original Message-
From: Jerry Milo Johnson [mailto:jmi...@gmail.com] 
Sent: Wednesday, March 13, 2013 9:34 PM
To: cf-talk
Subject: Re: Why is this happening??


what happens if you display the value INSIDE the cfc before you return it?
what happens if you set the same variable OUTSIDE the cfc and display it?


On Wed, Mar 13, 2013 at 9:23 PM, Rick Faircloth r...@whitestonemedia.comwrote:


 This has been driving me crazy for two days and I GIVE UP! AHH!


 If I create this variable in application.cfc:

 cfset application.temp_images_directory = 'e:\inetpub\webroot\tempImages'
 /


 and use it in news.cfc like this:

 cfset saveNewsItemStruct = structNew()

 cfset saveNewsItemStruct.ATID = '#application.temp_images_directory#' /


 why in the WORLD would I get this:

 e:\\inetpub\\webroot\\tempImages


 when I return the struct and display saveNewsItemsStruct.ATID?

 Why are the path lines doubling?


 I don't think I've seen this in 15 years of CF programming!

 (I'm getting too old for all this aggravation...)

 Thanks for any help!

 Rick



 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355001
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Why is this happening??????

2013-03-13 Thread Rick Faircloth

That gives me an idea about what might be going on.
I'll check into that tomorrow and let you know what
I find.

Thanks!

Rick

-Original Message-
From: Bobby [mailto:bo...@acoderslife.com] 
Sent: Wednesday, March 13, 2013 10:57 PM
To: cf-talk
Subject: Re: Why is this happening??


That is the equivalent of what you would see if you ran that variable
through jsStringFormat() somewhere.

I'd run a quick search for that. I'd start in the app.cfc with that search
to make sure you don't have a routine somewhere that cleans' your
variables for you.


On 3/13/13 8:23 PM, Rick Faircloth r...@whitestonemedia.com wrote:


This has been driving me crazy for two days and I GIVE UP! AHH!


If I create this variable in application.cfc:

cfset application.temp_images_directory =
'e:\inetpub\webroot\tempImages' /


and use it in news.cfc like this:

cfset saveNewsItemStruct = structNew()

cfset saveNewsItemStruct.ATID = '#application.temp_images_directory#' /


why in the WORLD would I get this:

e:\\inetpub\\webroot\\tempImages


when I return the struct and display saveNewsItemsStruct.ATID?

Why are the path lines doubling?


I don't think I've seen this in 15 years of CF programming!

(I'm getting too old for all this aggravation...)

Thanks for any help!

Rick







~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355003
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Why is this happening??????

2013-03-13 Thread Rick Faircloth

The application.temp_images_directory is being set in application.cfc:

cfset application.temp_images_directory = 'e:\tempImages' /

The last part of the example below, the #newImageFileName#.#originalImageExt#
is being set in news.cfc, after an image has been uploaded. It's done this
way to be able to manipulate the filename part before the extension, such as:

#newImageFileName#_400.#originalImageExt#

I'm checking it right now by setting struct variables
in a cfc such as,

cfset saveNewsItemStruct.APPTEMP =
'#application.temp_images_directory#\#newImageFileName#_400.#originalImageExt#' 
/

then, just returning the struct to the calling page:

cfreturn saveNewsItemStruct /

The saveNewsItemStruct.APPTEMP would end up looking like:

e:\\temp_images\\duck_400.jpg

And when I tried Dave's solution of using forward slashes, /,
instead of back slashes, I'd end up with:

e:\/temp_images\/duck_400.jpg

I'm not sure what is inserting the backslashes. I don't believe
I've ever run into this before.

Rick



-Original Message-
From: Jerry Milo Johnson [mailto:jmi...@gmail.com] 
Sent: Wednesday, March 13, 2013 10:18 PM
To: cf-talk
Subject: Re: Why is this happening??


how are you displaying it when the \ are appearing doubled? (something like
a js alert, or a cfoutput to an html page, or some other mechanism?)


On Wed, Mar 13, 2013 at 10:08 PM, Rick Faircloth
r...@whitestonemedia.comwrote:


 If I use this on a test page:

 cfoutput#application.temp_images_directory#/cfoutput

 it comes out fine: e:\inetpub\webroot\tempImages

 I just don't see why (or how) it could be happening.

 Thanks for the feedback!

 Rick

 -Original Message-
 From: Jerry Milo Johnson [mailto:jmi...@gmail.com]
 Sent: Wednesday, March 13, 2013 9:34 PM
 To: cf-talk
 Subject: Re: Why is this happening??


 what happens if you display the value INSIDE the cfc before you return it?
 what happens if you set the same variable OUTSIDE the cfc and display it?


 On Wed, Mar 13, 2013 at 9:23 PM, Rick Faircloth r...@whitestonemedia.com
 wrote:

 
  This has been driving me crazy for two days and I GIVE UP! AHH!
 
 
  If I create this variable in application.cfc:
 
  cfset application.temp_images_directory =
 'e:\inetpub\webroot\tempImages'
  /
 
 
  and use it in news.cfc like this:
 
  cfset saveNewsItemStruct = structNew()
 
  cfset saveNewsItemStruct.ATID = '#application.temp_images_directory#' /
 
 
  why in the WORLD would I get this:
 
  e:\\inetpub\\webroot\\tempImages
 
 
  when I return the struct and display saveNewsItemsStruct.ATID?
 
  Why are the path lines doubling?
 
 
  I don't think I've seen this in 15 years of CF programming!
 
  (I'm getting too old for all this aggravation...)
 
  Thanks for any help!
 
  Rick
 
 
 
 



 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355008
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Why is this happening??????

2013-03-13 Thread Rick Faircloth

Thanks for the tip, Dave, but when I set up the application
variables using forward slashes, as in:

cfset application.temp_images_directory = 'e:/inetpub/webroot/tempImages' /

When I use that variable with a variable for a file in the news.cfc, like this:

#application.temp_images_directory#.#newFileName#.#originalFileExt#

I'd end up with:

e:\/inetpub\/webroot\/tempImages\/duck.jpg

instead of the usual:

e:\\inetpub\\webroot\\tempImages\\duck.jpg

if I used forward slashes when the path variable is created.

Just doesn't make sense. Can't figure out where the extra \ is being inserted.




 If I create this variable in application.cfc:
 cfset application.temp_images_directory = 'e:\inetpub\webroot\tempImages' /

 and use it in news.cfc like this:
 cfset saveNewsItemStruct = structNew()
 cfset saveNewsItemStruct.ATID = '#application.temp_images_directory#' /

 why in the WORLD would I get this:
 e:\\inetpub\\webroot\\tempImages

 when I return the struct and display saveNewsItemsStruct.ATID?

 Why are the path lines doubling?

 I don't think I've seen this in 15 years of CF programming!
 (I'm getting too old for all this aggravation...)

I don't know what's causing this specific problem, but you can work
around it pretty easily by using forward slashes instead of
backslashes. Forward slashes work fine with file paths on Windows,
when used from CF.

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355009
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Anyone see anything wrong with the syntax of the query?

2013-03-05 Thread Rick Faircloth

cfquery name = qGetAllPropertiesAndOpenHouses 
datasource=#arguments.real_estate_dsn#

   select  substring_index(p.mls_number, '_', 1) as p.mls_number,
   p.street_number, p.street_name, p.city, p.state,
   oh.mls_number, oh.date, oh.start_time, oh.end_time, oh.host_name

   fromproperties p

   left join   fortstewart.open_houses oh
   on  substring_index(p.mls_number, '_', 1) = oh.mls_number

   where   p.listing_office_mls_id = '#arguments.listing_office_mls_id#'
   order byp.street_name, p.street_number

/cfquery

I keep getting a CF error stating I have a syntax error on this line:

wherep.listing_office_mls_id = '#arguments.listing_office_mls_id#'


Anything?

Thanks!

Rick



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354817
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Anyone see anything wrong with the syntax of the query?

2013-03-05 Thread Rick Faircloth

Thanks for the feedback, John.

I'm not sure what was wrong with that query.

The line throwing the error worked when I had the queries
separated, before I tried a left join.

Separating them again worked after I changed this line:

where   substring_index(p.mls_number, '_', 1) = oh.mls_number

to this:

where   oh.mls_number = substring_index('#qGetAllBrokerProperties.mls_number#', 
'_', 1)

Running two queries, I was looping qGetAllBrokerProperties
and then running qGetAllOpenHouses inside that loop.

Results are correct now.

Thanks, again!

Rick



-Original Message-
From: John M Bliss [mailto:bliss.j...@gmail.com] 
Sent: Tuesday, March 05, 2013 11:56 AM
To: cf-talk
Subject: Re: Anyone see anything wrong with the syntax of the query?


Perhaps it's the contents on that variable? Try putting it into a
cfqueryparam.


On Tue, Mar 5, 2013 at 10:47 AM, Rick Faircloth r...@whitestonemedia.comwrote:


 cfquery name = qGetAllPropertiesAndOpenHouses
 datasource=#arguments.real_estate_dsn#

select  substring_index(p.mls_number, '_', 1) as p.mls_number,
p.street_number, p.street_name, p.city, p.state,
oh.mls_number, oh.date, oh.start_time, oh.end_time,
 oh.host_name

fromproperties p

left join   fortstewart.open_houses oh
on  substring_index(p.mls_number, '_', 1) = oh.mls_number

where   p.listing_office_mls_id =
 '#arguments.listing_office_mls_id#'
order byp.street_name, p.street_number

 /cfquery

 I keep getting a CF error stating I have a syntax error on this line:

 wherep.listing_office_mls_id =
 '#arguments.listing_office_mls_id#'


 Anything?

 Thanks!

 Rick



 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354820
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Anyone see anything wrong with the syntax of the query?

2013-03-05 Thread Rick Faircloth

Thanks for the tips and feedback, everyone!

Rick

-Original Message-
From: Byron Mann [mailto:byronos...@gmail.com] 
Sent: Tuesday, March 05, 2013 2:05 PM
To: cf-talk
Subject: Re: Anyone see anything wrong with the syntax of the query?


Not concerned with the sql syntax as much as I am about not using
cfqueryparam.

Please please please take the time to convert every query you have to use
that.

Based on your cfarguments and db permissions for your dsn, a bad bad user
might be able to delete everything from your database.

Byron Mann
Lead Engineer  Architect
HostMySite.com
On Mar 5, 2013 11:48 AM, Rick Faircloth r...@whitestonemedia.com wrote:


 cfquery name = qGetAllPropertiesAndOpenHouses
 datasource=#arguments.real_estate_dsn#

select  substring_index(p.mls_number, '_', 1) as p.mls_number,
p.street_number, p.street_name, p.city, p.state,
oh.mls_number, oh.date, oh.start_time, oh.end_time,
 oh.host_name

fromproperties p

left join   fortstewart.open_houses oh
on  substring_index(p.mls_number, '_', 1) = oh.mls_number

where   p.listing_office_mls_id =
 '#arguments.listing_office_mls_id#'
order byp.street_name, p.street_number

 /cfquery

 I keep getting a CF error stating I have a syntax error on this line:

 wherep.listing_office_mls_id =
 '#arguments.listing_office_mls_id#'


 Anything?

 Thanks!

 Rick



 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354834
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Problem with Hackers on Donation form through Authorize.net

2013-02-16 Thread Rick Faircloth

What would be an appropriate length of time for a session variable
for a hacker who's doing what you described:

If they read in the form page and then submit it using a script for 
many days without re-reading the original form it will appear to the 
server that they took days to fill.

Would the same hold true for session session variables?


-Original Message-
From: Al Musella, DPM [mailto:muse...@virtualtrials.com] 
Sent: Friday, February 15, 2013 11:18 PM
To: cf-talk
Subject: RE: Problem with Hackers on Donation form through Authorize.net


If they read in the form page and then submit it using a script for 
many days without re-reading the original form, it will appear to the 
server that they took days to fill.  So testing for more than a few 
hours should be good...

sessions might work but they should expire quickly... then if the 
session variable is not present you know they took too long.


At 10:04 PM 2/15/2013, you wrote:
You mean, by staying on the page so long that it's an indication
that he's hacking the form or the cfc method that does the processing
instead of doing a normal form submit like typical user would?

And what if the hacker has cookies disabled? And are you suggesting that
a session variable wouldn't be as good as a cookie?

Thanks for the feedback...

Rick




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354554
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Problem with Hackers on Donation form through Authorize.net

2013-02-15 Thread Rick Faircloth

 You have to be careful not to interfere with normal donations.
 When I fill out forms using chrome, chrome fills in my name, address 
 and phone number.  It might take me only 15 seconds to fill out my 
 donation form..

Yes, I've thought about that. There's some sections of the form that
are only shown if a user answers question a certain way, so that does
take a little longer, even with autofill.

I had a few hack attempts today, and some of them were submitted faster
than the Javascript time limit imposed, so the hacker must have JS turned off.

A few other attempts were stopped by the captcha, so there must be a bot
involved in some attempts, as well.

 You can determine if he bypasses your form by setting a cookie on the 
 form page with the datestamp encrypted... and check it on the 
 processing page.  you can tell  how much time from form page load to 
 submit. If it is more than about an hour, he probably didn't fill out 
 the form and submit it as you would expect.

You mean, by staying on the page so long that it's an indication
that he's hacking the form or the cfc method that does the processing
instead of doing a normal form submit like typical user would?

And what if the hacker has cookies disabled? And are you suggesting that
a session variable wouldn't be as good as a cookie?
 
Thanks for the feedback...

Rick


-Original Message-
From: Al Musella, DPM [mailto:muse...@virtualtrials.com] 
Sent: Friday, February 15, 2013 7:21 PM
To: cf-talk
Subject: RE: Problem with Hackers on Donation form through Authorize.net


You have to be careful not to interfere with normal donations.
When I fill out forms using chrome, chrome fills in my name, address 
and phone number.  It might take me only 15 seconds to fill out my 
donation form..

You can determine if he bypasses your form by setting a cookie on the 
form page with the datestamp encrypted... and check it on the 
processing page.  you can tell  how much time from form page load to 
submit.If it is more than about an hour, he probably didn't fill out 
the form and submit it as you would expect.




The hacking has slowed down some; there's only been three or four attempts
in the last couple of days. Nothing I've done, since it's apparently
a human hacker, and the only thing I'm using now is a CF-generated captcha
set to medium. So, that's not stopping the hacker. Perhaps the hacker has
just moved on to another target for awhile.

When (not if...) it starts up again, I'm going to try the javascript timing
function, timing when a form element is first clicked and making sure it takes
at least 2 minutes until the form is submitted, or I'll fail the transaction.

None of the hacker's attempts have taken more than about 1 min 15 sec, and
most are about 15-30 seconds, so, hopefully, that will be just enough of an
irritant to run the hacker off.

If the hacker is bypassing my form, however, which depends on javascript to
function, and is attacking my CFC which submits the form when all CF 
validation
is passed via CFHTTP, I wonder if the hacker can still submit the form with
javascript turned off? How would I go about determining just what the hacker's
process is?

And if the hacker is disabled javascript, I guess I can use a session variable
in CF to check the time for the start and end of form input. But if, 
he's (or she's)
attacking the CFC method directly, would the form timing even be relevant?

I wish I could send enough of an electric shock through hackers' keyboards
to knock them out for an hour...maybe someday. I can only hope!


-Original Message-
From: UXB [mailto:denn...@uxbinternet.com]
Sent: Wednesday, February 13, 2013 9:23 PM
To: cf-talk
Subject: RE: Problem with Hackers on Donation form through Authorize.net


  Part of the verification in the processing can be reliant upon something
  executing in JavaScript and being passed in with the form submission.

While I do not disagree with your statements anything that is part of the
form data that can be generated by JavaScript can be submitted without it
by, as you said, capturing a real form submission and then simulating it.
The final protection has to be server side because you cannot rely on the
data sent by the client.


  The idea with these kinds of protections is to make it sufficiently
inconvenient
  for an attacker to go to the trouble and move on to the next guy who is
easier to exploit.

  Abuse can be a hard problem to solve.

Very!  It is almost always proportional to the potential gain of the abuse.
In Rick's case there is a fairly high financial gain to be had by the
verification of credit card numbers.

Like you we had a donation page for a client and they too were getting a
large number of abusive submissions until we but it behind a signup/login
page that required a valid email address and a easy to read captcha.  In
that case it solved the issue and they had no more problems but then they
were clearing the CC numbers manually so there was always human 

RE: Problem with Hackers on Donation form through Authorize.net

2013-02-13 Thread Rick Faircloth

Thanks for the feedback, Justin...

-Original Message-
From: Justin Scott [mailto:leviat...@darktech.org] 
Sent: Tuesday, February 12, 2013 6:01 PM
To: cf-talk
Subject: Re: Problem with Hackers on Donation form through Authorize.net


 Forget the form page the bots/humans are not even seeing it they are
 attacking your processing cfc directly.  Your protection has to be server
 side since any JavaScript on the form page is ignored. They are
 submitting form data directly to your CFC processing page.

Part of the verification in the processing can be reliant upon
something executing in JavaScript and being passed in with the form
submission.  This is how CFFormProtect works (looks for and tracks
timing, keystrokes, mouse movement, etc.).  This data is tracked and
passed in to the form and the server runs checks against it to
determine whether the script ran and events occurred that you would
expect to see in a real environment vs. an automated script (it does
have some server-side checks as well such as Akismet lookups, etc.).

It is true that an attacker could capture one real submission
between the browser and the server and modify their scripts to submit
the appropriate data to make it appear as though a script ran and
those form fields were populated naturally when they actually weren't,
though an attacker would need to be pretty persistent to go through
all that trouble.

The idea with these kinds of protections is to make it sufficiently
inconvenient for an attacker to go to the trouble and move on to the
next guy who is easier to exploit.

One of the sites I ran years ago had a problem with people scripting
the signup process to generate accounts (even to the point of
generating e-mail accounts to use for the e-mail validation process).
We really didn't want to use a CAPTCHA, so we ended up randomizing the
form field names (and creating a map of the random names to the real
names as a session variable when the form was generated so we could
match them back up when it was submitted).  This prevented the process
script from being hit directly and would have forced them to load the
actual signup page first, parse all the fieldnames out, and then run
the submission again.  They could have automated this as well, but
never did (perhaps because it was too inconvenient and there were
easier targets to go after).

The earlier idea of automatically rejecting transactions and
transparently showing a reject notice after a couple of failures is a
good anti-abuse measure in this instance.  If logs are being kept,
they can be reviewed periodically and anyone who looks like they may
have been accidentally rejected can be contacted again later to
recapture their donation if needed.  Abuse can be a hard problem to
solve.


-Justin



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354493
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Problem with Hackers on Donation form through Authorize.net

2013-02-13 Thread Rick Faircloth

Thanks, Dennis!

-Original Message-
From: UXB [mailto:denn...@uxbinternet.com] 
Sent: Tuesday, February 12, 2013 5:31 PM
To: cf-talk
Subject: RE: Problem with Hackers on Donation form through Authorize.net


 button for my form is just a regular button that triggers an AJAX 
 function that sends the data to a CFC for further processing and then
submission

Forget the form page the bots/humans are not even seeing it they are
attacking your processing cfc directly.  Your protection has to be server
side since any JavaScript on the form page is ignored. They are
submitting form data directly to your CFC processing page.



Dennis Powers
UXB Internet - A website Design and Hosting Company
P.O. Box 6028, Wolcott, CT 06716 - T:203-879-2844
W: http://www.uxbinternet.com
W: http://www.ctbusinesslist.com






~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354494
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Problem with Hackers on Donation form through Authorize.net

2013-02-13 Thread Rick Faircloth

The hacking has slowed down some; there's only been three or four attempts
in the last couple of days. Nothing I've done, since it's apparently
a human hacker, and the only thing I'm using now is a CF-generated captcha
set to medium. So, that's not stopping the hacker. Perhaps the hacker has
just moved on to another target for awhile.

When (not if...) it starts up again, I'm going to try the javascript timing
function, timing when a form element is first clicked and making sure it takes
at least 2 minutes until the form is submitted, or I'll fail the transaction.

None of the hacker's attempts have taken more than about 1 min 15 sec, and
most are about 15-30 seconds, so, hopefully, that will be just enough of an
irritant to run the hacker off.

If the hacker is bypassing my form, however, which depends on javascript to
function, and is attacking my CFC which submits the form when all CF validation
is passed via CFHTTP, I wonder if the hacker can still submit the form with
javascript turned off? How would I go about determining just what the hacker's
process is?

And if the hacker is disabled javascript, I guess I can use a session variable
in CF to check the time for the start and end of form input. But if, he's (or 
she's)
attacking the CFC method directly, would the form timing even be relevant?

I wish I could send enough of an electric shock through hackers' keyboards
to knock them out for an hour...maybe someday. I can only hope!


-Original Message-
From: UXB [mailto:denn...@uxbinternet.com] 
Sent: Wednesday, February 13, 2013 9:23 PM
To: cf-talk
Subject: RE: Problem with Hackers on Donation form through Authorize.net


 Part of the verification in the processing can be reliant upon something 
 executing in JavaScript and being passed in with the form submission.  

While I do not disagree with your statements anything that is part of the
form data that can be generated by JavaScript can be submitted without it
by, as you said, capturing a real form submission and then simulating it.
The final protection has to be server side because you cannot rely on the
data sent by the client.


 The idea with these kinds of protections is to make it sufficiently
inconvenient 
 for an attacker to go to the trouble and move on to the next guy who is
easier to exploit.

 Abuse can be a hard problem to solve.

Very!  It is almost always proportional to the potential gain of the abuse.
In Rick's case there is a fairly high financial gain to be had by the
verification of credit card numbers.

Like you we had a donation page for a client and they too were getting a
large number of abusive submissions until we but it behind a signup/login
page that required a valid email address and a easy to read captcha.  In
that case it solved the issue and they had no more problems but then they
were clearing the CC numbers manually so there was always human oversight.


Dennis Powers
UXB Internet - A website Design and Hosting Company
P.O. Box 6028, Wolcott, CT 06716 - T:203-879-2844
W: http://www.uxbinternet.com
W: http://www.ctbusinesslist.com





~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354498
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


  1   2   3   4   5   6   7   8   9   10   >