Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

RE: I use CGI.pm for

by buzzcutbuddha (Chaplain)
on Jun 08, 2000 at 16:13 UTC ( #17061=note: print w/ replies, xml ) Need Help??


in reply to I use CGI.pm for

Working at a web design company, I have always strived to keep the design and the code
seperate, especially because you often have clients who want to change the design of their
page often.
The other consideration is that HTML recently changed to XHTML, a subset of XML, and I haven't
heard anything stating that cgi.pm is up to date with the new standard yet.

If you want to know more about XHTML, I suggest you check out:

  • W3C's Explanation of XHTML
  • Mozquito.org which has already created the first IDE for XHTML.
    Sebastian Schnitzenbaumer and Cassandra Greer worked with other authors to produce
    Wrox's first book on XHTML.
cheers!


Comment on RE: I use CGI.pm for
RE: RE: I use CGI.pm for
by nutate (Novice) on Jun 08, 2000 at 19:27 UTC

    XHTML, is nice... but the <br /> (br with a space then the empty element delineating slash) thing seems like a bit of a hack which is neither XML nor HTML... then again, I have only fooled with XML and never really made a full app with it. And who know which if any browsers would barf at such a syntax. Mad love to the everything engine, though.

    On the topic of the poll, I must be honest and say I've used CGI.pm to generate entire pages, just do forms, and parse form variables from forms I wrote by hand. The other day in irc, chromatic gave me the tip of HTML::Template which really helps things out when trying to separate formatting (HTML) from code. I highly recommend it. It shortened my latest job by at least 100 lines.

      Actually, since I have started learning XHTML, I have used the <br /> as in my post here, and I have
      yet to see a browser complain or improperly render the layout. And as far as I remember, XML does use the
      space and closing slash on empty elements. I don't know how far XHTML will be accepted in it's current
      incarnation, but we'll see. I guess the biggest reason I don't use cgi.pm for the actual layout is because
      you can't specify with DTD you want to use. I guess that's possible with HTML::Template? I need to read more
      on that.
RE: RE: I use CGI.pm for
by merlyn (Sage) on Jun 14, 2000 at 06:18 UTC
    Thus spoke buzzcutbuddha:
    The other consideration is that HTML recently changed to XHTML, a subset of XML,
    That's a bit like saying "a good novel is a subset of the dictionary words". I suppose it's literally true, but it's more accurate to say something like "XHTML is an XML application". You'll have to limit yourself to a subset of XHTML if you want backward compatibility with older browsers, but as far as XHTML is concerned, it is XML with a specific DTD.

    -- Randal L. Schwartz, Perl hacker

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://17061]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (15)
As of 2014-07-30 09:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (230 votes), past polls