Re: CF Builder 3

2015-01-15 Thread Casey Dougall

My memory isn't what it use to be...

Good thing we have a nice archive now...

https://www.copy.com/s/nhIbHZYZnmPN/ColdFusion%20Repo
On Jan 15, 2015 4:20 PM, "Michael Grant"  wrote:

>
> I seem to remember TopStyle being on the CF5 discs along with CF Studio. Or
> was it CF 6, which was MX wasn't it? I can't remember. That was ages ago.
>
> What I do remember is that I absolutely loved the RDS features on CF
> Studio. I was gutted when I had to stop using CF Studio for lack of
> compatibility when I upgraded to a newer version of Windows.
>
> On Wed, Jan 14, 2015 at 9:46 PM, M.A. Kruger 
> wrote:
>
> >
> > Andrew,
> >
> > I seem to remember that topstyle shipped "with" cf studio and with
> > homesite. how could homesite be a later version of topstyle?
> >
> > Sent from my iPhone
> >
> > > On Jan 14, 2015, at 7:16 PM, Andrew Scott 
> > wrote:
> > >
> > >
> > > And for fuck sake my name is not Scott, but then if you can get that
> > wrong
> > > you can get your facts wrong about Studio as well.
> > >
> > > Regards,
> > > Andrew Scott
> > > WebSite: http://www.andyscott.id.au/
> > > Google+:  http://plus.google.com/113032480415921517411
> > >
> > >
> > > On Thu, Jan 15, 2015 at 12:15 PM, Andrew Scott <
> andr...@andyscott.id.au>
> > > wrote:
> > >
> > >> Wil,
> > >>
> > >> I am not sadly misinformed at all.
> > >>
> > >> Nick Bradley created a product called Top Style, which I used
> > extensively
> > >> in those days. Allaire then purchased that program from Nick and
> > rebadged
> > >> it as Homesite, Homesite Studio was the first version which followed
> by
> > the
> > >> free version called Homesite. Studio did things that Homesite could
> not
> > do.
> > >>
> > >> Studio was then let go in favor of making Homesite more powerful,
> hence
> > >> HomeSite+, problem was that the best features of Studio where lost
> > forever.
> > >>
> > >> So how is that misinformed?
> > >>
> > >>
> > >>
> > >>
> > >>
> > >> Regards,
> > >> Andrew Scott
> > >> WebSite: http://www.andyscott.id.au/
> > >> Google+:  http://plus.google.com/113032480415921517411
> > >>
> > >>
> > >> On Thu, Jan 15, 2015 at 11:24 AM, Wil Genovese 
> > >> wrote:
> > >>
> > >>>
> > >>> Scott,
> > >>>
> > >>> You are sadly misinformed.  Nick Bradbury created Homesite and then
> > sold
> > >>> it to Allaire. Later Nick also created Top Style as a stand alone CSS
> > >>> Editor.
> > >>>
> > >>> Homesite was originally developed in Borland Delphi in 1995 by Nick
> > >>> Bradbury. Bradbury wrote HomeSite after using HotDogand being
> > frustrated
> > >>> with it. In March 1997 Allaire Corporation from Cambridge,
> > Massachusetts
> > >>> (founded by brothers Jeremy and J.J. Allaire) acquired HomeSite and
> > Nick
> > >>> Bradbury joined Allaire. After leaving Allaire in 1998, Bradbury went
> > on to
> > >>> work on the CSS/xHTML editor TopStyle and the RSS reader FeedDemon.
> > >>> Macromedia acquired Allaire in 2001 and was in turn acquired by Adobe
> > in
> > >>> 2005.
> > >>>
> > >>> Even Wikipedia has it right
> > >>> http://en.wikipedia.org/wiki/Macromedia_HomeSite
> > >>>
> > >>>
> > >>>
> > >>>
> > >>> Wil Genovese
> > >>>
> > >>> One man with courage makes a majority.
> > >>> -Andrew Jackson
> > >>>
> > >>> A fine is a tax for doing wrong. A tax is a fine for doing well.
> > >>>
> >  On Jan 14, 2015, at 6:18 PM, Andrew Scott 
> > >>> wrote:
> > 
> > 
> >  And it was called Top Style before Allaire bought it and rebranded
> it
> > as
> >  Homesite Studio in 1996.
> > 
> >  Regards,
> >  Andrew Scott
> >  WebSite: http://www.andyscott.id.au/
> >  Google+:  http://plus.google.com/113032480415921517411
> > 
> > 
> >  On Thu, Jan 15, 2015 at 11:16 AM, Andrew Scott <
> > andr...@andyscott.id.au
> > 
> >  wrote:
> > 
> > > Sorry that should be 1996 not 1995
> > >
> > > Regards,
> > > Andrew Scott
> > > WebSite: http://www.andyscott.id.au/
> > > Google+:  http://plus.google.com/113032480415921517411
> > >
> > >
> > > On Thu, Jan 15, 2015 at 11:14 AM, Andrew Scott <
> > >>> andr...@andyscott.id.au>
> > > wrote:
> > >
> > >> I don't know about pre dating it, I have been using Studio since
> > 1995,
> > >> when Allaire purchased it. They then decided to release Homesite
> and
> > >>> then
> > >> Homesite+
> > >>
> > >> The only difference between the two, was that Studio had far more
> > >> features. When Studio was discontinued, they then decided to
> release
> > >> homesite+
> > >>
> > >> I still have the Homesite Studio Disc with the copyright of 1994
> on
> > >>> it.
> > >>
> > >>
> > >> Regards,
> > >> Andrew Scott
> > >> WebSite: http://www.andyscott.id.au/
> > >> Google+:  http://plus.google.com/113032480415921517411
> > >>
> > >>
> > >> On Thu, Jan 15, 2015 at 4:51 AM, Dave Watts 
> > >>> wrote:
> > >>
> > >>>
> >  I can never understand why Homesite was 

Re: CF Builder 3

2015-01-15 Thread Michael Grant

I seem to remember TopStyle being on the CF5 discs along with CF Studio. Or
was it CF 6, which was MX wasn't it? I can't remember. That was ages ago.

What I do remember is that I absolutely loved the RDS features on CF
Studio. I was gutted when I had to stop using CF Studio for lack of
compatibility when I upgraded to a newer version of Windows.

On Wed, Jan 14, 2015 at 9:46 PM, M.A. Kruger  wrote:

>
> Andrew,
>
> I seem to remember that topstyle shipped "with" cf studio and with
> homesite. how could homesite be a later version of topstyle?
>
> Sent from my iPhone
>
> > On Jan 14, 2015, at 7:16 PM, Andrew Scott 
> wrote:
> >
> >
> > And for fuck sake my name is not Scott, but then if you can get that
> wrong
> > you can get your facts wrong about Studio as well.
> >
> > Regards,
> > Andrew Scott
> > WebSite: http://www.andyscott.id.au/
> > Google+:  http://plus.google.com/113032480415921517411
> >
> >
> > On Thu, Jan 15, 2015 at 12:15 PM, Andrew Scott 
> > wrote:
> >
> >> Wil,
> >>
> >> I am not sadly misinformed at all.
> >>
> >> Nick Bradley created a product called Top Style, which I used
> extensively
> >> in those days. Allaire then purchased that program from Nick and
> rebadged
> >> it as Homesite, Homesite Studio was the first version which followed by
> the
> >> free version called Homesite. Studio did things that Homesite could not
> do.
> >>
> >> Studio was then let go in favor of making Homesite more powerful, hence
> >> HomeSite+, problem was that the best features of Studio where lost
> forever.
> >>
> >> So how is that misinformed?
> >>
> >>
> >>
> >>
> >>
> >> Regards,
> >> Andrew Scott
> >> WebSite: http://www.andyscott.id.au/
> >> Google+:  http://plus.google.com/113032480415921517411
> >>
> >>
> >> On Thu, Jan 15, 2015 at 11:24 AM, Wil Genovese 
> >> wrote:
> >>
> >>>
> >>> Scott,
> >>>
> >>> You are sadly misinformed.  Nick Bradbury created Homesite and then
> sold
> >>> it to Allaire. Later Nick also created Top Style as a stand alone CSS
> >>> Editor.
> >>>
> >>> Homesite was originally developed in Borland Delphi in 1995 by Nick
> >>> Bradbury. Bradbury wrote HomeSite after using HotDogand being
> frustrated
> >>> with it. In March 1997 Allaire Corporation from Cambridge,
> Massachusetts
> >>> (founded by brothers Jeremy and J.J. Allaire) acquired HomeSite and
> Nick
> >>> Bradbury joined Allaire. After leaving Allaire in 1998, Bradbury went
> on to
> >>> work on the CSS/xHTML editor TopStyle and the RSS reader FeedDemon.
> >>> Macromedia acquired Allaire in 2001 and was in turn acquired by Adobe
> in
> >>> 2005.
> >>>
> >>> Even Wikipedia has it right
> >>> http://en.wikipedia.org/wiki/Macromedia_HomeSite
> >>>
> >>>
> >>>
> >>>
> >>> Wil Genovese
> >>>
> >>> One man with courage makes a majority.
> >>> -Andrew Jackson
> >>>
> >>> A fine is a tax for doing wrong. A tax is a fine for doing well.
> >>>
>  On Jan 14, 2015, at 6:18 PM, Andrew Scott 
> >>> wrote:
> 
> 
>  And it was called Top Style before Allaire bought it and rebranded it
> as
>  Homesite Studio in 1996.
> 
>  Regards,
>  Andrew Scott
>  WebSite: http://www.andyscott.id.au/
>  Google+:  http://plus.google.com/113032480415921517411
> 
> 
>  On Thu, Jan 15, 2015 at 11:16 AM, Andrew Scott <
> andr...@andyscott.id.au
> 
>  wrote:
> 
> > Sorry that should be 1996 not 1995
> >
> > Regards,
> > Andrew Scott
> > WebSite: http://www.andyscott.id.au/
> > Google+:  http://plus.google.com/113032480415921517411
> >
> >
> > On Thu, Jan 15, 2015 at 11:14 AM, Andrew Scott <
> >>> andr...@andyscott.id.au>
> > wrote:
> >
> >> I don't know about pre dating it, I have been using Studio since
> 1995,
> >> when Allaire purchased it. They then decided to release Homesite and
> >>> then
> >> Homesite+
> >>
> >> The only difference between the two, was that Studio had far more
> >> features. When Studio was discontinued, they then decided to release
> >> homesite+
> >>
> >> I still have the Homesite Studio Disc with the copyright of 1994 on
> >>> it.
> >>
> >>
> >> Regards,
> >> Andrew Scott
> >> WebSite: http://www.andyscott.id.au/
> >> Google+:  http://plus.google.com/113032480415921517411
> >>
> >>
> >> On Thu, Jan 15, 2015 at 4:51 AM, Dave Watts 
> >>> wrote:
> >>
> >>>
>  I can never understand why Homesite was so popular, it's bigger
> >>> brother was
>  the better of the two. Which was Studio.
> >>>
> >>> My memory here is a little hazy, as I haven't used either one for a
> >>> long time, but I recall it being a little more complicated than
> that.
> >>>
> >>> As Wil mentioned, Homesite predated CF Studio. Allaire purchased it
> >>> and kept Nick on to make future versions. The next version was CF
> >>> Studio, which was basically Homesite with RDS functionality and
> >>> CF-specific code generato

Re: validating email CF11

2015-01-15 Thread Dave Watts

>  isValid("email","name@gmail") is returning a "Yes"
>
> Am I missing something or is this a bug. As far as I know CF9 would have 
> returned NO

Well, it's not really a bug. Within certain contexts, that would in
fact be a valid email address. It obviously wouldn't be a valid email
address on a public network, but on an internal network you can have
all sorts of wacky things.

And validation of public addresses is a difficult thing, due to
constant changes and the flexibility of characters allowed in email
addresses for both the local and domain parts.

I recommend that you not "validate" email addresses at all! As an
end-user, I get very frustrated when I encounter forms that tell me
that my (perfectly valid) email address is not valid (not
dwa...@figleaf.com, but I have many email addresses). Taking a quick
look, all of the validation functions provided in this thread would
fail with those email addresses. I don't think any of them allow plus
signs, for example, which are (a) valid characters and (b) used more
often than you might think.

Instead, consider simple, user-friendly alternatives. Perhaps you
could just look for an @ character with preceding and following
characters, then validate it by attempting to send an email to it. Use
that email to allow the user to proceed, if it's something important,
or tell the user that they should have received an email and if they
don't get it, there may be a problem with their email address. Ask the
user to enter it twice, if you like.

Dave Watts, CTO, Fig Leaf Software
1-202-527-9569
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Service-Disabled Veteran-Owned Small Business
(SDVOSB) 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:359975
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: validating email CF11

2015-01-15 Thread Byron Mann

DNS lookup might suffice just to verify the domain is valid (ie,
registered).


~|
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:359974
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: validating email CF11

2015-01-15 Thread Scott Slone

You might want to look at Mailgun -

http://www.mailgun.com/email-validation

they have jquery implementation (https://github.com/mailgun/validator-demo)

/S

> Ben 
> January 15, 2015 at 9:35 AM
> Given how often TLDs are changing is there a way in CF to do a 
> verification that the domain name exists? That would seem simpler.
>
> Ben
>
>
> 

~|
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:359973
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: validating email CF11

2015-01-15 Thread Ben

Given how often TLDs are changing is there a way in CF to do a verification 
that the domain name exists?  That would seem simpler. 

Ben

> On Jan 15, 2015, at 10:06 AM, Byron Mann  wrote:
> 
> 
> With all the new top level domains available now (), you are better with a
> regex that matches by size, instead of adding specific strings beyond 3 or
> 4 characters.
> 
> Just change the {2,4} to something like {2,254}, which should fairly
> "future" proof the regex.
> 
> I believe the RFC for DNS has a maximum length of 253 for a domain, while
> the RFC for an email address is 254 for max length.
> 
> http://en.wikipedia.org/wiki/List_of_Internet_top-level_domains#ICANN-era_generic_top-level_domains
> 
> http://en.wikipedia.org/wiki/Email_address
> 
> Interesting to note, that many special characters are allowed in the local
> part and IPV4 and IPV6 addresses are allowed for the domain part of an
> email address. The first regex Robert provided will handle most typical
> email addresses however.
> 
> I don't think I've seen an email with an IP domain in like forever, but if
> IPV6 every takes hold, it's very possible it would become typical at some
> point.
> 
> ~Byron
> 
> 
> 

~|
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:359972
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: validating email CF11

2015-01-15 Thread Russ Michaels

I would avoid IsValid() it is not reliable and has been blogged about.
try this
https://github.com/teamcfadvance/ValidateThis


On Thu, Jan 15, 2015 at 2:48 PM, Rob Voyle  wrote:

>
> Hi Folks
>
> Using CF11
>  isValid("email","name@gmail") is returning a "Yes"
>
> Am I missing something or is this a bug. As far as I know CF9 would have
> returned NO
>
> Rob
>
>
> Robert J. Voyle, Psy.D.
> Director, Clergy Leadership Institute
> For Coaching and Training in Appreciative Inquiry
> http://www.clergyleadership.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:359971
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: validating email CF11

2015-01-15 Thread Byron Mann

With all the new top level domains available now (), you are better with a
regex that matches by size, instead of adding specific strings beyond 3 or
4 characters.

Just change the {2,4} to something like {2,254}, which should fairly
"future" proof the regex.

I believe the RFC for DNS has a maximum length of 253 for a domain, while
the RFC for an email address is 254 for max length.

http://en.wikipedia.org/wiki/List_of_Internet_top-level_domains#ICANN-era_generic_top-level_domains

http://en.wikipedia.org/wiki/Email_address

Interesting to note, that many special characters are allowed in the local
part and IPV4 and IPV6 addresses are allowed for the domain part of an
email address. The first regex Robert provided will handle most typical
email addresses however.

I don't think I've seen an email with an IP domain in like forever, but if
IPV6 every takes hold, it's very possible it would become typical at some
point.

~Byron


~|
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:359970
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: validating email CF11

2015-01-15 Thread Robert Harrison

Thanks,

I'm aware.  You can change that if you'd like, but so far from the 200 plus
sites I've done, I've never has a .museum address. It could happen; someone
does the museum sites :-)

If you want another that uses CF and allows museum, you could try the
function below... someone on the list gave me this ages ago. 




var isOK = false;
//supports new top level tlds
if (
REFindNoCase("^['_a-z0-9-]+(\.['_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*\.(([a
-z]{2,3})|(aero|coop|info|museum|name))$",arguments.email_address)) {
isOK = true;
}
return isOK;



Robert Harrison
Full Stack Developer
AIMG
rharri...@aimg.com
Main Office: 704-321-1234 ext.121
Direct Line: 516-302-4345
www.aimg.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:359969
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: validating email CF11

2015-01-15 Thread Rob Voyle

Thanks Robert
Your code limits TLD to 4 which would catch ".museum"
What are people setting as a limit on TLDs

Rob

On 15 Jan 2015 at 9:53, Robert Harrison wrote:

> 
> I had similar issues with this... use the script below instead of
> CF.  You
> can do an onBlur="validateEmail();" on the email field. 
> 
> 
> function validateEmail(){
> var emailRegEx =
> /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
> str = document.userform.email.value;
> if(!str.match(emailRegEx)){
> alert("Please enter a valid email address
> (n...@domain.com).");
> userform.email.focus();
> return false;
> }
> }
> 



~|
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:359968
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: validating email CF11

2015-01-15 Thread Robert Harrison

I had similar issues with this... use the script below instead of CF.  You
can do an onBlur="validateEmail();" on the email field. 


function validateEmail(){
var emailRegEx =
/^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
str = document.userform.email.value;
if(!str.match(emailRegEx)){
alert("Please enter a valid email address
(n...@domain.com).");
userform.email.focus();
return false;
}
}

Robert Harrison
Full Stack Developer
AIMG
rharri...@aimg.com
Main Office: 704-321-1234 ext.121
Direct Line: 516-302-4345
www.aimg.com



-Original Message-
From: Rob Voyle [mailto:robvo...@voyle.com] 
Sent: Thursday, January 15, 2015 9:49 AM
To: cf-talk
Subject: validating email CF11


Hi Folks

Using CF11
 isValid("email","name@gmail") is returning a "Yes"

Am I missing something or is this a bug. As far as I know CF9 would have
returned NO

Rob

  
Robert J. Voyle, Psy.D.
Director, Clergy Leadership Institute
For Coaching and Training in Appreciative Inquiry
http://www.clergyleadership.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:359967
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


validating email CF11

2015-01-15 Thread Rob Voyle

Hi Folks

Using CF11
 isValid("email","name@gmail") is returning a "Yes"

Am I missing something or is this a bug. As far as I know CF9 would have 
returned NO

Rob

  
Robert J. Voyle, Psy.D.
Director, Clergy Leadership Institute
For Coaching and Training in Appreciative Inquiry
http://www.clergyleadership.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:359966
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm