Re: [ACFUG Discuss] Another Question From Rip Van Winkle:Which Book?

2008-02-18 Thread Shifang (Frank) Sun
Another option might be to look at what these Javascript libraries
have to offer:

Prototype and script.aculo.us
http://www.pragprog.com/titles/cppsu

These are not just for UI niceties. They handle a lot of the browser
issues correctly and transparently.

On Feb 18, 2008 11:10 AM, Peyton Todd [EMAIL PROTECTED] wrote:
 I'm just about to head to the bookstore looking for an update to the
 O'Reilly book. I've always loved O'Reilly books. But real quick: Does anyone
 have a recommendation for some other book that would deal with which
 properties - methods - collections are supported by which browser?


 -Original Message-
 From: Steven Ross
 Sent: Feb 18, 2008 10:41 AM
 To: discussion@acfug.org
 Subject: Re: [ACFUG Discuss] Another Question From Rip Van Winkle

 never had any issues using getElementById (yes casing was wrong)...


 On Mon, Feb 18, 2008 at 10:37 AM, Peyton Todd [EMAIL PROTECTED]
 wrote:

 
  Steven, did mean Firefox supports *parentNode* instead of getElementById?
 My Firefox always complains of an error whenever it sees getElementById.
 
  Or is there perhaps a different spelling for Firefox? (not likely, right?)
 The last letter in getElementById is lower case, not upper case as you have
 it. But of course you meant to type it as lower case, right?
 
 
 
  -Original Message-
  From: Steven Ross
  Sent: Feb 18, 2008 10:16 AM
  To: discussion@acfug.org
  Subject: Re: [ACFUG Discuss] Another Question From Rip Van Winkle
 
 
  I have been using YUI (yahoo) library, it works well and has some nice
 built in cross browser functionality.
 
 
 
  firefox supports getElementByID and the childNodes property... they
 performa a little differently than in IE.
 
 
 
  On Mon, Feb 18, 2008 at 10:11 AM, Peyton Todd [EMAIL PROTECTED]
 wrote:
 
  
  
   First, I believe I already have Firebug: when Firefox tells me I have an
 error (lower righthand corner) I can click on that and see lots of info
 about it; and which I click on the '^' in that panel, it morphs into a
 window with 'Firebug' in its title. But I don't see how that helps me with
 navigation in the actual code I'm writing. Or do you mean navigation as in
 exploring the document while I'm debugging?
  
   Second, Doug, which of those frameworks would you recommend? In its
 documentation, Adobe refers to Spry from time to time...
  
  
   I still have my question about how to re-write my particular functions
 (or properties to be precise) Firefox-style. Thanks for the info that
 parentNode = parentElement, but what about the other two?
  
   Incidentally, to most of you write web pages full of code like 'if IE to
 this, if NS do that'? I hope there's a way to escape from that! I've had a
 free ride on this so far since all my websites belonged to an INTRAnet
 inside a NYC goverment agency which  standardized on IE...
  
  
  
  
   Or is that what a framework would encapsulate? And if I use that, would
 I be able to read my own code?
  
  
  
  
  
   -Original Message-
   From: Douglas Knudsen
   Sent: Feb 18, 2008 9:55 AM
   To: discussion@acfug.org
   Subject: Re: [ACFUG Discuss] Another Question From Rip Van Winkle
  
   I suggest looking at using a framework.  This would be a Good Thing as
 it would encapsulate these issues for you.  Frameworks for JS include Spry,
 Dojo, JQuery, and the list could go on and on.
  
   DK
  
  
   On Feb 18, 2008 9:44 AM, Steven Ross [EMAIL PROTECTED] wrote:
  
First go get firebug for firefox... that will help you with the dom
 navigation.
   
   
Firefox parentElement = parentNode
   
   
   
   
   
   
   
   
   
On Mon, Feb 18, 2008 at 9:16 AM, Peyton Todd
 [EMAIL PROTECTED] wrote:
   
 Hello again from the CF5 programmer trying to catch up.

 I always used to write for Internet Explorer, and did so again after
 my return to programming a few months ago, resulting in what is by now a
 rather complex site. Many CF (and other internet-based) programmers have
 told me since then that I should have written for Firefox, and I now wish I
 had, because of it's debugging abilities. But...

 How easy will it be to convert my existing code to run on Firefox?
 Specifically, there are three functions I'm making heavy use of:

 1. getElementById
 2. parentElement
 3. children[]

 According to my latest DOM book (O'Reilly, published 1998 - yes, I
 know I need a new one) none of these exists in Netscape (same as Firefox,
 right?). And sure enough I get error messages at least with the first one (I
 never get past there to the others). So my question is:

 What is the Firefox way to do each of them? (According to my
 O'Reilly book, document.all[] doesn't exist in Netscape, either.)

 One catch is: I would very much like to avoid giving unique names to
 everything, for two reasons:

 1. There are lots and lots of them. This is a roll-my-own
 HIERARCHICAL grid of sorts with buttons to insert and delete new rows on
 

Re: [ACFUG Discuss] regex help

2007-06-05 Thread Shifang (Frank) Sun

I use this: http://regexlib.com/RETester.aspx

On 6/5/07, John Mason [EMAIL PROTECTED] wrote:

Is there a good regex testing tool out there. I tend to test straight off my
cf code which is cumbersome at times.

John
[EMAIL PROTECTED]


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dean H. Saxe
Sent: Tuesday, June 05, 2007 1:15 PM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] regex help

FWIW, this is an untested regex from off the top of my head...

-dhs


Dean H. Saxe, CISSP,  CEH
[EMAIL PROTECTED]
[T]he people can always be brought to the bidding of the leaders.
This is easy. All you have to do is to tell them they are being attacked,
and denounce the pacifists for lack of patriotism and exposing the country
to danger. It works the same in every country.
 --Hermann Goering, Hitler's Reich-Marshall at the Nuremberg Trials


On Jun 5, 2007, at 1:12 PM, Dean H. Saxe wrote:

 Don't need the lookarounds

 Use this regex and save $1 and $3 /(a.*?http://([^/]+/)+[^?]+?)
 ([^=]+=\S+\s+\S?)/gx

 Then use this on $2 to replace the spaces s/\s/+/gx.

 Then push $1 and $2 back together to get your whole string.

 That's the perl way...

 -dhs


 Dean H. Saxe, CISSP, CEH
 [EMAIL PROTECTED]
 What is objectionable, what is dangerous about extremists is not that
 they are extreme, but that they are intolerant.
 -- Robert F. Kennedy, 1964


 On Jun 5, 2007, at 12:58 PM, Steven Ross wrote:

 I was actually just looking for a regex solution to parsing up many
 lines of text, some of which contain urls. And if those url's have a
 space on the query string to replace those spaces on the query string
 with the + character.

 I could use CF but, was trying to just get the regex. Possbly using a
 lookahead or lookbehind assertion.

 -Steven

 On 6/5/07, Ajas Mohammed [EMAIL PROTECTED] wrote:
 do you plan to save the complete url in a variable or just search
 keyword in a variable?  For example varUrl = a
 href=http://blah.com?
 search=Some
 Lingering Suspicion target=_blankA Lingering Suspicion/a or
 varUrl = Some Lingering Suspicion

 Please clarify.

 Ajas.


 On 6/5/07, Steven Ross  [EMAIL PROTECTED] wrote:
  in this string:
 
  pb15) a href= http://blah.com?search=Some Lingering
 Suspicion
  target=_blankA Lingering Suspicion/a/b/p
 
  i want to search for the spaces inside:
 
  ?search=
 
  and replace those spaces with + so it should end up looking
 like this:
 
  ?search=Some+Lingering+Suspicion
 
  Can this be done?
 
  thanks,
 
  Steven
 
 
 
  --
  Steven Ross
  web application  interface developer http://www.zerium.com
  [mobile] 404-488-4364 [fax] 267-482-4364
 
 
 
 -
  Annual Sponsor FigLeaf Software - http://www.figleaf.com
 
  To unsubscribe from this list, manage your profile @
  http://www.acfug.org?fa=login.edituserform
 
  For more info, see http://www.acfug.org/mailinglists Archive @
 http://www.mail-archive.com/discussion%40acfug.org/
  List hosted by http://www.fusionlink.com
 
 -
 
 
 
 



 --
 Ajas Mohammed /
 http://ajashadi.blogspot.com
 No matter what, find a way. Because thats what winners do.
 -
 Annual Sponsor - Figleaf Software

 To unsubscribe from this list, manage your profile @
 http://www.acfug.org?fa=login.edituserform

 For more info, see http://www.acfug.org/mailinglists Archive @
 http://www.mail-archive.com/discussion%40acfug.org/
 List hosted by FusionLink
 -


 --
 Steven Ross
 web application  interface developer
 http://www.zerium.com
 [mobile] 404-488-4364
 [fax] 267-482-4364


 -
 Annual Sponsor FigLeaf Software - http://www.figleaf.com

 To unsubscribe from this list, manage your profile @ http://
 www.acfug.org?fa=login.edituserform

 For more info, see http://www.acfug.org/mailinglists
 Archive @ http://www.mail-archive.com/discussion%40acfug.org/
 List hosted by http://www.fusionlink.com
 -






 -
 Annual Sponsor FigLeaf Software - http://www.figleaf.com

 To unsubscribe from this list, manage your profile @http://
 www.acfug.org?fa=login.edituserform

 For more info, see http://www.acfug.org/mailinglists
 Archive @ http://www.mail-archive.com/discussion%40acfug.org/
 List hosted by http://www.fusionlink.com
 -






-
Annual Sponsor FigLeaf Software - http://www.figleaf.com

To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ 

Re: [ACFUG Discuss] CF application -- UML or any other diagram

2007-05-24 Thread Shifang (Frank) Sun

I've searched high and low for free UML tools and found the best of them to
be NetBeans (with UML module). Recently we purchased MagicDraw UML at work.
It's the best UML tool yet, way better than any of the free ones.

--Frank

On 5/24/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:



Try Poseidon or Argo for free UML tools. If you're just doing old school
cfm style stuff you might want to stick with sequence diagrams. If you're
doing a more modern approach you might want to add class/component diagrams.


Even though you can use Visio for doing UML, I don't recommend it. Here's
why, the tools like Poseidon and Argo just have the core UML things and do
things like Java code stubbing from class diagrams. Visio is a swiss army
knife drawing tool, not a UML tool.


Shawn Gorrell
Web Development Applications Architect
Federal Reserve Bank - Atlanta
Office (404)  498-8449


 *Ajas Mohammed [EMAIL PROTECTED]*
Sent by: [EMAIL PROTECTED]

05/23/2007 06:52 PM  Please respond to
discussion@acfug.org

  To
discussion@acfug.org  cc

 Subject
[ACFUG Discuss] CF application -- UML or any other diagram






Hi,
   I wanted to come up with a diagram for our web appliation written in CF
and I was wondering what other people use for this All we have is cfm
pages. I thought of UML but then is it appropriate to use it for web
application? Anyone has experience doing diagrams explaining flow of
application?

--
Ajas Mohammed /*
**http://ajashadi.blogspot.com* http://ajashadi.blogspot.com/
-
Annual Sponsor - *Figleaf Software* http://www.figleaf.com/

To unsubscribe from this list, manage your profile @ *
**http://www.acfug.org?fa=login.edituserform*http://www.acfug.org?fa=login.edituserform

For more info, see 
*http://www.acfug.org/mailinglists*http://www.acfug.org/mailinglists
Archive @ 
*http://www.mail-archive.com/discussion%40acfug.org/*http://www.mail-archive.com/discussion%40acfug.org/
List hosted by *FusionLink* http://www.fusionlink.com/
-

-
Annual Sponsor - Figleaf Software http://www.figleaf.com

To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by FusionLink http://www.fusionlink.com
-





-
Annual Sponsor FigLeaf Software - http://www.figleaf.com

To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform


For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-



Re: [ACFUG Community] RE: [ACFUG Discuss] CSS to cfinclude

2007-03-14 Thread Shifang (Frank) Sun

I agree with Dean. I just didn't know how to put it in words so I bit
my tongue.

On 3/14/07, Dean H. Saxe [EMAIL PROTECTED] wrote:

Is it Friday yet?  Or has ACFUG just become Robert's personal tech
support line?

Don't get me wrong, I'm all for helping fellow members of the
community, that's why Cameron, Nathan and I originally founded
ACFUG.  But every thread lately is dedicated to solving Robert's
latest problem.  I understand you don't have the funds to pay someone
else to do this for you or to take a class.  However, I am beginning
to wonder if Robert has the ability to do the work on his own, either.

Perhaps this isn't your strong suite and its time to cut your losses
and find another way to solve this particular business problem?  Is
your time best spent on trying to figure out CF, HTML, CSS and
AbleCommerce or growing your business in other ways?  These are the
questions I'd be asking myself if it was my business...

Yeah, that was harsh, but tough love is sometimes the best love of all.

-dhs


Dean H. Saxe, CISSP, CEH
[EMAIL PROTECTED]
What is objectionable, what is dangerous about extremists is not
that they are extreme, but that they are intolerant.
 -- Robert F. Kennedy, 1964



-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform


For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-





Re: [ACFUG Discuss] CFEclipse

2007-01-26 Thread Shifang (Frank) Sun

Aptana + CFEclipse 1.3 + Eclipse 3.2.x work wonders!

On 1/26/07, Teddy Payne [EMAIL PROTECTED] wrote:

If you have not already read it on the blogosphere, CFEclipse 1.3 beta is
out. http://www.cfeclipse.org

The have refactored their site, which has a nice feel to it.

CFEclipse 1.3 works on 3.1.2, 3.2.1 and 3.3M4 without any issues.

--
Teddy R. Payne
G-Talk: [EMAIL PROTECTED]

Adobe Certified ColdFusion MX 7 Developer
Atlanta ColdFusion User Group (ACFUG)
Atlanta Flash  Flex User Group (AFFUG)
-
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @
http://www.mail-archive.com/discussion%40acfug.org/
List hosted by FusionLink
-



-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform


For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-





Re: [ACFUG Discuss] CFEclipse

2007-01-26 Thread Shifang (Frank) Sun

What's good about Aptana: being able to use Outline view for css and
javascript is a plus for me. Also, using RDS (ftp or sftp) inside
Aptana without having to use the CFEclipse + Flex plugin hack is
another big plus.

On 1/26/07, Ajas Mohammed [EMAIL PROTECTED] wrote:

Just curious as to what tasks you are performing using Aptana? I know u
could do lots of stuff like css, html , javascript etc but I want to get an
idea of your exprience and how it helped you.

Thanks,

Ajas Mohammed.



On 1/26/07, Shifang (Frank) Sun [EMAIL PROTECTED] wrote:

 Aptana + CFEclipse 1.3 + Eclipse 3.2.x work wonders!

 On 1/26/07, Teddy Payne [EMAIL PROTECTED] wrote:
  If you have not already read it on the blogosphere, CFEclipse 1.3 beta
is
  out. http://www.cfeclipse.org
 
  The have refactored their site, which has a nice feel to it.
 
  CFEclipse 1.3 works on 3.1.2, 3.2.1 and 3.3M4 without any issues.
 
  --
  Teddy R. Payne
  G-Talk: [EMAIL PROTECTED]
 
  Adobe Certified ColdFusion MX 7 Developer
  Atlanta ColdFusion User Group (ACFUG)
  Atlanta Flash  Flex User Group (AFFUG)
 
-
  To unsubscribe from this list, manage your profile @
  http://www.acfug.org?fa=login.edituserform
 
  For more info, see http://www.acfug.org/mailinglists
  Archive @
  http://www.mail-archive.com/discussion%40acfug.org/
  List hosted by FusionLink
 
-



-
 To unsubscribe from this list, manage your profile @
 http://www.acfug.org?fa=login.edituserform

 For more info, see http://www.acfug.org/mailinglists
 Archive @
http://www.mail-archive.com/discussion%40acfug.org/
 List hosted by http://www.fusionlink.com

-






-

To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @
http://www.mail-archive.com/discussion%40acfug.org/
List hosted by FusionLink
-



-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform


For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-