in reply to Re^3: How Can I Help Make PM Faster?
in thread How Can I Help Make PM Faster?

I figured they wanted to keep this written solely in Perl.

Not to keep it in Perl, specifically, but to keep it entirely on the server. There is a reluctance to make any feature of the site depend on Javascript, or any other browser-side technology (other than HTML and CSS). There is also a concern about Javascript specifically, and that is its potential for cross-site scripting attacks and other hackage. See thread Let users link in a javascript library for one representative discussion of the issues.

Between the mind which plans and the hands which build, there must be a mediator... and this mediator must be the heart.

Replies are listed 'Best First'.
Re^5: How Can I Help Make PM Faster?
by betterworld (Curate) on Aug 22, 2008 at 20:59 UTC
    Not to keep it in Perl, specifically, but to keep it entirely on the server. There is a reluctance to make any feature of the site depend on Javascript, or any other browser-side technology (other than HTML and CSS).

    Just wondering... Could one avoid the full page reloads that are needed for voting, even without AJAX, by using... Iframes? I realize that Iframes are bad and deprecated and all, but they might be suited for this job:

    Just put a "++" and a "--" button into an iframe above every post. Of course it would need some more requests to initially load all these extra frames, but that doesn't need any database access, and connection caching should mitigate most of the overhead.