Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The reason you're not getting answers isn't just the vagueness of the question. The problem space is <em>very</em> wide and has a many angles of attack.</p> <p>Let's clarify that the "x" in Ajax shouldn't be taken to mean XML anymore. JSON is obviously more natural and doesn't suffer from nearly as many problems so all my advice will point toward it.</p> <p>What <a href="https://stackoverflow.com/users/152948/hobbs">hobbs</a> said already is right on. You do not want to mess with the server-side code much at all but adopt a framework. This is not because dealing with Ajax is hard in Perl; it's trivial. It's because the problem space gets messy quickly and you'll end up repeating your code in endless minor variations. So&ndash;</p> <h2>Perl/Server-side</h2> <p>Any of these will make you happy eventually. They all have a learning curve. There are other options but these are the Best&trade;.</p> <ul> <li><a href="https://metacpan.org/pod/Catalyst" rel="nofollow noreferrer">Catalyst</a> (<a href="https://metacpan.org/pod/Catalyst::View::JSON" rel="nofollow noreferrer">Catalyst::View::JSON</a>)</li> <li><a href="https://metacpan.org/pod/Dancer" rel="nofollow noreferrer">Dancer</a> (<a href="https://metacpan.org/pod/Dancer::Serializer::JSON" rel="nofollow noreferrer">Dancer::Serializer::JSON</a>)</li> <li><a href="https://metacpan.org/pod/Mojolicious" rel="nofollow noreferrer">Mojolicious</a> (prefer Mojolicious for HTML5/Websockets)</li> </ul> <p>Deployment SHOULD be <a href="https://metacpan.org/pod/Plack" rel="nofollow noreferrer">Plack/PSGI</a> based.</p> <p>Take the time to really learn the core of Perl's Ajax handling: <a href="https://metacpan.org/pod/JSON" rel="nofollow noreferrer">JSON(::XS)</a> so you know what the views in the various frameworks do under the covers.</p> <h2>JavaScript/Client-side</h2> <p>This is essentially an embarrassment of riches at this point.</p> <ul> <li><a href="http://jquery.com/" rel="nofollow noreferrer">jQuery</a> <ul> <li>Many Perl hackers like this kit; it seems to hit the same sweet spot Perl does. I adore jQuery.</li> </ul></li> <li><a href="http://dojotoolkit.org/" rel="nofollow noreferrer">Dojo</a> <ul> <li>I'm not a fan &mdash; they had the worst documentation possible in early versions and broke compatibility while deleting what little docs used to exist &mdash; but it's well-liked in its current version.</li> </ul></li> <li><a href="http://www.mochikit.com/" rel="nofollow noreferrer">MochiKit</a></li> <li><a href="http://mootools.net/" rel="nofollow noreferrer">MooTools</a></li> <li><a href="http://developer.yahoo.com/yui/" rel="nofollow noreferrer">YUI</a></li> <li><a href="http://www.sencha.com/products/extjs/" rel="nofollow noreferrer">ExtJS</a> <ul> <li>This, now distant, fork from YUI is the 800lb gorilla of client-side JS. I personally dislike it because of its lack of graceful degradation, et cetera, but it is highly regarded and very sharp looking out of the box.</li> </ul></li> </ul> <p>I personally dislike and can't recommend <a href="http://dojotoolkit.org/" rel="nofollow noreferrer">prototype</a> and though I've never used it I also chose not to put <a href="http://script.aculo.us/" rel="nofollow noreferrer">script.aculo.us</a> on the list.</p> <p>There are <em>plenty</em> of other amazing specialty kits out there too; e.g., <a href="http://www.modernizr.com/" rel="nofollow noreferrer">Modernizr</a>. When you are looking into JS, consider how important standards compliance and forward-looking features like CSS3, HTML5, extended event handling like multi-touch are to what you'll do. Good luck and have fun.</p> <h2>Update: Possibly of further interest</h2> <ul> <li><a href="https://metacpan.org/pod/Jemplate" rel="nofollow noreferrer">Jemplate</a> &ndash; templating in JavaScript <ul> <li><a href="https://metacpan.org/pod/Catalyst::View::Jemplate" rel="nofollow noreferrer">Catalyst::View::Jemplate</a></li> </ul></li> <li><a href="https://metacpan.org/pod/Jifty" rel="nofollow noreferrer">Jifty</a> &ndash; YAWF</li> </ul>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload