FAQ Sections - Feedback Wanted

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • dhtml

    FAQ Sections - Feedback Wanted

    Breaking up the FAQ has been discussed.



    I'm interested in doing this now. I propose something along the lines of:

    * Numbers
    * Windows and Frames
    * Forms

    I would like to hear feedback on this proposal.

    Garrett
  • Dr J R Stockton

    #2
    Re: FAQ Sections - Feedback Wanted

    In comp.lang.javas cript message <gco4fl$qnt$1@r egistered.motza rella.org>
    , Fri, 10 Oct 2008 10:47:31, dhtml <dhtmlkitchen@g mail.composted:
    >Breaking up the FAQ has been discussed.
    >
    >http://groups.google.com/group/comp....e_frm/thread/d
    >11878ddfb2ac89 2/
    >
    >I'm interested in doing this now. I propose something along the lines of:
    >
    >* Numbers
    >* Windows and Frames
    >* Forms
    >
    >I would like to hear feedback on this proposal.
    That will be the present sections 4 & 5 of <http://www.jibbering.com/faq
    /index.html>.

    Another category is those questions relating to ECMAScript/DOM without
    reference to anything visual or external :-
    5.13 How do I trim whitespace?
    5.17 How do I make a 10 second delay?
    5.20 My element is named myselect[], how do I access it?
    5.34 How do I access a property of an object using a string?
    5.25 How do I format the lastModified date with javascript?
    5.35 When should I use eval?
    5.36 Why doesn't the global variable "divId" always refer to the
    element with id="divId"?

    Another is communication beyond that inherent in ECMAScript and HTML :-
    5.3 How can I access the client-side filesystem?
    5.4 How can I see in javascript if a web browser accepts cookies?
    5.14 How do I force a reload from the server/prevent caching?
    5.15 How do I get a perl/asp/php variable into client-side javascript?
    5.39 What is Ajax?
    5.40 Why is my Ajax page not updated properly when using an HTTP GET
    request in Internet Explorer?


    Change
    5.12 How do I modify the current page in a browser?
    to
    5.12 How do I modify content in the current page?
    since the old wording might be thought to refer to page reloading or
    fetching a different page.

    In Section 2.3, for citation, it would be helpful of the internal
    headings were "numbered", perhaps by typing letters in the source :
    A. How to ask ...


    If a topic has N entries, and is to be divided with K levels throughout,
    then the number of entries in each leaf level must average the Kth root
    of N. In deciding the splitting, one should have a weak preference for
    leaves to be mostly of similar size.

    "Posting Code" has 72 twice.

    --
    (c) John Stockton, Surrey, UK. ?@merlyn.demon. co.uk Turnpike v6.05 MIME.
    Web <URL:http://www.merlyn.demo n.co.uk/- FAQish topics, acronyms, & links.
    Proper <= 4-line sig. separator as above, a line exactly "-- " (SonOfRFC1036)
    Do not Mail News to me. Before a reply, quote with ">" or "" (SonOfRFC1036)

    Comment

    • David Mark

      #3
      Re: FAQ Sections - Feedback Wanted

      On Oct 10, 1:47 pm, dhtml <dhtmlkitc...@g mail.comwrote:
      Breaking up the FAQ has been discussed.
      >
      http://groups.google.com/group/comp....wse_frm/thread...
      >
      I'm interested in doing this now. I propose something along the lines of:
      >
      * Numbers
      * Windows and Frames
      * Forms
      >
      I would like to hear feedback on this proposal.
      >
      Garrett
      Sounds good to me.

      Comment

      • Peter Michaux

        #4
        Re: FAQ Sections - Feedback Wanted

        On Oct 10, 10:47 am, dhtml <dhtmlkitc...@g mail.comwrote:
        Breaking up the FAQ has been discussed.
        >
        http://groups.google.com/group/comp....wse_frm/thread...
        >
        I'm interested in doing this now. I propose something along the lines of:
        >
        * Numbers
        * Windows and Frames
        * Forms
        >
        I would like to hear feedback on this proposal.
        >
        Garrett
        Are you maintaining the FAQ now?

        Peter

        Comment

        • dhtml

          #5
          Re: FAQ Sections - Feedback Wanted

          Peter Michaux wrote:
          On Oct 10, 10:47 am, dhtml <dhtmlkitc...@g mail.comwrote:
          >Breaking up the FAQ has been discussed.
          >>
          >
          Are you maintaining the FAQ now?
          >
          Yes.
          Peter

          --
          comp.lang.javas cript FAQ <URL: http://jibbering.com/faq/ >

          Comment

          • Peter Michaux

            #6
            Re: FAQ Sections - Feedback Wanted

            On Oct 10, 10:47 am, dhtml <dhtmlkitc...@g mail.comwrote:
            Breaking up the FAQ has been discussed.
            >
            http://groups.google.com/group/comp....wse_frm/thread...
            >
            I'm interested in doing this now. I propose something along the lines of:
            >
            * Numbers
            * Windows and Frames
            * Forms
            >
            I would like to hear feedback on this proposal.
            I don't see any benefit to breaking up the document. Better to focus
            on the actual content than worry about the packaging.

            Peter

            Comment

            • dhtml

              #7
              Re: FAQ Sections - Feedback Wanted

              Dr J R Stockton wrote:
              In comp.lang.javas cript message <gco4fl$qnt$1@r egistered.motza rella.org>
              , Fri, 10 Oct 2008 10:47:31, dhtml <dhtmlkitchen@g mail.composted:
              >Breaking up the FAQ has been discussed.
              >>
              >http://groups.google.com/group/comp....e_frm/thread/d
              >11878ddfb2ac89 2/
              >>
              >I'm interested in doing this now. I propose something along the lines of:
              >>
              >* Numbers
              >* Windows and Frames
              >* Forms
              >>
              >I would like to hear feedback on this proposal.
              >
              That will be the present sections 4 & 5 of <http://www.jibbering.com/faq
              /index.html>.
              >
              Another category is those questions relating to ECMAScript/DOM without
              reference to anything visual or external :-
              An 'Other' category?
              5.13 How do I trim whitespace?
              5.17 How do I make a 10 second delay?
              5.20 My element is named myselect[], how do I access it?
              That one seems like it belongs in 'Forms' section, to me.

              5.34 How do I access a property of an object using a string?
              5.25 How do I format the lastModified date with javascript?
              5.35 When should I use eval?
              5.36 Why doesn't the global variable "divId" always refer to the
              element with id="divId"?
              >
              Another is communication beyond that inherent in ECMAScript and HTML :-
              5.3 How can I access the client-side filesystem?
              5.4 How can I see in javascript if a web browser accepts cookies?
              Cookies is part of the DOM (document.cooki e). But then so are forms.
              5.14 How do I force a reload from the server/prevent caching?
              5.15 How do I get a perl/asp/php variable into client-side javascript?
              5.39 What is Ajax?
              5.40 Why is my Ajax page not updated properly when using an HTTP GET
              request in Internet Explorer?
              >
              >
              Change
              5.12 How do I modify the current page in a browser?
              to
              5.12 How do I modify content in the current page?
              OK.
              since the old wording might be thought to refer to page reloading or
              fetching a different page.
              >
              In Section 2.3, for citation, it would be helpful of the internal
              headings were "numbered", perhaps by typing letters in the source :
              A. How to ask ...
              >
              That can be changed to an OL element using list-style to determine the
              marker type.

              list-style-type: iroha;

              >
              If a topic has N entries, and is to be divided with K levels throughout,
              then the number of entries in each leaf level must average the Kth root
              of N. In deciding the splitting, one should have a weak preference for
              leaves to be mostly of similar size.
              >
              Size as "number of items" or "amount of text"? It might be worth
              considering the amount of text sent out in the bi-weekly mailings.
              "Posting Code" has 72 twice.
              >

              --
              comp.lang.javas cript FAQ <URL: http://jibbering.com/faq/ >

              Comment

              • dhtml

                #8
                Re: FAQ Sections - Feedback Wanted

                Peter Michaux wrote:
                On Oct 10, 10:47 am, dhtml <dhtmlkitc...@g mail.comwrote:
                >Breaking up the FAQ has been discussed.
                >>
                >http://groups.google.com/group/comp....wse_frm/thread...
                >>
                >I'm interested in doing this now. I propose something along the lines of:
                >>
                >* Numbers
                >* Windows and Frames
                >* Forms
                >>
                >I would like to hear feedback on this proposal.
                >
                I don't see any benefit to breaking up the document. Better to focus
                on the actual content than worry about the packaging.
                >
                It's easier to find stuff if its organized into meaningful sections
                ("Section 5" doesn't have much meaning as "Forms" for example). People
                usually scan through.

                We had several questions related to math and numbers interspersed with
                questions about frames, preventing access to a web page, get the value
                of a form control, etc.. A burgeoning document like the CLJ FAQ is not
                easy to scan through, especially with the some of the "quick" answers
                being several paragraphs (that includes the one I added about window
                size). I created a numbers section. I want to create more sections.


                Peter

                --
                comp.lang.javas cript FAQ <URL: http://jibbering.com/faq/ >

                Comment

                • Dr J R Stockton

                  #9
                  Re: FAQ Sections - Feedback Wanted

                  In comp.lang.javas cript message <gcts9r$6g4$1@r egistered.motza rella.org>
                  , Sun, 12 Oct 2008 15:04:42, dhtml <dhtmlkitchen@g mail.composted:
                  >Dr J R Stockton wrote:
                  > Another category is those questions relating to ECMAScript/DOM
                  >>without
                  >reference to anything visual or external :-
                  >
                  >An 'Other' category?
                  I think that the idea of features related only to the manipulation of
                  ordinary variables deserves a subsection, and with a better title than
                  "Other", though I have no title suggestion. It would accommodate string
                  manipulation and maybe date/time, for example; also function grammar.
                  > 5.13 How do I trim whitespace?
                  > 5.17 How do I make a 10 second delay?
                  > 5.20 My element is named myselect[], how do I access it?
                  >
                  >That one seems like it belongs in 'Forms' section, to me.
                  Is such an element necessarily in a form? It should be next to 5.34, or
                  maybe merged.
                  > 5.34 How do I access a property of an object using a string?
                  > 5.25 How do I format the lastModified date with javascript?
                  > 5.35 When should I use eval?
                  > 5.36 Why doesn't the global variable "divId" always refer to the
                  > element with id="divId"?
                  > Another is communication beyond that inherent in ECMAScript and HTML
                  >>:-
                  > 5.3 How can I access the client-side filesystem?
                  > 5.4 How can I see in javascript if a web browser accepts cookies?
                  >
                  >Cookies is part of the DOM (document.cooki e). But then so are forms.
                  Cookies are not really part of the document; they do not show. The
                  headings must relate to naive user expectations, not to technicalities.


                  > If a topic has N entries, and is to be divided with K levels
                  >>throughout,
                  >then the number of entries in each leaf level must average the Kth root
                  >of N. In deciding the splitting, one should have a weak preference for
                  >leaves to be mostly of similar size.
                  >
                  >Size as "number of items" or "amount of text"? It might be worth
                  >considering the amount of text sent out in the bi-weekly mailings.
                  I meant "number of items". While the number of weekly bytes used to
                  post FAQ articles is less than that used to discuss them, there's no
                  cause for concern. Exceptionally large or small sections are of course
                  candidates for putting elsewhere or merging.


                  At present there is a 1:1 mapping between questions (as precedes Section
                  1) and answers (bodies in Sections 4 & 5). But sometimes quite
                  different questions have substantially similar answers. One could start
                  with a list of questions, each with a link (or more?) to the relevant
                  answers, those having subject lines describing their contents.

                  Crude example :
                  Q1 : Trim strings?
                  Q2 : Add leading zero?
                  Q3 : Read "YYYY-MM-DD"?
                  could all point to
                  A3 : Use of RegExps
                  (not that RegExps look efficient for LZ; but they are possible).

                  --
                  (c) John Stockton, Surrey, UK. ?@merlyn.demon. co.uk Turnpike v6.05 MIME.
                  Web <URL:http://www.merlyn.demo n.co.uk/- FAQish topics, acronyms, & links.
                  Proper <= 4-line sig. separator as above, a line exactly "-- " (SonOfRFC1036)
                  Do not Mail News to me. Before a reply, quote with ">" or "" (SonOfRFC1036)

                  Comment

                  • dhtml

                    #10
                    Re: FAQ Sections - Feedback Wanted

                    Dr J R Stockton wrote:
                    In comp.lang.javas cript message <gcts9r$6g4$1@r egistered.motza rella.org>
                    , Sun, 12 Oct 2008 15:04:42, dhtml <dhtmlkitchen@g mail.composted:
                    >Dr J R Stockton wrote:
                    >
                    >> Another category is those questions relating to ECMAScript/DOM
                    >>without
                    >>reference to anything visual or external :-
                    >An 'Other' category?
                    >
                    I think that the idea of features related only to the manipulation of
                    ordinary variables deserves a subsection,
                    Ah, but what is ordinary?

                    and with a better title than
                    "Other", though I have no title suggestion. It would accommodate string
                    manipulation and maybe date/time, for example; also function grammar.
                    >
                    "Objects and Types" ?
                    + "Numbers"
                    + "Objects"
                    + "Strings and Regexes"
                    + "Dates"


                    The thinking behind having "Strings and Regexes" as one category is that
                    it's more task-oriented. How do I do [x] with a string?
                    >> 5.13 How do I trim whitespace?
                    >> 5.17 How do I make a 10 second delay?
                    >> 5.20 My element is named myselect[], how do I access it?
                    >That one seems like it belongs in 'Forms' section, to me.
                    >
                    Is such an element necessarily in a form? It should be next to 5.34, or
                    maybe merged.
                    >
                    It could be a form control in a form, an attribute, a form element. Most
                    of the time it will be a problem with a form control.

                    In PHP, elements with shared name would have to be named with a "[]", as
                    in "things[]". I don't know if they ever fixed that.


                    >Cookies is part of the DOM (document.cooki e). But then so are forms.
                    >
                    Cookies are not really part of the document; they do not show. The
                    headings must relate to naive user expectations, not to technicalities.
                    >

                    Many things in the DOM do not show, e.g. document.defaul tView,
                    document.getEle mentsByTagName, document.images , document.doctyp e,
                    document.referr er, document.URL, document.domain , document.create Event.

                    >
                    At present there is a 1:1 mapping between questions (as precedes Section
                    1) and answers (bodies in Sections 4 & 5). But sometimes quite
                    different questions have substantially similar answers. One could start
                    with a list of questions, each with a link (or more?) to the relevant
                    answers, those having subject lines describing their contents.
                    A question could lead to a specific answer within that section. It
                    might be the case that the answer links to another answer, which exists
                    in a different section.

                    Sub-subsections might seem like a good idea but would require change to
                    the XML and the scripts that process that to text and HTML. I would like
                    to avoid that, if possible.

                    What do you think of:

                    ,--------------------------------------------------------------------
                    |
                    | • Meta-FAQ meta-questions
                    | * Which newsgroups deal with javascript?
                    | * What questions are on-topic for CLJ?
                    | * What should I do before posting to CLJ?
                    | * Why was my post not answered?
                    | * Why do some posts have <FAQENTRYin them?
                    | * How do I make a suggestion?
                    |
                    | • Javascript Tips
                    | o What is ECMAScript?
                    | o What is JScript?
                    | o What are object models?
                    | o What is the document object model?
                    | o Internationalis ation and Multinationalis ation in javascript.
                    | o Where are the CLJ archives located?
                    | o What does the future hold for ECMAScript?
                    |
                    | • Javascript Resources
                    | o What books cover javascript?
                    | o What online resources are available?
                    |
                    | • Dates
                    | o How do I format the lastModified date with javascript?
                    | • Numbers
                    | o How do I convert a Number into a String with exactly 2 decimal
                    | places?
                    | o Why does simple decimal arithmetic give strange results?
                    | o Why does K = parseInt('09') set K to 0?
                    | o Why does 1+1 equal 11? or How do I convert a string to a number?
                    | o How do I generate a random integer from 1 to N?
                    | • Objects
                    | o When should I use eval?
                    | o How do I access a property of an object using a string?
                    | • Strings and RegExps
                    | o How do I trim whitespace?
                    |
                    | • DOM and Forms
                    | o How do I get the value of a form control?
                    | o My element is named myselect[], how do I access it?
                    | o Why doesn't the global variable "divId" always refer to the
                    | element with id="divId"?
                    | o Why are my rollovers so slow?
                    | o How do I disable the right mouse button?
                    | o How do I detect Opera/Netscape/IE?
                    | o How do I modify the content of the current page?
                    | o How can I see in javascript if a web browser accepts cookies?
                    |
                    | • Windows and Frames
                    | o How do I communicate between frames in a web browser?
                    | o Why does framename.print () not print the correct frame in IE?
                    | o How do I change print settings with window.print()?
                    | o I have window.status=" Moomin"; why doesn't the statusbar
                    | change?
                    | o How can I disable the back button in a web browser?
                    | o How do I find the size of the window?
                    | o How do I change the text in the url/location bar?
                    | o How do I POST a form to a new window?
                    | o How do I change the confirm box to say yes/no or default to
                    | cancel?
                    | o Why do I get permission denied when accessing a frame/window?
                    | o How do I modify the content of the current page?
                    | o How do I prompt a "Save As" dialog for an accepted mime type?
                    | o How do I open a new window with javascript?
                    | o How do I check to see if a child window is open, before opening
                    | another?
                    | o How do I close a window and why does it not work on the first
                    | one?
                    | o How do I make a 10 second delay?
                    |
                    | • Ajax
                    | o What is Ajax?
                    | o Why is my Ajax page not updated properly when using an HTTP GET
                    | request in Internet Explorer?
                    | o How do I download a page to a variable?
                    | o How do I get a perl/asp/php variable into client-side
                    | javascript?
                    | o How do I log-out a user when they leave my site?
                    | o How do I run a server side script?
                    | o How do I force a reload from the server/prevent caching?
                    |
                    | • Debugging
                    | o How do I get my browser to report javascript errors?
                    |
                    |
                    | • Things not to attempt in a browser
                    | o How can I prevent access to a web page by using javascript?
                    | o How do I protect my javascript code?
                    | o How can I access the client-side filesystem?
                    | o I have <a href="javascrip t:somefunction( )"what ... ?
                    |
                    |
                    `-------------------------------------------------------------------------/

                    ?

                    The server side is inflexible to creating subcategories. The XML would
                    have to change and so would the two scripts for processing (it used to
                    be three, but I refactored that). It would probably also mess up Bart's
                    daily posts.

                    So, in the interest of getting it done, I want a hierarchy no deeper
                    than two.

                    Garrett

                    --
                    comp.lang.javas cript FAQ <URL: http://jibbering.com/faq/ >

                    Comment

                    • Dr J R Stockton

                      #11
                      Re: FAQ Sections - Feedback Wanted

                      In comp.lang.javas cript message <gd0jg3$e06$1@r egistered.motza rella.org>
                      , Mon, 13 Oct 2008 15:52:50, dhtml <dhtmlkitchen@g mail.composted:
                      >Dr J R Stockton wrote:
                      >In comp.lang.javas cript message <gcts9r$6g4$1@r egistered.motza rella.org>
                      >, Sun, 12 Oct 2008 15:04:42, dhtml <dhtmlkitchen@g mail.composted:
                      >>Dr J R Stockton wrote:
                      >>
                      >>> Another category is those questions relating to ECMAScript/DOM
                      >>>without
                      >>>reference to anything visual or external :-
                      >>An 'Other' category?
                      > I think that the idea of features related only to the manipulation
                      >>of
                      >ordinary variables deserves a subsection,
                      >
                      >Ah, but what is ordinary?
                      Approximately, those that one calls into existence with JavaScript
                      rather than those that are properties of the original document plus
                      added HTML things.


                      >What do you think of:
                      >
                      >,--------------------------------------------------------------------
                      >|
                      >| • Meta-FAQ meta-questions
                      >| * Which newsgroups deal with javascript?
                      >| * What questions are on-topic for CLJ?
                      >| * What should I do before posting to CLJ?
                      >| * Why was my post not answered?
                      >| * Why do some posts have <FAQENTRYin them?
                      >| * How do I make a suggestion?
                      >|
                      >| • Javascript Tips
                      "Tips" seems wrong there. "About Scripting"??
                      >| o What is ECMAScript?
                      >| o What is JScript?
                      >| o What are object models?
                      >| o What is the document object model?
                      >| o Internationalis ation and Multinationalis ation in javascript.
                      >| o Where are the CLJ archives located?
                      To previous section ?
                      >| o What does the future hold for ECMAScript?
                      >|
                      >| • Javascript Resources
                      >| o What books cover javascript?
                      >| o What online resources are available?
                      >|
                      >| • Dates
                      >| o How do I format the lastModified date with javascript?
                      >| • Numbers
                      >| o How do I convert a Number into a String with exactly 2 decimal
                      >| places?
                      >| o Why does simple decimal arithmetic give strange results?
                      >| o Why does K = parseInt('09') set K to 0?
                      >| o Why does 1+1 equal 11? or How do I convert a string to a number?
                      >| o How do I generate a random integer from 1 to N?
                      >| • Objects
                      >| o When should I use eval?
                      >| o How do I access a property of an object using a string?
                      >| • Strings and RegExps
                      >| o How do I trim whitespace?
                      >|
                      >| • DOM and Forms
                      >| o How do I get the value of a form control?
                      >| o My element is named myselect[], how do I access it?
                      >| o Why doesn't the global variable "divId" always refer to the
                      >| element with id="divId"?
                      >| o Why are my rollovers so slow?
                      >| o How do I disable the right mouse button?
                      >| o How do I detect Opera/Netscape/IE?
                      >| o How do I modify the content of the current page?
                      >| o How can I see in javascript if a web browser accepts cookies?
                      >|
                      >| • Windows and Frames
                      >| o How do I communicate between frames in a web browser?
                      >| o Why does framename.print () not print the correct frame in IE?
                      >| o How do I change print settings with window.print()?
                      for
                      >| o I have window.status=" Moomin"; why doesn't the statusbar
                      >| change?
                      >| o How can I disable the back button in a web browser?
                      >| o How do I find the size of the window?
                      >| o How do I change the text in the url/location bar?
                      >| o How do I POST a form to a new window?
                      >| o How do I change the confirm box to say yes/no or default to
                      >| cancel?
                      >| o Why do I get permission denied when accessing a frame/window?
                      >| o How do I modify the content of the current page?
                      >| o How do I prompt a "Save As" dialog for an accepted mime type?
                      >| o How do I open a new window with javascript?
                      >| o How do I check to see if a child window is open, before opening
                      >| another?
                      >| o How do I close a window and why does it not work on the first
                      >| one?
                      >| o How do I make a 10 second delay?
                      >|
                      >| • Ajax
                      I *think* we had some of these answers before Ajax was known.
                      Therefore, if so, the above heading should be more generic.
                      >| o What is Ajax?
                      >| o Why is my Ajax page not updated properly when using an HTTP GET
                      >| request in Internet Explorer?
                      >| o How do I download a page to a variable?
                      >| o How do I get a perl/asp/php variable into client-side
                      >| javascript?
                      >| o How do I log-out a user when they leave my site?
                      >| o How do I run a server side script?
                      >| o How do I force a reload from the server/prevent caching?
                      >|
                      >| • Debugging
                      >| o How do I get my browser to report javascript errors?
                      o Debugging Tips [1]
                      >|
                      >|
                      >| • Things not to attempt in a browser
                      >| o How can I prevent access to a web page by using javascript?
                      [2]
                      >| o How do I protect my javascript code?
                      [2]
                      >| o How can I access the client-side filesystem?
                      >| o I have <a href="javascrip t:somefunction( )"what ... ?
                      >|
                      >|
                      >`-------------------------------------------------------------------------/
                      Otherwise OK. With anchors having names, parts can be moved at any
                      time. (Keep the numbers, for brief short-term reference in CLJ.)

                      [1] (condensed) : Test in small increments. Test locally, before
                      uploading. Verify presumptions. View intermediate results. Test with
                      many values. Check extreme cases and end-points. N.B. Debuggers report
                      where the existence of an error is detected, which is not necessarily
                      where the mistake is.

                      [2] : I disagree from the usual answer. If a script can be executed in
                      an Internet Browser, some people can read it. But many cannot read it -
                      those who know only Right Click, View Source can be utterly defeated by
                      breaking that operation. Many who want to protect their code do so
                      because they want to deter their idle and obtuse classmates from copying
                      it; the protection needs to be literally fool-proof, but not wise-proof.

                      --
                      (c) John Stockton, Surrey, UK. ?@merlyn.demon. co.uk Turnpike v6.05 MIME.
                      Web <URL:http://www.merlyn.demo n.co.uk/- FAQish topics, acronyms, & links.
                      Proper <= 4-line sig. separator as above, a line exactly "-- " (SonOfRFC1036)
                      Do not Mail News to me. Before a reply, quote with ">" or "" (SonOfRFC1036)

                      Comment

                      • Dr J R Stockton

                        #12
                        Re: FAQ Sections - Feedback Wanted

                        In comp.lang.javas cript message <gd3tq0$qnj$1@r egistered.motza rella.org>
                        , Tue, 14 Oct 2008 22:07:10, dhtml <dhtmlkitchen@g mail.composted:
                        >Dr J R Stockton wrote:
                        >In comp.lang.javas cript message <gd0jg3$e06$1@r egistered.motza rella.org>
                        >, Mon, 13 Oct 2008 15:52:50, dhtml <dhtmlkitchen@g mail.composted:
                        >>What do you think of:
                        >>| • Javascript Tips
                        >"Tips" seems wrong there. "About Scripting"??
                        >>
                        >
                        >How about "Language Overview" ?
                        Or just "Overview" to avoid quibbling as to whether all entries are
                        about languages.


                        > Otherwise OK. With anchors having names, parts can be moved at any
                        >time. (Keep the numbers, for brief short-term reference in CLJ.)
                        >>
                        >
                        >The numbers are generated in a loop. If I keep them in the loop, the
                        >user will end up in the wrong place on the page. I can move them out of
                        >the loop and hard code them into the xml, like:
                        Keep the customary sequential numbering system. In the HTML tags, use
                        named anchors for machines. In the HTML and News text, use visible
                        numbers for people.



                        >If it is difficult to read with the underline, I can use CSS to change
                        >the appearance (blue, bold, perhaps, with underline on :hover).
                        No; remove all link appearance manipulation from the CSS. Default is
                        easier for all.



                        >[1] (condensed) : Test in small increments. Test locally, before
                        >uploading. Verify presumptions. View intermediate results. Test with
                        >many values. Check extreme cases and end-points. N.B. Debuggers report
                        >where the existence of an error is detected, which is not necessarily
                        >where the mistake is.
                        >>
                        >
                        >I think more complete advice on unit testing would be a lot better.
                        Not in the FAQ, for reason of size.




                        Suggestion : in "3.2 What online resources are available?" add a new
                        sub-section "FAQ Notes", start it with the existing FAQ material about
                        the Notes (changing the last paragraph of Section 1 to "There are _FAQ
                        Notes_." linking to the new sub-section, and append a list of FAQ Note
                        Subjects each linking to its Note. Then simplify the migrated waffle.

                        --
                        (c) John Stockton, nr London, UK. ?@merlyn.demon. co.uk Turnpike v6.05.
                        Web <URL:http://www.merlyn.demo n.co.uk/- w. FAQish topics, links, acronyms
                        PAS EXE etc : <URL:http://www.merlyn.demo n.co.uk/programs/- see 00index.htm
                        Dates - miscdate.htm moredate.htm js-dates.htm pas-time.htm critdate.htm etc.

                        Comment

                        • Dr J R Stockton

                          #13
                          Re: FAQ Sections - Feedback Wanted

                          On Oct 16, 7:14 am, dhtml <dhtmlkitc...@g mail.comwrote:
                          Dr J R Stockton wrote:
                          In comp.lang.javas cript message <gd3tq0$qn...@r egistered.motza rella.org>
                          , Tue, 14 Oct 2008 22:07:10, dhtml <dhtmlkitc...@g mail.composted:
                          Dr J R Stockton wrote:
                          Keep the customary sequential numbering system.  In the HTML tags, use
                          named anchors for machines.  In the HTML and News text, use visible
                          numbers for people.
                          >
                          There's discussion in the archive of section 2.3. If FAQ has section 2.3
                          being totally different it is confusing.
                          >
                          The numbers are meaningless. How can they change without resulting in
                          total confusion?
                          >
                          For example:
                          >
                          User reads text about Same Origin Policy with link to:
                          /faq/index.html#FAQ4 _8
                          >
                          This loads the page at:
                          5.3 How do I communicate between frames in a web browser?
                          >
                          Does that seem strange?
                          We cannot be bound by the details of the old numbering of sections.
                          IIRC, I suggested, when it was first evident that you were going to
                          tackle FAQ rearrangenent, that the file at http://jibbering.com/faq/index.html
                          should be as it were when Randy abandoned it[*], with the group
                          having a new FAQ (atarting with your current best) at a new URL.[*] But add a luridly-boxed note about and link to the new FAQ.

                          I doubt whether many read the archives and then try to cross-refer to
                          the FAQ; if they must, they should use the Wayback Machine to refer to
                          an approximately contemporaneous FAQ.


                          What you described is good advice, but doesn't describe what unit
                          testing is or how to do it.
                          N.B. What I described wasn't expected to be omission-free.

                          That's because (at least) I don't know what you mean by "unit
                          testing"; and I expect that many of the intended FAQ audience will not
                          know either.

                          --
                          (c) John Stockton, near London, UK. Posting with Google.
                          Mail: J.R.""""""""@ph ysics.org or (better) via Home Page at
                          Web: <URL:http://www.merlyn.demo n.co.uk/>
                          FAQish topics, acronyms, links, etc.; Date, Delphi, JavaScript, ....|

                          Comment

                          • dhtml

                            #14
                            Re: FAQ Sections - Feedback Wanted

                            Dr J R Stockton wrote:
                            On Oct 16, 7:14 am, dhtml <dhtmlkitc...@g mail.comwrote:
                            >Dr J R Stockton wrote:
                            >>In comp.lang.javas cript message <gd3tq0$qn...@r egistered.motza rella.org>
                            >>, Tue, 14 Oct 2008 22:07:10, dhtml <dhtmlkitc...@g mail.composted:
                            >>>Dr J R Stockton wrote:
                            >

                            >
                            We cannot be bound by the details of the old numbering of sections.
                            What benefit does numbering have?

                            It isn't as if section 1 must be read completely before beginning to
                            read section 2.


                            In such a document, "Numbers" has meaning. "4" does not.

                            IIRC, I suggested, when it was first evident that you were going to
                            tackle FAQ rearrangenent, that the file at http://jibbering.com/faq/index.html
                            should be as it were when Randy abandoned it[*], with the group
                            Yes, you did.
                            having a new FAQ (atarting with your current best) at a new URL.[*] But add a luridly-boxed note about and link to the new FAQ.
                            >
                            I doubt whether many read the archives and then try to cross-refer to
                            the FAQ; if they must, they should use the Wayback Machine to refer to
                            an approximately contemporaneous FAQ.
                            >
                            >
                            We still have the problem of changing. When a hypothetical future
                            section 5 gets split to two sections, we have to renumber. Doing this
                            creates confusion.

                            What benefit do numbers add?

                            >
                            >What you described is good advice, but doesn't describe what unit
                            >testing is or how to do it.
                            >
                            N.B. What I described wasn't expected to be omission-free.
                            >
                            That's because (at least) I don't know what you mean by "unit
                            testing"; and I expect that many of the intended FAQ audience will not
                            know either.
                            >
                            Unit testing javascript is excellent topic for discussion here.

                            (runs out to work)...

                            Garrett

                            Comment

                            • sasuke

                              #15
                              Re: FAQ Sections - Feedback Wanted

                              On Oct 10, 10:47 pm, dhtml <dhtmlkitc...@g mail.comwrote:
                              Breaking up the FAQ has been discussed.
                              >
                              http://groups.google.com/group/comp....wse_frm/thread...
                              >
                              I'm interested in doing this now. I propose something along the lines of:
                              >
                              * Numbers
                              * Windows and Frames
                              * Forms
                              >
                              I would like to hear feedback on this proposal.
                              The FAQ presents little [no?] information about `encoding' related
                              issues which do get asked frequently here. Many of them are along the
                              lines of:
                              - escape / unescape functions don't work well for Non-ASCII character
                              - encodeURICompon ent to be used for encoding URI components rather
                              than encodeURI
                              - Setting the HTTP Request Header `Content-Type: x-www-
                              formurlencoded' when making asynchronous requests doesn't
                              automagically encode the data being submitted.

                              These are some of the points which have come across in this group in
                              the past few days related to encoding. It would be nice to have
                              someone come up with a short FAQ entry related to this topic.

                              /sasuke

                              Comment

                              Working...