Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re^2: AJAX popup windows - an example

by shmem (Chancellor)
on Sep 16, 2007 at 03:07 UTC ( #639230=note: print w/replies, xml ) Need Help??

in reply to Re: AJAX popup windows - an example
in thread AJAX popup windows - an example

Maybe I'm just biased, but since CGI::Ajax can't do all the Javascript you need, I just don't see the point in using it at all.

No module ever claimed to Do It All For You, except perhaps some module from the Acme namespace.

CGI::Ajax does a specific task, and it does it pretty damn well and in a KISS way. Of course it is not good-for-all and constrains you in e.g. always passing a parameter fname for the perl function callback in the XHTTP query, but then fully-fledged Ajax Toolkits aren't any different: they put you on rails.

CGI::Ajax is a very good example of a 'module at its best': it solves a particular problem without getting too over-featured and provides a nice wheel that hasn't evolved into a monster truck. <update> Although it has some issues. See my follow-up below. </update>


_($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                              /\_¯/(q    /
----------------------------  \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2021-09-25 04:19 GMT
Find Nodes?
    Voting Booth?

    No recent polls found