Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Perl and XUL app

by CColin (Scribe)
on Aug 17, 2008 at 13:29 UTC ( #704790=note: print w/ replies, xml ) Need Help??


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

Thanks for looking - I did look at 2 of the below but they seem to be server side rather than for a standalone app. Also scant documentation, would also be good to hear from someone who has trod this path...


Comment on Re^2: Perl and XUL app
Re^3: Perl and XUL app
by ForgotPasswordAgain (Deacon) on Aug 18, 2008 at 09:23 UTC
    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).
      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.)

      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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2014-04-20 07:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (485 votes), past polls