Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
I voted this up because it shows intitiative, however, I agree with neshura in that a separate section isn't necessary.

Several reasons come to mind:

  • The current sections are laid out according to the type of petition or contribution you wish to make, not the functionality you're implementing.

  • We already have a large number of sections, a few of which can be confusing. Some have asked, for example, about the difference between Craft and CUFP.

    The original intent is easy to understand, once you take time to ponder the Guide.

  • Style is separate from substance. By this I mean that good programming style applies to all programs, not just CGI scripts. Futhermore, there are many discussions in the archives covering stylistic issues. (I'll leave finding them as an exercise. Hint: Try starting here.)

  • Also, good HTML style is a slightly different question than good Perl style, one that can generate a lot of heat, smoke, and volatility.

    For example, there are those who believe that you should never use anything more than simple markup. Others say that it's possible to use graphics, tables, frames, etc. very effectively. There are many opinions and ideas, but few hard and fast rules.

    Given the reluctance some monks have expressed with blatantly off-topic discussions, you can see why there would some resistance.

Remember, Perl is more than a CGI scripting language; that just happens to be one thing it does well (provided, of course, you use CGI.pm;). Perl does many more things and, it's fine to use it as a CGI scripting tool. However, it can do much, much more.

--f


In reply to Re: new CGI/HTML section by footpad
in thread Possibility of a new CGI/HTML section dealing w/ code style and asthetics by bladx

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



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2024-04-19 18:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found