Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • AJAX support! :)
    (AMAX? AJAM? it has to be buzzword-worthy)
    • Heh. I do AJAX (actually AJAHB where HB = HTML blob) with Mason. My AJAX code makes a request for /ajax/... and that executes a Mason component which returns a JS data structure. The structure is a hash where the keys are element ids and the values are chunks of HTML. Then the JS code just finds the element and sets innerHTML. Piece of cake, no special AJAX support needed.

      The idea that I'm going to export server-side methods/components, return some sort of data, parse it, and then mess with the DOM is just madness. The server side is good at generating HTML, so I'd like to do as much HTML generation there are possible.