in reply to Tk-esque ajax libraries

I'm not that familiar with Ajax, but what is the goal of this question? Trying to put Tk-like graphics into web pages?

I'm not really a human, but I play one on earth. Cogito ergo sum a bum

Replies are listed 'Best First'.
Re^2: Tk-esque ajax libraries
by f00li5h (Chaplain) on Oct 31, 2006 at 12:53 UTC

    Aah, a fair question... I suppose I would be aiming to see how sensible an idea it is, and if anybody has considered, is considering, has already started a project that is trying to build a workalike of the Tk API's to generate HTML and the associated Javascripts, and code to the requests generated by javascript requests back to callbacks in perl CGI (Mason,Catalyst) type scripts.

    AJAX is a buzz word for using the XMLHTTPRequest object in javascript to request nuggets of HTML from a webserver, and replacing parts of the page the user is viewing, without refreshing the page.

    Yes, I would like to represent HTML GUI's in the same language, in my code as I'd put together a GUI for a `real' running-in-a-window-manager application

    Mozilla Dev center have some fine AJAX related materials and wikipedia will tell you want an MVC is. Dojo provide some AJAX libraries, and examples. There is one for submiting golfing attempts to codegolf.com (need to signup to see) and gmail is mad for it.

    I think it could be build on Template::Toolkit and CGI::FormBuilder for displaying the things to click, but it'd be more tricky to associate a http request (perhaps with REST) back to the coderef that's associated to the clicking of the button...

    The more I write here, the more I feel like one of those newbie guys that comes on asking about something near impossible, that is far far outside his own skill set. - sadly, I am very young in Perl.

    will: do{ perl programing } for ($cash);