Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
Amen to that, but i don't think that WYWSIWYG's are evil, they are just another form of laziness. ;) I recently used Fireworks and Dreamweaver to create the templates for a website. I was handed two Photoshop files that contained the entire front page and an auxiliary page. I used Fireworks to splice up the images, and (even though Fireworks generates HTML) Dreamweaver to create the HTML. Next, add the template tags, and start coding your design. Honestly, i should mention that i had to use PHP for this site, but i was able to utilize PHP-HTML::Template.

Another simpler (and free) way to start off templates is with HTML Tidy. Forgive my bias of operating systems:

$ echo 1 | tidy -asxhtml > skeleton.tmpl
Of course, remaining XHTML compliant is up to you after that, but shouldn't be hard with tools like validator.w3.org available.

One of the kicks i get out of using HTML::Template (well, templates in general) is that i can atcually switch my "mode of thinking": when i am working on the script/module i think like a programmer, but when i am working on the template i think more like a programmer thinking like a designer. ;)

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)

In reply to (jeffa) 2Re: CGI versus CGI::* modules by jeffa
in thread CGI versus CGI::* modules by michellem

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 editor 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
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2021-05-11 14:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Perl 7 will be out ...





    Results (117 votes). Check out past polls.

    Notices?