Developing an application for most operating systems is made easier because you have some kind of intermediation layer between the program and the interface. These are commonly things like MFC, TK, QT, and the like, which can distance your program from the nuts and bolts of making buttons and menu items work. As far as I can tell there's no established equivalent for developing Web-based applications that use HTML.
It seems that no matter how much you try to isolate HTML from Perl, using templates, for example, there are always occasions where it's just not worth the effort. It starts with a quick fix, but then one thing leads to another and you might have entire blocks of code, here documents, string constants, and worse. Certainly, this could be avoided, but at what cost? Application performance? Missed deadlines?
I've dabbled with various bits and pieces, now and then, like CGI.pm and it's HTML generator functions, but none have really been satisfactory. They always seem to break down at some point, leaving you empty handed, having to work around something by doing it yourself. As much as I like abstraction, it only works if it does the whole job and not just
most of it.
I'm sure this is a problem many Web developers face, so I'm really wondering what others do in a similar situation.
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.