Gabriele Farina wrote:[color=blue]
> Hi guys,
>
> hiow can I create a XUL application that runs with python?? Which libreries
> I need??
>
> bye
>
>[/color]
I only know two ways, that are worth considering (searching on the net
shows a lot of results but it's hard to pick the good ones ...):
- "LUXOR": afaik written in Java with Python/Jython abilities. Could be
a promising platform (but I don't know much about this) ...
- PyXPCOM: enable Python in the Mozilla-Framework (most of the stuff on
the net is quite old, however the actual code is stored in Mozilla-cvs
and recent. ActiveState use Python+XUL/Mozilla for their apps)
(Useful links might be: http://lxr.mozilla.org/seamonkey/sou.../python/xpcom/ !!!
IMO pygecko is a bit of "the right idea".
Mozilla Project should split up their stuff and make a standalone
XUL-Server supporting multiple languages. (Hey M$ is currently doing
something similar for Longhorn...)
Gabriele Farina wrote:[color=blue]
>
> Tnx a lot to everyone.
>
> I looked at Luxor yesterday, but I don't want to use jython to build my
> application.
>
> Instead pyXPCOM seems a good job, but I cant install the estension under
> windows.
>
> Now I'll try to read the documentation you give me and then I'll try to
> install the extension.
>
> It seems pyXPCOM needs mozilla running to be functional. Is this true?? How
> can I merge my program and mozilla toghether to work like Komodo does?[/color]
It seems likely to me that since so few people are approaching
application development this way, the answers are not straightforward
and you should be prepared for a lot of trial-and-error development
on your own, rather than finding a nice tutorial that tells you how
to do it all.
I could be wrong... it just doesn't look like mainstream technology from here.
You have to compile yourself a version of Mozilla. Basically following
the instructions (search them on mozilla.org) isn't to hard and you'll
get an Python-enabled Mozilla framework. However it takes a lot
computing resources (I did this on a laptop PII 400/128MB and it took[color=blue]
>24h to complete and >1GB diskspace)[/color]
I agree that Mozilla should provide a readily useable XUL+(C, Python,
Perl, Java, ...)-Framework. But nobody wants to do this task (it's my
and your fault, too -- or would you do such a thing :-) ).
Comment