As for JavaScript, I agree with
jeffa:
Prototype +
Scriptaculous is the way to go. I've been using it to build the front-end on a Perl site and it can do a lot.
Prototype handles Ajax requests well and you can provide a lot of useful functionality by using its
utility methods such as $(). Scriptaculous helps with visual effects (i.e. drag & drop.) The documentation isn't as full as I'd like, but you can find most of what you need by searching the web.
As for browser support, Prototype is compatible with IE6+, Firefox, Chrome, Opera, and Safari. I haven't had trouble with any of the Ajax calls. The only situation where it would be a problem is if somebody has JavaScript turned completely off.
On the Perl side, the
JSON module works quite
well for parsing JSON parameters passed through by the client, and you can create and return a JSON response.
"I'm in love with love and lousy poetry." - The Weakerthans
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.