http://www.perlmonks.org?node_id=521601


in reply to A different approach to generating a GUI

I agree that using web browsers and a form of embedded server has a lot of potential. However, the possible approaches always seem far to polarised. You either have to much running in the browser (PerlScript) and to little access to the system. Or an embedded server that has all the access to the system it needs but having to rely on ajax or page refresh just to change a DOM element. An alternative would be to use a flash object as an intermediary. Flash is able to execute JavaScript, and create asynchronous connections to a server. This would enable you to execute JavaScript in the browser, and interact with the DOM, directly from Perl. Event handlers could be automatically added to HTML elements, sending events to be handled in Perl. Moreover, the user would only see a static html file on their local computer.
  • Comment on Re: A different approach to generating a GUI