Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re^3: Perl and XUL app

by ForgotPasswordAgain (Deacon)
on Aug 18, 2008 at 09:23 UTC ( #704885=note: print w/ replies, xml ) Need Help??

in reply to Re^2: Perl and XUL app
in thread Perl and XUL app

What is a "standalone app", exactly? What is a "server"? Could you not think of a GUI app as having server and client components? GUI apps generally have a main loop and serve up responses to requests ("events", which are special kinds of requests).

Comment on Re^3: Perl and XUL app
Re^4: Perl and XUL app
by bart (Canon) on Aug 18, 2008 at 12:49 UTC
    Well I've only looked at the docs for XUL::Node, but from what I read there, XUL apps run in a web browser (i.e. Firefox) and for this particular distro, it makes use of XMLHttpRequest invocation calls (or something similar) to respond to user interaction. That's what this module comes in: taking care of responding to those XMLHttpRequest invocations. That is what makes it "server side".

    I'm not absolutely sure they are real XMLHttpRequest invocations, but if they are: these don't work on file:// URLs. So in that case, local XUL apps are simply impossible.

      What I meant was: why couldn't the server be run on the client machine?

      For what it's worth, I pretty much gave up on XUL. It seems promising when you read about it at first, but then when I tried to do anything with it it seemed to majorly suck. (Like you're getting at, local resources that you take for granted having access to in any programming language never seem to be easy to deal with.)

Re^4: Perl and XUL app
by CColin (Scribe) on Aug 18, 2008 at 19:16 UTC
    Hi - Like any of these terms I guess standalone app could be debated, but in this case I mean an application that doesn't have to go over the web or the network in order to function, and is self-contained to the greatest extent possible (ie. it doesn't kick off lots of other applications in order to function). Anyway, do you have any advice with regard to using XUL and Perl in this regard?

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (15)
As of 2015-01-26 18:35 GMT
Find Nodes?
    Voting Booth?

    My top resolution in 2015 is:

    Results (195 votes), past polls