473,657 Members | 2,405 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

pyxpcom

hg
Hi,

Can one tell me what the status of this project is ?. I did google ...
but not much out there.

Regards,

hg
Nov 27 '06 #1
6 1474
hg wrote:
Hi,

Can one tell me what the status of this project is ?. I did google ...
but not much out there.
PyXPCOM source is in the main Mozilla CVS tree. It is being maintained by Mark
Hammond (the original developer of the extension). There isn't a lot of
activity on it, I think, because:
1. Mark did such a good job of implementing it the first time around that it
needs very little work :)
2. It is very high learning curve to get into playing with PyXPCOM because
there are no conveniently packaged builds of PyXPCOM for current (or any)
versions of Firefox or Mozilla.

Interestingly, Mark is currently working *full* support for Python in the
Mozilla code base, i.e. being able to use Python anywhere you can currently
use JavaScript (in <scripttags in XUL and HTML). Look for "nsdom" and
Python. Note that it is still very much in development phase, is only part of
the Mozilla trunk (I believe) -- hence only really applies to Firefox versions
well beyond FF2.

The pyxpcom mailing list is here:
http://listserv.activestate.com/mail...stinfo/pyxpcom

PyXPCOM is heavily used in Komodo
(<http://www.activestate .com/Products/Komodo/>, the IDE that I work on at
ActiveState).

Regarding #2 (from above): Mark started some discussion a while back about the
what it would take to provide builds of PyXPCOM. The answer is that it would
probably be very hard.
http://aspn.activestate.com/ASPN/Mai...yxpcom/3167613
Cheers,
Trent

--
Trent Mick
tr****@activest ate.com
Nov 28 '06 #2
hg
Trent Mick wrote:
hg wrote:
>Hi,

Can one tell me what the status of this project is ?. I did google ...
but not much out there.

PyXPCOM source is in the main Mozilla CVS tree. It is being maintained
by Mark Hammond (the original developer of the extension). There isn't a
lot of activity on it, I think, because:
1. Mark did such a good job of implementing it the first time around
that it needs very little work :)
2. It is very high learning curve to get into playing with PyXPCOM
because there are no conveniently packaged builds of PyXPCOM for current
(or any) versions of Firefox or Mozilla.

Interestingly, Mark is currently working *full* support for Python in
the Mozilla code base, i.e. being able to use Python anywhere you can
currently use JavaScript (in <scripttags in XUL and HTML). Look for
"nsdom" and Python. Note that it is still very much in development
phase, is only part of the Mozilla trunk (I believe) -- hence only
really applies to Firefox versions well beyond FF2.

The pyxpcom mailing list is here:
http://listserv.activestate.com/mail...stinfo/pyxpcom

PyXPCOM is heavily used in Komodo
(<http://www.activestate .com/Products/Komodo/>, the IDE that I work on
at ActiveState).

Regarding #2 (from above): Mark started some discussion a while back
about the what it would take to provide builds of PyXPCOM. The answer
is that it would probably be very hard.
http://aspn.activestate.com/ASPN/Mai...yxpcom/3167613
Cheers,
Trent
Thanks,

My need is as follows: I have developed an activex component to access a
smart card on the client side / do some web site logon.

Are xpcom / pyxpcom advanced/stable enough for such an implementation
under Linux / Windows ?

Regards,

hg


Nov 28 '06 #3
My need is as follows: I have developed an activex component to access a
smart card on the client side / do some web site logon.

Are xpcom / pyxpcom advanced/stable enough for such an implementation
under Linux / Windows ?
You mean to provide the equivalent functionality for Firefox that your activex
component does for IE? Yes, xpcom and pyxpcom are quite stable, however
putting together a Firefox extension that gets PyXPCOM itself up and running
in a client's Firefox install will be quite challenging.

Trent

--
Trent Mick
tr****@activest ate.com
Nov 28 '06 #4
hg
Trent Mick wrote:
>My need is as follows: I have developed an activex component to access a
smart card on the client side / do some web site logon.

Are xpcom / pyxpcom advanced/stable enough for such an implementation
under Linux / Windows ?

You mean to provide the equivalent functionality for Firefox that your
activex component does for IE? Yes, xpcom and pyxpcom are quite stable,
however putting together a Firefox extension that gets PyXPCOM itself up
and running in a client's Firefox install will be quite challenging.

Trent
Exactly ... are you saying I need to distribute Firefox compiled
differently in order to achieve that ?

This is less a python issue clearly if that is the case: would I have
the same issues to resolve if I were to write the module in C++ ?

Thanks,

hg
Nov 29 '06 #5
hg wrote:
Trent Mick wrote:
>>My need is as follows: I have developed an activex component to access a
smart card on the client side / do some web site logon.

Are xpcom / pyxpcom advanced/stable enough for such an implementation
under Linux / Windows ?
You mean to provide the equivalent functionality for Firefox that your
activex component does for IE? Yes, xpcom and pyxpcom are quite stable,
however putting together a Firefox extension that gets PyXPCOM itself up
and running in a client's Firefox install will be quite challenging.

Trent
Exactly ... are you saying I need to distribute Firefox compiled
differently in order to achieve that ?
No. But you'll have to get comfortable building your own Firefox and then
building the PyXPCOM extension and then packaging the built PyXPCOM bits that
a normal Firefox install does not have already into a Firefox extension. This
would also mean packaging up parts of a Python build and possible needing to
have a custom Python build to (1) get shared library loading to work correct
and (2) ensure there isn't crosstalk between the python that PyXPCOM uses and
possibly other Python installations on the target machine.
This is less a python issue clearly if that is the case: would I have
the same issues to resolve if I were to write the module in C++ ?
A little, yes: I believe you'd need a Firefox build in a development tree to
build a vanilla C++ XPCOM component. However, I am not sure of that.

Mostly, no: You wouldn't need to worry about all the PyXPCOM/Python
build/install issues.
Trent

--
Trent Mick
tr****@activest ate.com
Nov 29 '06 #6
hg
Trent Mick wrote:
hg wrote:
>Trent Mick wrote:
>>>My need is as follows: I have developed an activex component to
access a
smart card on the client side / do some web site logon.

Are xpcom / pyxpcom advanced/stable enough for such an implementation
under Linux / Windows ?
You mean to provide the equivalent functionality for Firefox that your
activex component does for IE? Yes, xpcom and pyxpcom are quite stable,
however putting together a Firefox extension that gets PyXPCOM itself up
and running in a client's Firefox install will be quite challenging.

Trent
Exactly ... are you saying I need to distribute Firefox compiled
differently in order to achieve that ?

No. But you'll have to get comfortable building your own Firefox and
then building the PyXPCOM extension and then packaging the built PyXPCOM
bits that a normal Firefox install does not have already into a Firefox
extension. This would also mean packaging up parts of a Python build and
possible needing to have a custom Python build to (1) get shared library
loading to work correct and (2) ensure there isn't crosstalk between the
python that PyXPCOM uses and possibly other Python installations on the
target machine.
>This is less a python issue clearly if that is the case: would I have
the same issues to resolve if I were to write the module in C++ ?

A little, yes: I believe you'd need a Firefox build in a development
tree to build a vanilla C++ XPCOM component. However, I am not sure of
that.

Mostly, no: You wouldn't need to worry about all the PyXPCOM/Python
build/install issues.
Trent
Thanks Trent,

I'll do some testing and bug Mark in the process I'm sure :-)

Regards,

Philippe
Nov 29 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1646
by: Guyon Morée | last post by:
I recently found out about XPCom and it's python bindings and it sounded very promising. Then I found out that the source of this information was pretty old. I was wondering what the status is currently. I couldn't find any documentation or binaries for the python interface. has anyone examples, docs, binaries, urls, etc????
7
1685
by: mir nazim | last post by:
hi i m in need of a PyXPCOM tutorial. it should explain using python (instead of JavaScript) for creating apps. if any body can point me to some web resources or a printed book . thankz
59
4280
by: Hugh Macdonald | last post by:
I've recently been trying out various different GUI frameworks in Python and was wondering if I could get your input on the pros and cons of the different ones... wxPython: I love the programming side of wxPython, but I find it's just so slow to initialise in the first place. Tkinter: While it's fast to load up, the syntax has never really appealed to me
4
2391
by: Jakub Fast | last post by:
Hi, Does anybody know how far you can get nowadays with trying to use Python as the script language for XUL instead of JS? Is it possible (even theoretically) to write full-fledged applications on the Mozilla platform with python only? In a parallel vein, anybody know what the architecture of Komodo is? Thanks for any pointers, information, etc
0
999
by: Ola Natvig | last post by:
Hi all Lately I've been trying to compile pyXPCOM on my windows machine. But I've successfully compiled mozilla without pyXPCOM but when I adds the pyXPCOM module the build fails with this message: Error message: d:/test\moz\mozilla\extensions\python\xpcom\src\VariantUtils.cpp(1151) : error C2668: 'nsString::nsString' : ambiguous call to overloaded function
4
1456
by: Kenneth McDonald | last post by:
I'm curious about this because, quite aside their function as web browsers, it is now possible to build some very useable interfaces using browsers with HTML, CSS, and JavaScript. (The biggest problem is still the lack of a decent text widget.) However, JavaScript isn't really a good language for building complex applications, and it would be very cool if there were some way to use Python to replace client-side JavaScript, in order to gain...
1
3206
by: Philippe C. Martin | last post by:
Hi, I write this post here because I do not manage to get in touch with mozilla dev people: ******* irc.mozilla.org ReferenceError: irc is not defined ******* I have two questions:
0
877
by: kenneth.m.mcdonald | last post by:
I'm waiting for PyXPCOM with bated breath, but always have a hard time figuring out what is actually happening with it--the ActiveState mailing list is mostly inactive, and web searches Always turn up very old, out of date pages. If it weren't for the fact that I know Mark Hammond is working,very, very hard on it, I'd almost swear it was a dead project. Is there a place to keep track of the status of this project? I'm trying to write an...
0
2137
by: Kenneth McDonald | last post by:
Sorry for crossposting to several lists, but from what I can tell, what I want to do may involve several different areas of expertise. (None of which I have :-( ) I'd like to use Gecko as the UI for an application mostly implemented in Python. Ideally, I'd like to somehow come up with a Python module that wraps the Gecko, so that I can: 1) Create windows whose content is drawn by Gecko. 1) Dynamically manipulate what is shown by Gecko.
0
8324
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8740
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8516
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7353
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6176
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4173
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2743
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1970
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1733
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.