RE: just noticed this when validating email

2005-03-29 Thread Rick Faircloth
You're right...customers do expect more...I'm trying to keep up!  (Somewhat
:o)
(Still using CF 4.5.2!  :o)

I wish I could find more customers with bigger budgets who were willing
to pay for higher-level work so I could afford the time to delve into some
of the finer functionality of CF and JS, etc...but around here, budgets are
always
small...very small...and they are almost always interested in how little
money they can spend rather than having what they need in a web site /
application.

A few years ago, I finally started hosting my own customers' sites, simply
because
I couldn't make enough just developing websites...

I just need to find the right resources that will allow me to learn JS a
little at a time,
as time allows, and integrate them into apps I can actually get paid for.

Maybe someone should start a subscription service to the 2-Minute
Javascript Tutor
and send 4 tutorials a month, for $10 per month  You learn some basics and
actually
build something you can use anywhere from 1-4 times per month, based on the
complexity of the application.  If the content were good enough the ROI
sufficient,
I'd buy that...especially if it taught how to integrate it into CF apps...

Want to start a new business, Rebecca?  Sounds like you've come up through
the
ranks of JS and can remember what it was like to know nothing about the
subject.
You're just the kind of person to write the tutorials...once someone's been
doing
something so long they forget what it's like not to know how to do it,
they're usually
no good at writing beginners' tutorials...

Rick

-Original Message-
From: Rebecca Wells [mailto:[EMAIL PROTECTED]
Sent: Monday, March 28, 2005 5:30 PM
To: CF-Talk
Subject: Re: just noticed this when validating email


Rick:

JavaScript will elevate the low-level work you currently do now to more
professional, full-featured applications that users have come to expect.
Certainly, you must want to know how to make your web pages more dymamic and
your forms more secure and accurate, yes? Perhaps you'd like to be able to
set one form field using the selction in another? Once you get to know
Javascript, you will wonder what you ever did without it. HTML, Javascript,
and ColdFusion go together like Bacon, Lettuce and Tomato!

Don't freak out, but along with Javascript, Cascading Style Sheets (CSS) is
another tool that is a must-have for any self-respecting developer. Web
develoment is not a career for folks who don't enjoy learning new
technologies. If you try to stand-still, I can assure you that your
customers won't be and will just pass you by (as in bye-bye).



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200436
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: just noticed this when validating email

2005-03-29 Thread Micha Schopman
There are enough people willing to help you. If you want some guidance
with javascript and truly want to invest some time in it, just ask. I am
not a writer but passionate enough to ramble about it for hours.

Micha Schopman
Project Manager

Modern Media, Databankweg 12 M, 3821 AL  Amersfoort
Tel 033-4535377, Fax 033-4535388
KvK Amersfoort 39081679, Rabo 39.48.05.380



-
Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren
de interactie met uw doelgroep. 
Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer
informatie zie www.modernmedia.nl 


-

-Original Message-
From: Rick Faircloth [mailto:[EMAIL PROTECTED] 
Sent: dinsdag 29 maart 2005 16:04
To: CF-Talk
Subject: RE: just noticed this when validating email

You're right...customers do expect more...I'm trying to keep up!
(Somewhat
:o)
(Still using CF 4.5.2!  :o)

I wish I could find more customers with bigger budgets who were willing
to pay for higher-level work so I could afford the time to delve into
some
of the finer functionality of CF and JS, etc...but around here, budgets
are
always
small...very small...and they are almost always interested in how little
money they can spend rather than having what they need in a web site /
application.

A few years ago, I finally started hosting my own customers' sites,
simply
because
I couldn't make enough just developing websites...

I just need to find the right resources that will allow me to learn JS a
little at a time,
as time allows, and integrate them into apps I can actually get paid
for.

Maybe someone should start a subscription service to the 2-Minute
Javascript Tutor
and send 4 tutorials a month, for $10 per month  You learn some basics
and
actually
build something you can use anywhere from 1-4 times per month, based on
the
complexity of the application.  If the content were good enough the ROI
sufficient,
I'd buy that...especially if it taught how to integrate it into CF
apps...

Want to start a new business, Rebecca?  Sounds like you've come up
through
the
ranks of JS and can remember what it was like to know nothing about the
subject.
You're just the kind of person to write the tutorials...once someone's
been
doing
something so long they forget what it's like not to know how to do it,
they're usually
no good at writing beginners' tutorials...

Rick

-Original Message-
From: Rebecca Wells [mailto:[EMAIL PROTECTED]
Sent: Monday, March 28, 2005 5:30 PM
To: CF-Talk
Subject: Re: just noticed this when validating email


Rick:

JavaScript will elevate the low-level work you currently do now to
more
professional, full-featured applications that users have come to expect.
Certainly, you must want to know how to make your web pages more dymamic
and
your forms more secure and accurate, yes? Perhaps you'd like to be able
to
set one form field using the selction in another? Once you get to know
Javascript, you will wonder what you ever did without it. HTML,
Javascript,
and ColdFusion go together like Bacon, Lettuce and Tomato!

Don't freak out, but along with Javascript, Cascading Style Sheets (CSS)
is
another tool that is a must-have for any self-respecting developer. Web
develoment is not a career for folks who don't enjoy learning new
technologies. If you try to stand-still, I can assure you that your
customers won't be and will just pass you by (as in bye-bye).





~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200440
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: just noticed this when validating email

2005-03-29 Thread Rick Faircloth
  just ask...

I'm sure you realize this is the one thing beginners have the hardest
time with at the start because they don't know enough to ask anything!
:o)

Rick



-Original Message-
From: Micha Schopman [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 29, 2005 10:09 AM
To: CF-Talk
Subject: RE: just noticed this when validating email


There are enough people willing to help you. If you want some guidance
with javascript and truly want to invest some time in it, just ask. I am
not a writer but passionate enough to ramble about it for hours.

Micha Schopman
Project Manager

Modern Media, Databankweg 12 M, 3821 AL  Amersfoort
Tel 033-4535377, Fax 033-4535388
KvK Amersfoort 39081679, Rabo 39.48.05.380



-
Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren
de interactie met uw doelgroep.
Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer
informatie zie www.modernmedia.nl


-

-Original Message-
From: Rick Faircloth [mailto:[EMAIL PROTECTED]
Sent: dinsdag 29 maart 2005 16:04
To: CF-Talk
Subject: RE: just noticed this when validating email

You're right...customers do expect more...I'm trying to keep up!
(Somewhat
:o)
(Still using CF 4.5.2!  :o)

I wish I could find more customers with bigger budgets who were willing
to pay for higher-level work so I could afford the time to delve into
some
of the finer functionality of CF and JS, etc...but around here, budgets
are
always
small...very small...and they are almost always interested in how little
money they can spend rather than having what they need in a web site /
application.

A few years ago, I finally started hosting my own customers' sites,
simply
because
I couldn't make enough just developing websites...

I just need to find the right resources that will allow me to learn JS a
little at a time,
as time allows, and integrate them into apps I can actually get paid
for.

Maybe someone should start a subscription service to the 2-Minute
Javascript Tutor
and send 4 tutorials a month, for $10 per month  You learn some basics
and
actually
build something you can use anywhere from 1-4 times per month, based on
the
complexity of the application.  If the content were good enough the ROI
sufficient,
I'd buy that...especially if it taught how to integrate it into CF
apps...

Want to start a new business, Rebecca?  Sounds like you've come up
through
the
ranks of JS and can remember what it was like to know nothing about the
subject.
You're just the kind of person to write the tutorials...once someone's
been
doing
something so long they forget what it's like not to know how to do it,
they're usually
no good at writing beginners' tutorials...

Rick

-Original Message-
From: Rebecca Wells [mailto:[EMAIL PROTECTED]
Sent: Monday, March 28, 2005 5:30 PM
To: CF-Talk
Subject: Re: just noticed this when validating email


Rick:

JavaScript will elevate the low-level work you currently do now to
more
professional, full-featured applications that users have come to expect.
Certainly, you must want to know how to make your web pages more dymamic
and
your forms more secure and accurate, yes? Perhaps you'd like to be able
to
set one form field using the selction in another? Once you get to know
Javascript, you will wonder what you ever did without it. HTML,
Javascript,
and ColdFusion go together like Bacon, Lettuce and Tomato!

Don't freak out, but along with Javascript, Cascading Style Sheets (CSS)
is
another tool that is a must-have for any self-respecting developer. Web
develoment is not a career for folks who don't enjoy learning new
technologies. If you try to stand-still, I can assure you that your
customers won't be and will just pass you by (as in bye-bye).







~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200459
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: just noticed this when validating email

2005-03-29 Thread Rick Faircloth
Hey, I forgot to add...I do appreciate the offer and just might
take you up on it!

Rick


-Original Message-
From: Micha Schopman [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 29, 2005 10:09 AM
To: CF-Talk
Subject: RE: just noticed this when validating email


There are enough people willing to help you. If you want some guidance
with javascript and truly want to invest some time in it, just ask. I am
not a writer but passionate enough to ramble about it for hours.

Micha Schopman
Project Manager

Modern Media, Databankweg 12 M, 3821 AL  Amersfoort
Tel 033-4535377, Fax 033-4535388
KvK Amersfoort 39081679, Rabo 39.48.05.380



-
Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren
de interactie met uw doelgroep.
Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer
informatie zie www.modernmedia.nl


-

-Original Message-
From: Rick Faircloth [mailto:[EMAIL PROTECTED]
Sent: dinsdag 29 maart 2005 16:04
To: CF-Talk
Subject: RE: just noticed this when validating email

You're right...customers do expect more...I'm trying to keep up!
(Somewhat
:o)
(Still using CF 4.5.2!  :o)

I wish I could find more customers with bigger budgets who were willing
to pay for higher-level work so I could afford the time to delve into
some
of the finer functionality of CF and JS, etc...but around here, budgets
are
always
small...very small...and they are almost always interested in how little
money they can spend rather than having what they need in a web site /
application.

A few years ago, I finally started hosting my own customers' sites,
simply
because
I couldn't make enough just developing websites...

I just need to find the right resources that will allow me to learn JS a
little at a time,
as time allows, and integrate them into apps I can actually get paid
for.

Maybe someone should start a subscription service to the 2-Minute
Javascript Tutor
and send 4 tutorials a month, for $10 per month  You learn some basics
and
actually
build something you can use anywhere from 1-4 times per month, based on
the
complexity of the application.  If the content were good enough the ROI
sufficient,
I'd buy that...especially if it taught how to integrate it into CF
apps...

Want to start a new business, Rebecca?  Sounds like you've come up
through
the
ranks of JS and can remember what it was like to know nothing about the
subject.
You're just the kind of person to write the tutorials...once someone's
been
doing
something so long they forget what it's like not to know how to do it,
they're usually
no good at writing beginners' tutorials...

Rick

-Original Message-
From: Rebecca Wells [mailto:[EMAIL PROTECTED]
Sent: Monday, March 28, 2005 5:30 PM
To: CF-Talk
Subject: Re: just noticed this when validating email


Rick:

JavaScript will elevate the low-level work you currently do now to
more
professional, full-featured applications that users have come to expect.
Certainly, you must want to know how to make your web pages more dymamic
and
your forms more secure and accurate, yes? Perhaps you'd like to be able
to
set one form field using the selction in another? Once you get to know
Javascript, you will wonder what you ever did without it. HTML,
Javascript,
and ColdFusion go together like Bacon, Lettuce and Tomato!

Don't freak out, but along with Javascript, Cascading Style Sheets (CSS)
is
another tool that is a must-have for any self-respecting developer. Web
develoment is not a career for folks who don't enjoy learning new
technologies. If you try to stand-still, I can assure you that your
customers won't be and will just pass you by (as in bye-bye).







~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200460
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: just noticed this when validating email

2005-03-29 Thread Rebecca Wells
Start by picking up the Visual Quickstart Guide for Javascript that I told you 
about. It lends its self well to the kind of learning that you are asking for 
(called just- in-time learning). Here's another tip from someone who is 
self-taught: when you see a web page that does something cool, check the page 
source and see how they do the javascript. You can learn *a lot* that way, not 
to mention copy scripts to use on your own web sites. You can search the web 
for javascripts for whatever you need and usually find something out there you 
can use, or adapt as a starting point. We all stand on the shoulders of those 
who have gone before us.

As for working with customers with small budgets and large expectations: its up 
to you to help them to understand that a certain amount of functionality that 
you get from javascript is not really optional. You wouldn't build a house but 
leave off the door knobs because doors can be opened without them, right? No, 
that's not a good option unless you want to look really bad. And do you really 
want to be known for performing that kind of work? No, I didn't think so. It 
really won't help you to attract customers of a higher caliber who are willing 
to pay more. So, its up to you to educate your users that it's all part of the 
package, and be able to provide these amenities as part of your service 
delivery package. Then you must learn to go after the customers who do 
understand and are willing to pay a fair fee for these services. If you spend 
all your time on 2-bit jobs, you won't have time to market your services to 
higher paying customers. Don't be afraid to set the bar a little higher and you 
should eventually see it pay off.


You're right...customers do expect more...I'm trying to keep up!  (Somewhat
:o)
(Still using CF 4.5.2!  :o)

I wish I could find more customers with bigger budgets who were willing
to pay for higher-level work so I could afford the time to delve into some
of the finer functionality of CF and JS, etc...but around here, budgets are
always
small...very small...and they are almost always interested in how little
money they can spend rather than having what they need in a web site /
application.

A few years ago, I finally started hosting my own customers' sites, simply
because
I couldn't make enough just developing websites...

I just need to find the right resources that will allow me to learn JS a
little at a time,
as time allows, and integrate them into apps I can actually get paid for.

Maybe someone should start a subscription service to the 2-Minute
Javascript Tutor
and send 4 tutorials a month, for $10 per month  You learn some basics and
actually
build something you can use anywhere from 1-4 times per month, based on the
complexity of the application.  If the content were good enough the ROI
sufficient,
I'd buy that...especially if it taught how to integrate it into CF apps...

Want to start a new business, Rebecca?  Sounds like you've come up through
the
ranks of JS and can remember what it was like to know nothing about the
subject.
You're just the kind of person to write the tutorials...once someone's been
doing
something so long they forget what it's like not to know how to do it,
they're usually
no good at writing beginners' tutorials...

Rick

-Original Message-
From: Rebecca Wells [mailto:[EMAIL PROTECTED]
Sent: Monday, March 28, 2005 5:30 PM
To: CF-Talk
Subject: Re: just noticed this when validating email


Rick:

JavaScript will elevate the low-level work you currently do now to more
professional, full-featured applications that users have come to expect.
Certainly, you must want to know how to make your web pages more dymamic and
your forms more secure and accurate, yes? Perhaps you'd like to be able to
set one form field using the selction in another? Once you get to know
Javascript, you will wonder what you ever did without it. HTML, Javascript,
and ColdFusion go together like Bacon, Lettuce and Tomato!

Don't freak out, but along with Javascript, Cascading Style Sheets (CSS) is
another tool that is a must-have for any self-respecting developer. Web
develoment is not a career for folks who don't enjoy learning new
technologies. If you try to stand-still, I can assure you that your
customers won't be and will just pass you by (as in bye-bye).

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200534
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: just noticed this when validating email

2005-03-29 Thread Rick Faircloth
Thanks for the advice and encouragement, Rebecca!  :o)

Rick


-Original Message-
From: Rebecca Wells [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 29, 2005 1:01 PM
To: CF-Talk
Subject: Re: just noticed this when validating email


Start by picking up the Visual Quickstart Guide for Javascript that I told
you about. It lends its self well to the kind of learning that you are
asking for (called just- in-time learning). Here's another tip from someone
who is self-taught: when you see a web page that does something cool, check
the page source and see how they do the javascript. You can learn *a lot*
that way, not to mention copy scripts to use on your own web sites. You can
search the web for javascripts for whatever you need and usually find
something out there you can use, or adapt as a starting point. We all stand
on the shoulders of those who have gone before us.

As for working with customers with small budgets and large expectations: its
up to you to help them to understand that a certain amount of functionality
that you get from javascript is not really optional. You wouldn't build a
house but leave off the door knobs because doors can be opened without them,
right? No, that's not a good option unless you want to look really bad. And
do you really want to be known for performing that kind of work? No, I
didn't think so. It really won't help you to attract customers of a higher
caliber who are willing to pay more. So, its up to you to educate your users
that it's all part of the package, and be able to provide these amenities as
part of your service delivery package. Then you must learn to go after the
customers who do understand and are willing to pay a fair fee for these
services. If you spend all your time on 2-bit jobs, you won't have time to
market your services to higher paying customers. Don't be afraid to set the
bar a little
  higher and you should eventually see it pay off.


You're right...customers do expect more...I'm trying to keep up!  (Somewhat
:o)
(Still using CF 4.5.2!  :o)

I wish I could find more customers with bigger budgets who were willing
to pay for higher-level work so I could afford the time to delve into
some
of the finer functionality of CF and JS, etc...but around here, budgets are
always
small...very small...and they are almost always interested in how little
money they can spend rather than having what they need in a web site /
application.

A few years ago, I finally started hosting my own customers' sites, simply
because
I couldn't make enough just developing websites...

I just need to find the right resources that will allow me to learn JS a
little at a time,
as time allows, and integrate them into apps I can actually get paid for.

Maybe someone should start a subscription service to the 2-Minute
Javascript Tutor
and send 4 tutorials a month, for $10 per month  You learn some basics and
actually
build something you can use anywhere from 1-4 times per month, based on the
complexity of the application.  If the content were good enough the ROI
sufficient,
I'd buy that...especially if it taught how to integrate it into CF apps...

Want to start a new business, Rebecca?  Sounds like you've come up through
the
ranks of JS and can remember what it was like to know nothing about the
subject.
You're just the kind of person to write the tutorials...once someone's been
doing
something so long they forget what it's like not to know how to do it,
they're usually
no good at writing beginners' tutorials...

Rick

-Original Message-
From: Rebecca Wells [mailto:[EMAIL PROTECTED]
Sent: Monday, March 28, 2005 5:30 PM
To: CF-Talk
Subject: Re: just noticed this when validating email


Rick:

JavaScript will elevate the low-level work you currently do now to more
professional, full-featured applications that users have come to expect.
Certainly, you must want to know how to make your web pages more dymamic
and
your forms more secure and accurate, yes? Perhaps you'd like to be able to
set one form field using the selction in another? Once you get to know
Javascript, you will wonder what you ever did without it. HTML, Javascript,
and ColdFusion go together like Bacon, Lettuce and Tomato!

Don't freak out, but along with Javascript, Cascading Style Sheets (CSS) is
another tool that is a must-have for any self-respecting developer. Web
develoment is not a career for folks who don't enjoy learning new
technologies. If you try to stand-still, I can assure you that your
customers won't be and will just pass you by (as in bye-bye).



~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200570
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com

Re: just noticed this when validating email

2005-03-28 Thread Rebecca Wells
Rick, I understand where you're coming from. Years ago I really struggled with 
learning Javascript. I hated it and really resisted it, but realized that it is 
an inescapably valuable toolset for a web developer. So I perservered and now 
I'm pretty good at it. Books that I recommend include Visual Quickstart Guide 
titled JavaScript For The World Wide Web by Tom Netrino and Dori Smith. It's 
a cookbook style of book that makes it very easy to learn as you go. I also 
highly recommend the Javascript Bible to use as a reference. Another 
invaluable tool is to use the Javascript console in FireFox to help you in 
debugging your code.

HTH. Good luck, and happy scripting!


Nice Barney...I a total JavaScript novice, but I'll have a go
at implementing this.

I'm very interested RIA's and have tried with Flash with
each version that comes out...but I just hate the interface,
even with the enhancements for developers in 2004.

Perhaps I should just bite the bullet and learn JavaScript...

If I were embarking on learning JavaScript without any knowledge
of it, what resource would you recommend I use?
Is there a JavaScript for Dummies type resource out there?

Thanks for the insight!

Rick


-Original Message-
From: Barney Boisvert [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 26, 2005 2:56 PM
To: CF-Talk
Subject: Re: just noticed this when validating email


Yeah, the file fields was me too.

You don't do a server request, you do it all client-side with
javascript.  I didn't test this, but here's the general idea:

InvalidTag type=text/javascript
  window.emailFieldCount = 1;
  function addField() {
var div = document.getElementById(fieldContainer);
div.innerHTML += 'input name=email' + ++window.emailFieldCount +
' /br /';
  }
/script
div id=fieldContainer
 input name=email1 /br /
/div
a href=javascript:addField();add field/a

Walking through the code, we've got a single field hard coded in the
page, along with a field count stored in a variable
(window.emailFieldCount), which is initalized to one (because of the
one hard coded field).  When you click the 'add field' link, the
addField() function is called, which find the div that contains the
input fields, and adds another field to the end, incrementing the
field count variable and using it to set the field name to be unique.
I've opted to use innerHTML rather than the DOM for appending the
fields for simplicity's sake; either should work.

This is a first little window into building javascript RIAs, where the
entire app no longer resides on the server, but part of the UI
controller has moved to the client.

cheers,
barneyb

On Sat, 26 Mar 2005 14:01:16 -0500, Rick Faircloth
[EMAIL PROTECTED] wrote:

--
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 50 invites.

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200229
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: just noticed this when validating email

2005-03-28 Thread Matt Osbun
Rick- yes, there is a Javascript For Dummies.  

I first encountered JavaScript using Thau's JavaScript Tutorial at
Webmonkey.  Might want to give it a try- it's a good first brush kind of
thing.
http://webmonkey.wired.com/webmonkey/programming/javascript/tutorials/tu
torial1.html

Matt Osbun
Web Developer
Health Systems, International


Nice Barney...I a total JavaScript novice, but I'll have a go at 
implementing this.

I'm very interested RIA's and have tried with Flash with
each version that comes out...but I just hate the interface, even with 
the enhancements for developers in 2004.

Perhaps I should just bite the bullet and learn JavaScript...

If I were embarking on learning JavaScript without any knowledge of it,

what resource would you recommend I use? Is there a JavaScript for 
Dummies type resource out there?

Thanks for the insight!

Rick

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200237
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: just noticed this when validating email

2005-03-28 Thread Rick Faircloth
Thanks for the tip, Rebecca.

I'll check those out and perhaps start cooking up some
Javascript stew...coming from a Cold-Fusion-was-my-introduction-
to-modern-programming point-of-view, Javascript and even Actionscript
look alien...so unintuitive.  I realize, however, that that's probably
mostly due to my lack of familiarity.

I just need something that will hold my hand for awhile.  Sounds like
perhaps the Visual Quickstart Guide might do the trick...explain a
few basics, then show me how to do something useful with what I know...

Rick


-Original Message-
From: Rebecca Wells [mailto:[EMAIL PROTECTED]
Sent: Monday, March 28, 2005 12:16 PM
To: CF-Talk
Subject: Re: just noticed this when validating email


Rick, I understand where you're coming from. Years ago I really struggled
with learning Javascript. I hated it and really resisted it, but realized
that it is an inescapably valuable toolset for a web developer. So I
perservered and now I'm pretty good at it. Books that I recommend include
Visual Quickstart Guide titled JavaScript For The World Wide Web by Tom
Netrino and Dori Smith. It's a cookbook style of book that makes it very
easy to learn as you go. I also highly recommend the Javascript Bible to
use as a reference. Another invaluable tool is to use the Javascript console
in FireFox to help you in debugging your code.

HTH. Good luck, and happy scripting!


Nice Barney...I a total JavaScript novice, but I'll have a go
at implementing this.

I'm very interested RIA's and have tried with Flash with
each version that comes out...but I just hate the interface,
even with the enhancements for developers in 2004.

Perhaps I should just bite the bullet and learn JavaScript...

If I were embarking on learning JavaScript without any knowledge
of it, what resource would you recommend I use?
Is there a JavaScript for Dummies type resource out there?

Thanks for the insight!

Rick


-Original Message-
From: Barney Boisvert [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 26, 2005 2:56 PM
To: CF-Talk
Subject: Re: just noticed this when validating email


Yeah, the file fields was me too.

You don't do a server request, you do it all client-side with
javascript.  I didn't test this, but here's the general idea:

InvalidTag type=text/javascript
  window.emailFieldCount = 1;
  function addField() {
var div = document.getElementById(fieldContainer);
div.innerHTML += 'input name=email' + ++window.emailFieldCount +
' /br /';
  }
/script
div id=fieldContainer
 input name=email1 /br /
/div
a href=javascript:addField();add field/a

Walking through the code, we've got a single field hard coded in the
page, along with a field count stored in a variable
(window.emailFieldCount), which is initalized to one (because of the
one hard coded field).  When you click the 'add field' link, the
addField() function is called, which find the div that contains the
input fields, and adds another field to the end, incrementing the
field count variable and using it to set the field name to be unique.
I've opted to use innerHTML rather than the DOM for appending the
fields for simplicity's sake; either should work.

This is a first little window into building javascript RIAs, where the
entire app no longer resides on the server, but part of the UI
controller has moved to the client.

cheers,
barneyb

On Sat, 26 Mar 2005 14:01:16 -0500, Rick Faircloth
[EMAIL PROTECTED] wrote:

--
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 50 invites.



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200238
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: just noticed this when validating email

2005-03-28 Thread Joe Rinehart
 cfif getquery.theID EQ blablah
 do this
 /cfif
 
 The same thing in JS goes somethin like this.

if (getquery.theId == blablah) {
  doThis();
}

Seems similar to me :)

Symbollic language is powerful in that it gives those who speak it a
common vocabulary that lets them express like ideas without having to
memorize identical phrases.  There may be a number of different ways
to communicate what ++ does, but we all know the concept of what it
does, translation aside.

-Joe

-- 
For Tabs, Trees, and more, use the jComponents:
http://clearsoftware.net/client/jComponents.cfm

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200239
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: just noticed this when validating email

2005-03-28 Thread Rick Faircloth
Thanks, Matt...I'll check it out.

Rick

-Original Message-
From: Matt Osbun [mailto:[EMAIL PROTECTED]
Sent: Monday, March 28, 2005 1:35 PM
To: CF-Talk
Subject: RE: just noticed this when validating email


Rick- yes, there is a Javascript For Dummies.

I first encountered JavaScript using Thau's JavaScript Tutorial at
Webmonkey.  Might want to give it a try- it's a good first brush kind of
thing.
http://webmonkey.wired.com/webmonkey/programming/javascript/tutorials/tu
torial1.html

Matt Osbun
Web Developer
Health Systems, International


Nice Barney...I a total JavaScript novice, but I'll have a go at
implementing this.

I'm very interested RIA's and have tried with Flash with
each version that comes out...but I just hate the interface, even with
the enhancements for developers in 2004.

Perhaps I should just bite the bullet and learn JavaScript...

If I were embarking on learning JavaScript without any knowledge of it,

what resource would you recommend I use? Is there a JavaScript for
Dummies type resource out there?

Thanks for the insight!

Rick



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200243
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: just noticed this when validating email

2005-03-28 Thread Rick Faircloth
Agreed...I guess the thing that causes me to hesitate is
that I usually experience seeing Javascript on this list.
Of course, what I see here is far beyond beginner stuff, usually.

It's not so much that I don't think I can learn it, or climb
the learning curve as much as do I have time away from
CF coding that makes money now to dedicate to JS, which
I don't have much call for with the low-level CF work I do now,
which is basically building update, delete, and addition functions
for website calendars, announcements, photos galleries, etc.

I'm an independent web designer/programmer/trash-taker-outer,
so there's no one around demanding functionality that would
demand JS, so I just don't take the time.

I need some 2-minute tutorials that, within a few lessons,
can give me something practical to use.

As far as future jobs with web design...I don't have any kind
of computer programming or technical degrees, so without
credentials, I'd never be hired by a company that required JS, anyway.

I'm just looking at how practical it is to learn and implement JS.
I do love a good challenge, however...get the blood pumping!

Rick

-Original Message-
From: Joe Rinehart [mailto:[EMAIL PROTECTED]
Sent: Monday, March 28, 2005 1:40 PM
To: CF-Talk
Subject: Re: just noticed this when validating email


 cfif getquery.theID EQ blablah
 do this
 /cfif
 
 The same thing in JS goes somethin like this.

if (getquery.theId == blablah) {
  doThis();
}

Seems similar to me :)

Symbollic language is powerful in that it gives those who speak it a
common vocabulary that lets them express like ideas without having to
memorize identical phrases.  There may be a number of different ways
to communicate what ++ does, but we all know the concept of what it
does, translation aside.

-Joe




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200246
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: just noticed this when validating email

2005-03-28 Thread Rebecca Wells
Rick:

JavaScript will elevate the low-level work you currently do now to more 
professional, full-featured applications that users have come to expect. 
Certainly, you must want to know how to make your web pages more dymamic and 
your forms more secure and accurate, yes? Perhaps you'd like to be able to set 
one form field using the selction in another? Once you get to know Javascript, 
you will wonder what you ever did without it. HTML, Javascript, and ColdFusion 
go together like Bacon, Lettuce and Tomato!

Don't freak out, but along with Javascript, Cascading Style Sheets (CSS) is 
another tool that is a must-have for any self-respecting developer. Web 
develoment is not a career for folks who don't enjoy learning new technologies. 
If you try to stand-still, I can assure you that your customers won't be and 
will just pass you by (as in bye-bye).

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200306
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: just noticed this when validating email

2005-03-27 Thread Will Tomlinson
But Will...

JS is client-side, and CF is server-side...

The whole universe could convert to CF (and I'd probably be out of a
job!) and we'd still need JS or something like it (unless, with the
mass conversion, MM created a CF-based browser that could use CF


With all due respect you missed my point. Or maybe I didn't make it clear. It 
wasnt to get rid of JS, but rather for it to written as easily as CF. CF makes 
sense. 

cfif getquery.theID EQ blablah
do this
/cfif

The same thing in JS goes somethin like this.

for (i=0;ig.length;i++)
total+=parseInt(g[i][1])

output='table border=0 cellspacing=0 cellpadding=0'
for (i=0;ig.length;i++){
calpercentage=Math.round(g[i][1]*100/total)
calwidth=Math.round(gwidth*(calpercentage/100))
output+='trtd'+g[i][0]+'amp;nbsp;/tdtdimg src='+graphimage+' 
width='+calwidth+' height=10 '+calpercentage+'%/td/tr'
}
output+='/table'
document.write(output+'brTotal participants: b'+total+'/b')

Ok, so I exaggerated, but who's the numb skull that came up with ++ and ?? 
And ==? 

My point is it'd just make life easier if the same creative minds that 
engineered CF to be written much like english also engineered the others. 

:)

Will


~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200119
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: just noticed this when validating email

2005-03-27 Thread Jared Rypka-Hauer - CMG, LLC
I do see your point... and further, I still disagree...

With all due respect,  is the AND comparison operator.

And == is the IS comparison operator.

My point was that JS isn't all that hard to read and write once you learn it.

My new point is that if all languages were as easy to write as CF, the
world would be a very boring place. It's kind of like asserting that
the world would be a better place if everyone spoke English, and
nothing but English. Sounds kinda blah. Especially since other
languages contain idiomatic expressions that convey a nuance that's
impossible to convey in English, as English does with some things that
other languages don't.

+= would be a nice operator to have in CF... and yet it must be said
with i=1+1... hence some things are easier to write in JS than in CF.
And for me, often, I'd *rather* use JS-style syntax in CFSCRIPT. Why?
Because the JS syntax is more concise, and in general faster (though
CFSCRIPT no longer provides better performance per se, the concise
code it can produce reduces the code written under some
circumstances).

Also, your example isn't entirely fair, because you left out the whole
example in CF and wrote the whole example in JS:
table
cfloop condition=i LTE arrayLen(g)
cfset calpercentage = round(g[i][1]*100/total)
cfset calwidth = round(gwidth*(calpercentage*100))
cfoutput
trtd#round(g[i][0])#/tdtdimg src=#graphimage#
width=#calwidth# height=10#calpercentage#%/td/tr
/cfoutput
cfset i = i+1
/cfloop
/table

And, if someone wanted to use cfscript for this task, it could be done
exactly as JS does it with very minimal alterations:

cfscript
output = table;
while (i lte arrayLen(g)) {
calpercentage = round(g[i][1]*100/total);
calwidth = round(gwidth*(calpercentage*100));
output = output  trtd  round(g[i][0])  /tdtdimg
src='  graphimage  ' width='  calwidth  ' height='10' 
calpercentage  %/td/tr;
}
output = output  /table;
writeOutput(output);
/cfscript

So, it's not so simple as CF is a more natural language... were it not
for Java, which looks almost exactly like JS, there WOULD BE no CF.
And had it not been for C++, which was the original language that CF
was written in, it would never have gotten started at all. CF is a
high-level productivity-layer language that works well for its
appointed tasks, and yeah, it might be great if everything worked that
way... but I doubt it. Since, if nothing else, there's a certain
amount of overhead that goes with turning human-readable code into
machine-executable code, there would probably be a huge cost involved
at runtime... whereas since CF is built in layers, the underlying
layers are very close to the surface and provide that conversion quite
quickly AND only once, in general, because it's only recompliled when
changes are made (generally speaking).

Anyway, I find other programming languages as fascinating as I do
other human languages, and think the landscape would be barren and
ugly without them.

Laterz,
J


On Sun, 27 Mar 2005 05:46:26 -0400, Will Tomlinson [EMAIL PROTECTED] wrote:
 But Will...
 
 JS is client-side, and CF is server-side...
 
 The whole universe could convert to CF (and I'd probably be out of a
 job!) and we'd still need JS or something like it (unless, with the
 mass conversion, MM created a CF-based browser that could use CF
 
 With all due respect you missed my point. Or maybe I didn't make it clear. It 
 wasnt to get rid of JS, but rather for it to written as easily as CF. CF 
 makes sense.
 
 cfif getquery.theID EQ blablah
 do this
 /cfif
 
 The same thing in JS goes somethin like this.
 
 for (i=0;ig.length;i++)
 total+=parseInt(g[i][1])
 
 output='table border=0 cellspacing=0 cellpadding=0'
 for (i=0;ig.length;i++){
 calpercentage=Math.round(g[i][1]*100/total)
 calwidth=Math.round(gwidth*(calpercentage/100))
 output+='trtd'+g[i][0]+'amp;nbsp;/tdtdimg src='+graphimage+' 
 width='+calwidth+' height=10 '+calpercentage+'%/td/tr'
 }
 output+='/table'
 document.write(output+'brTotal participants: b'+total+'/b')
 
 Ok, so I exaggerated, but who's the numb skull that came up with ++ and ?? 
 And ==?
 
 My point is it'd just make life easier if the same creative minds that 
 engineered CF to be written much like english also engineered the others.
 
 :)
 
 Will 


-- 
Continuum Media Group LLC
Burnsville, MN 55337
http://www.web-relevant.com
http://www.web-relevant.com/blogs/cfobjective

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200134
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 

Re: just noticed this when validating email

2005-03-27 Thread Jared Rypka-Hauer - CMG, LLC
Typos, typos...

i=i+1, for one... not i=1+1.

And as far as preferring the JS-style syntax in cfscript, it's a style
thing. It looks better and is less cluttered... I definitely use more
tag-style code than cfscript, but I also use cfscript wherever I can
simply to produce cleaner, more readable code.


On Sun, 27 Mar 2005 12:14:18 -0600, Jared Rypka-Hauer - CMG, LLC
[EMAIL PROTECTED] wrote:
 I do see your point... and further, I still disagree...
 
 With all due respect,  is the AND comparison operator.
 
 And == is the IS comparison operator.
 
 My point was that JS isn't all that hard to read and write once you learn it.
  snip
 += would be a nice operator to have in CF... and yet it must be said
 with i=1+1... hence some things are easier to write in JS than in CF.
 And for me, often, I'd *rather* use JS-style syntax in CFSCRIPT. Why?
 Because the JS syntax is more concise, and in general faster (though
 CFSCRIPT no longer provides better performance per se, the concise
 code it can produce reduces the code written under some
 circumstances).
  


-- 
Continuum Media Group LLC
Burnsville, MN 55337
http://www.web-relevant.com
http://www.web-relevant.com/blogs/cfobjective

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200135
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: just noticed this when validating email

2005-03-27 Thread Adrian Lynch
Anyway, I find other programming languages as fascinating as I do
other human languages, and think the landscape would be barren and
ugly without them.

Smalltalk, lacking in constructs but beautiful none-the-less :O)

Ade

-Original Message-
From: Jared Rypka-Hauer - CMG, LLC [mailto:[EMAIL PROTECTED]
Sent: 27 March 2005 19:14
To: CF-Talk
Subject: Re: just noticed this when validating email


I do see your point... and further, I still disagree...

With all due respect,  is the AND comparison operator.

And == is the IS comparison operator.

My point was that JS isn't all that hard to read and write once you learn
it.

My new point is that if all languages were as easy to write as CF, the
world would be a very boring place. It's kind of like asserting that
the world would be a better place if everyone spoke English, and
nothing but English. Sounds kinda blah. Especially since other
languages contain idiomatic expressions that convey a nuance that's
impossible to convey in English, as English does with some things that
other languages don't.

+= would be a nice operator to have in CF... and yet it must be said
with i=1+1... hence some things are easier to write in JS than in CF.
And for me, often, I'd *rather* use JS-style syntax in CFSCRIPT. Why?
Because the JS syntax is more concise, and in general faster (though
CFSCRIPT no longer provides better performance per se, the concise
code it can produce reduces the code written under some
circumstances).

Also, your example isn't entirely fair, because you left out the whole
example in CF and wrote the whole example in JS:
table
cfloop condition=i LTE arrayLen(g)
cfset calpercentage = round(g[i][1]*100/total)
cfset calwidth = round(gwidth*(calpercentage*100))
cfoutput
trtd#round(g[i][0])#/tdtdimg src=#graphimage#
width=#calwidth# height=10#calpercentage#%/td/tr
/cfoutput
cfset i = i+1
/cfloop
/table

And, if someone wanted to use cfscript for this task, it could be done
exactly as JS does it with very minimal alterations:

cfscript
output = table;
while (i lte arrayLen(g)) {
calpercentage = round(g[i][1]*100/total);
calwidth = round(gwidth*(calpercentage*100));
output = output  trtd  round(g[i][0])  /tdtdimg
src='  graphimage  ' width='  calwidth  ' height='10' 
calpercentage  %/td/tr;
}
output = output  /table;
writeOutput(output);
/cfscript

So, it's not so simple as CF is a more natural language... were it not
for Java, which looks almost exactly like JS, there WOULD BE no CF.
And had it not been for C++, which was the original language that CF
was written in, it would never have gotten started at all. CF is a
high-level productivity-layer language that works well for its
appointed tasks, and yeah, it might be great if everything worked that
way... but I doubt it. Since, if nothing else, there's a certain
amount of overhead that goes with turning human-readable code into
machine-executable code, there would probably be a huge cost involved
at runtime... whereas since CF is built in layers, the underlying
layers are very close to the surface and provide that conversion quite
quickly AND only once, in general, because it's only recompliled when
changes are made (generally speaking).

Anyway, I find other programming languages as fascinating as I do
other human languages, and think the landscape would be barren and
ugly without them.

Laterz,
J
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.8.4 - Release Date: 27/03/2005


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200138
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: just noticed this when validating email

2005-03-27 Thread Dave Watts
 With all due respect you missed my point. Or maybe I didn't 
 make it clear. It wasnt to get rid of JS, but rather for it 
 to written as easily as CF. CF makes sense. 
 
 cfif getquery.theID EQ blablah
 do this
 /cfif
 
 The same thing in JS goes somethin like this.
 
 for (i=0;ig.length;i++)
 total+=parseInt(g[i][1])
 
 output='table border=0 cellspacing=0 cellpadding=0'
 for (i=0;ig.length;i++){
 calpercentage=Math.round(g[i][1]*100/total)
 calwidth=Math.round(gwidth*(calpercentage/100))
 output+='trtd'+g[i][0]+'amp;nbsp;/tdtdimg 
 src='+graphimage+' width='+calwidth+' height=10 
 '+calpercentage+'%/td/tr'
 }
 output+='/table'
 document.write(output+'brTotal participants: b'+total+'/b')

Well, actually, the same thing in JS would be something like this:

if (getquery.theID == 'blahblah') {
do this;
}

 Ok, so I exaggerated, but who's the numb skull that came up 
 with ++ and ?? And ==? 

Those operators predate the existence of CF, actually.

 My point is it'd just make life easier if the same creative 
 minds that engineered CF to be written much like english also 
 engineered the others.

CFML isn't written especially like English, it's written like HTML. CFML is
designed to do one thing, and that's generate HTML. So, the creative minds
that came up with CFML explicitly modeled it after HTML. Many programming
languages, such as JavaScript, are not designed to do just one thing, and
programs written in these languages might be able to run in many different
environments. For example, JavaScript programs can run in an HTML page
within a browser, or as Windows Script Host files from a Windows command
line, or within a classic ASP page to generate HTML. So, the creative minds
that came up with JavaScript weren't so concerned with fitting it within one
niche.

I suspect that most programmers would rather shoot themselves than use a
tag-based language for things outside the niche of generating tag-based
markup like HTML, XML and so on. Most programmers learn programming with
languages that are more similar to JavaScript than CFML, too, and in many
respects those languages often give the programmer much more control over
how the program can work.

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

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


~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200144
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: just noticed this when validating email

2005-03-27 Thread Sean Corfield
On Sun, 27 Mar 2005 05:46:26 -0400, Will Tomlinson [EMAIL PROTECTED] wrote:
 Ok, so I exaggerated, but who's the numb skull that came up with ++ and ?? 
 And ==?

Kernighan and Ritchie, when they invented C I think. But there are far
worse syntactic monstrosities out there. C++ has a delightful pointer
to (class) member syntax that involves ::* and other such strangeness
- check out pages like these:

http://corfield.org/index.cfm?event=cplusplus.sectionsection=ptdis
http://corfield.org/index.cfm?event=cplusplus.sectionsection=ptspc

 My point is it'd just make life easier if the same creative minds that 
 engineered CF to be written much like english also engineered the others.

You could always try COBOL :)
-- 
Sean A Corfield -- http://corfield.org/
Team Fusebox -- http://fusebox.org/
Got Gmail? -- I have 50, yes 50, invites to give away!

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200147
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: just noticed this when validating email

2005-03-27 Thread Will Tomlinson
Learnin alot here from you guys. 

But there *must* be quite a few of us that don't like JS, don't take the time 
to write it ourselves because it takes much longer than writing: 

cfinput name=search type=text required=yes message=Please enter a 
search term

I use that one all the time.  lol

Will

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200150
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: just noticed this when validating email

2005-03-27 Thread Dave Watts
 But there *must* be quite a few of us that don't like JS, 
 don't take the time to write it ourselves because it takes 
 much longer than writing: 
 
 cfinput name=search type=text required=yes 
 message=Please enter a search term
 
 I use that one all the time.  lol

In exchange for having CF write JavaScript for you, you have to cede control
over exactly how that JavaScript will act. How about if you want to show a
hidden div instead of an alert box? How about if you want to set focus back
on the form field with the bad data, when the user tabs out of the field? If
you want to be able to make it do exactly what you want it to do, you have
to be able to write the code yourself.

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

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


~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200152
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


just noticed this when validating email

2005-03-26 Thread Will Tomlinson
I know this one is a little obvious, but I hadn't thought about it until I 
tried it. 

I let users enter an email address or multiple emails separated by commas to 
send and item to a friend. 

If I validate the email address using cfinput, you can't enter more than one 
email. If you do, you get the usual js message. 

Will

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200091
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: just noticed this when validating email

2005-03-26 Thread Barney Boisvert
Just have one field per email address, and a button/link next to the
field that will dynamically add some more fields for more email
addresses.  That way people can add as many emails as they want, but
each one will be a separate field for validation and processsing.

cheers,
barneyb

On Sat, 26 Mar 2005 08:20:19 -0400, Will Tomlinson [EMAIL PROTECTED] wrote:
 I know this one is a little obvious, but I hadn't thought about it until I 
 tried it.
 
 I let users enter an email address or multiple emails separated by commas to 
 send and item to a friend.
 
 If I validate the email address using cfinput, you can't enter more than one 
 email. If you do, you get the usual js message.
 
 Will

-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 50 invites.

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200097
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: just noticed this when validating email

2005-03-26 Thread Rick Faircloth
Hi, Barney...

I think it was you, perhaps, who suggested the same
approach to dynamically adding CFFILE fields to a page
so that any number of photos could be uploaded at once.

In the email below, you suggest adding a button/link to click
so another field would be added for email addresses.

What the code overview on this...just have the page submit
back to itself, check a variable of some sort, and if it's a certain
value have another field show up?

Care to elaborate on the process you're thinking of?

Rick



-Original Message-
From: Barney Boisvert [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 26, 2005 1:34 PM
To: CF-Talk
Subject: Re: just noticed this when validating email


Just have one field per email address, and a button/link next to the
field that will dynamically add some more fields for more email
addresses.  That way people can add as many emails as they want, but
each one will be a separate field for validation and processsing.

cheers,
barneyb

On Sat, 26 Mar 2005 08:20:19 -0400, Will Tomlinson [EMAIL PROTECTED]
wrote:
 I know this one is a little obvious, but I hadn't thought about it until I
tried it.

 I let users enter an email address or multiple emails separated by commas
to send and item to a friend.

 If I validate the email address using cfinput, you can't enter more than
one email. If you do, you get the usual js message.

 Will

--
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 50 invites.



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200100
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: just noticed this when validating email

2005-03-26 Thread Barney Boisvert
Yeah, the file fields was me too.

You don't do a server request, you do it all client-side with
javascript.  I didn't test this, but here's the general idea:

script type=text/javascript
  window.emailFieldCount = 1;
  function addField() {
var div = document.getElementById(fieldContainer);
div.innerHTML += 'input name=email' + ++window.emailFieldCount +
' /br /';
  }
/script
div id=fieldContainer
 input name=email1 /br /
/div
a href=javascript:addField();add field/a

Walking through the code, we've got a single field hard coded in the
page, along with a field count stored in a variable
(window.emailFieldCount), which is initalized to one (because of the
one hard coded field).  When you click the 'add field' link, the
addField() function is called, which find the div that contains the
input fields, and adds another field to the end, incrementing the
field count variable and using it to set the field name to be unique. 
I've opted to use innerHTML rather than the DOM for appending the
fields for simplicity's sake; either should work.

This is a first little window into building javascript RIAs, where the
entire app no longer resides on the server, but part of the UI
controller has moved to the client.

cheers,
barneyb

On Sat, 26 Mar 2005 14:01:16 -0500, Rick Faircloth
[EMAIL PROTECTED] wrote:
 Hi, Barney...
 
 I think it was you, perhaps, who suggested the same
 approach to dynamically adding CFFILE fields to a page
 so that any number of photos could be uploaded at once.
 
 In the email below, you suggest adding a button/link to click
 so another field would be added for email addresses.
 
 What the code overview on this...just have the page submit
 back to itself, check a variable of some sort, and if it's a certain
 value have another field show up?
 
 Care to elaborate on the process you're thinking of?
 
 Rick

-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 50 invites.

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200101
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: just noticed this when validating email

2005-03-26 Thread Rick Faircloth
Nice Barney...I a total JavaScript novice, but I'll have a go
at implementing this.

I'm very interested RIA's and have tried with Flash with
each version that comes out...but I just hate the interface,
even with the enhancements for developers in 2004.

Perhaps I should just bite the bullet and learn JavaScript...

If I were embarking on learning JavaScript without any knowledge
of it, what resource would you recommend I use?
Is there a JavaScript for Dummies type resource out there?

Thanks for the insight!

Rick


-Original Message-
From: Barney Boisvert [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 26, 2005 2:56 PM
To: CF-Talk
Subject: Re: just noticed this when validating email


Yeah, the file fields was me too.

You don't do a server request, you do it all client-side with
javascript.  I didn't test this, but here's the general idea:

script type=text/javascript
  window.emailFieldCount = 1;
  function addField() {
var div = document.getElementById(fieldContainer);
div.innerHTML += 'input name=email' + ++window.emailFieldCount +
' /br /';
  }
/script
div id=fieldContainer
 input name=email1 /br /
/div
a href=javascript:addField();add field/a

Walking through the code, we've got a single field hard coded in the
page, along with a field count stored in a variable
(window.emailFieldCount), which is initalized to one (because of the
one hard coded field).  When you click the 'add field' link, the
addField() function is called, which find the div that contains the
input fields, and adds another field to the end, incrementing the
field count variable and using it to set the field name to be unique.
I've opted to use innerHTML rather than the DOM for appending the
fields for simplicity's sake; either should work.

This is a first little window into building javascript RIAs, where the
entire app no longer resides on the server, but part of the UI
controller has moved to the client.

cheers,
barneyb

On Sat, 26 Mar 2005 14:01:16 -0500, Rick Faircloth
[EMAIL PROTECTED] wrote:
 Hi, Barney...

 I think it was you, perhaps, who suggested the same
 approach to dynamically adding CFFILE fields to a page
 so that any number of photos could be uploaded at once.

 In the email below, you suggest adding a button/link to click
 so another field would be added for email addresses.

 What the code overview on this...just have the page submit
 back to itself, check a variable of some sort, and if it's a certain
 value have another field show up?

 Care to elaborate on the process you're thinking of?

 Rick

--
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 50 invites.



~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200102
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: just noticed this when validating email

2005-03-26 Thread Barney Boisvert
Flash != RIA, and RIA != Flash.  Flash does happen to be one of the
more common means of building RIAs, but it's not the only one.  I
don't really have any good JS howtos to point you at.  I'm always a
fan of books for hard-core concept learning, so I'd check out your
local book store.

cheers,
barneyb

On Sat, 26 Mar 2005 15:08:36 -0500, Rick Faircloth
[EMAIL PROTECTED] wrote:
 Nice Barney...I a total JavaScript novice, but I'll have a go
 at implementing this.
 
 I'm very interested RIA's and have tried with Flash with
 each version that comes out...but I just hate the interface,
 even with the enhancements for developers in 2004.
 
 Perhaps I should just bite the bullet and learn JavaScript...
 
 If I were embarking on learning JavaScript without any knowledge
 of it, what resource would you recommend I use?
 Is there a JavaScript for Dummies type resource out there?
 
 Thanks for the insight!
 
 Rick


-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 50 invites.

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200107
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: just noticed this when validating email

2005-03-26 Thread Will Tomlinson
Flash != RIA, and RIA != Flash.  Flash does happen to be one of the
more common means of building RIAs, but it's not the only one.  I
don't really have any good JS howtos to point you at.  I'm always a
fan of books for hard-core concept learning, so I'd check out your
local book store.



This is all interesting. Thanks! 

As for javascript, my first programming experience has been with CF. It's a 
good/bad thing because now anything I come in contact with other than CF seems 
to pale in comparison w/learning curves. Especially JS! I wish everyone would 
convert over to cf and I'd be much happier!  lol!

Thanks,

Will

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200111
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: just noticed this when validating email

2005-03-26 Thread Jared Rypka-Hauer - CMG, LLC
But Will...

JS is client-side, and CF is server-side...

The whole universe could convert to CF (and I'd probably be out of a
job!) and we'd still need JS or something like it (unless, with the
mass conversion, MM created a CF-based browser that could use CF
client-side too).

JS is a C++ or Java-like client side language for interacting with the
DOM (Document Object Model) on the client-side. The DOM is a
particular way of looking at browser-based documents, and recognizes
all the HTML elements and a few other widgets and gizmos (like the
Window object or the Alert object, or the Opener reference) as
objects that comprise documents that comprise the contents of
windows within a navigator object (although the navigator may be
pasee by now).

With JavaScript, you can create functions, and even instantiate
objects... you can use the event attributes of some objects (like the
onClick method of a link or a button) to trigger those functions. Once
you get a handle on some objects and their methods and properties,
writing complex client-side code for anything from dynamic HTML to
complex form validation, is really not that terribly hard. It's just a
matter of learning some best-practices and the syntax of the language.

I'd HIGHLY recommend the JavaScript Bible by Goodman  Morrison, and
I'd recommend that you do the examples. It's one of the few such books
that makes both an excellent tutorial AND reference resource.

Laterz,
J


On Sat, 26 Mar 2005 19:47:44 -0400, Will Tomlinson [EMAIL PROTECTED] wrote:
 Flash != RIA, and RIA != Flash.  Flash does happen to be one of the
 more common means of building RIAs, but it's not the only one.  I
 don't really have any good JS howtos to point you at.  I'm always a
 fan of books for hard-core concept learning, so I'd check out your
 local book store.
 
 
 This is all interesting. Thanks!
 
 As for javascript, my first programming experience has been with CF. It's a 
 good/bad thing because now anything I come in contact with other than CF 
 seems to pale in comparison w/learning curves. Especially JS! I wish everyone 
 would convert over to cf and I'd be much happier!  lol!
 
 Thanks,
 
 Will
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200118
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54