Being pretty new to Perl, and leaning toward CGI for most of my programming practice (only because I can think of more CGI types of applications I would like to write) I purchased a copy of "CGI Programming with perl" by O'Rilley to go with my "Programming Perl" while I wait for Llama 3 to be released (Soon I will be an O'Reilly library.) In my CGI book, I got to the JavaScript chapter. Reading through it got me thinking (yes, the rusty gears squeeeek.) Many home nodes warn against having javascrip on while visiting the community. Merlyn has even mentioned that he doesn't visit unknown sites with javascript on. I tried doing some of my surfing with javascript off, but have found that many sites that interest me are only available with java, including my bank's site. I know that it isn't very good programming practice to limit visitors based on the software they are running, or what options that they have turned on, but apparently it happens very frequently in the real world. I actually have a few questions I want to bring up for discussion.

1. Do you use javascript in your web development?
Why?
2. Do you surf the web with javascript on or off?
3. If you surf with it off, are there sites you turn it on for?

I know that alot of people will say that they use javascrips for for vaildation, if that is true, can you give me a strong arugment as to why you need to use javascript. I have found that it is possible to validate in your cgi scripts using simple regex (if you can call regex simple :~))
so please take a moment to ponder the questions I have brought before you and share with your brothers your thoughts on the topic.

Stuffy
That's my story, and I'm sticking to it, unless I'm wrong in which case I will probably change it ;~)

In reply to CGI and JavaScript by stuffy

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.