PythonCom相当于Linux! [英] PythonCom equivalent on Linux!

查看:71
本文介绍了PythonCom相当于Linux!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是否可以通过Python获得相当于Linux的COM。

我的需要是拥有某种语言独立组件

框架。我可以想到CORBA,但我必须运行一个服务器。我不想要b $ b。我只需要用于本地消费的Python组件

其他语言。我记得Gnome libs有这样的东西。

有什么想法吗?

解决方案

>>>> > "约翰" == John< jo ******* @ rediffmail.com>写道:


john> Linux上是否有相当于COM的内容我可以获得

john>通过Python。


单声道似乎是COM等价技术的未来...... / b $ b Linux。 Python支持在那里还不稳定/成熟。


还有xpcom。


john>我的需要是拥有某种独立的语言

john>组件框架。我可以想到CORBA,但我必须有

john>服务器正在运行。我这个标准有多重要?
这个标准有多重要?我肯定会选择CORBA。


-

Ville Vainio http://tinyurl.com/2prnb


Ville Vainio< vi *** @ spammers.com>在消息新闻中写道:< du ************* @ lehtori.cc.tut.fi> ...

< blockquote class =post_quotes>>> "约翰" == John< jo ******* @ rediffmail.com>写道:


john> Linux上是否有相当于COM的内容我可以获得
john>通过Python。

Mono似乎是Linux上COM等效技术的未来。 Python支持在那里还不稳定/成熟。




它取决于每个人的意思是COM等价物。如果你的意思是

某种分布式对象技术,那么有很多与bba有关的CORBA相关解决方案:ORBit(PyORBit vs. ORBit-python) ,

Fnorb,omniORB(omniORBpy),依此类推。此外,您还可以选择非标准化的非标准化技术。

还有xpcom。


和UNO(PyUNO)一样,但可以说是COM等价物的其他

主要解释:应用程序

自动化技术。在这方面,有基于GNOME的应用程序(我相信)和基于KDE的

应用程序的DCOP的ORBit和Bonobo。最终,这些

技术将会标准化,我想D-BUS适合这里的某个地方。

john>我的需要是拥有某种独立的语言
john>组件框架。我能想到CORBA,但我必须要有john>服务器正在运行。我这个标准有多重要?我肯定会选择CORBA。




是的。几年前我和ILU玩得很开心,但是我认为任何更成熟/支持Python兼容的ORB都适合。

当然,omniORB( http://omniorb.sourceforge.net/ )将是我的第一个

考虑。


同时,请注意您使用SOAP或XML-RPC的建议!如果

远程方法调用是您感兴趣的话,这些技术不直接*适用(除非,在SOAP的情况下,XML文档是

系统中数据的主要表示。)


Paul


John< jo ***** **@rediffmail.com> pisze:

在Linux上我是否可以通过Python获得相当于COM的东西。
我的需要是拥有某种语言独立的组件框架。我可以想到CORBA,但我必须运行一个服务器。我不愿意。我只需要用于其他语言的本地消费的Python组件。我记得Gnome libs有这样的东西。
有什么想法吗?




你不觉得带有所有东西的Windows更服务吗? ;

运行单独的CORBA服务器进程?无论如何,谁在

客户机上运行RPC服务器...


-

Jarek Zgoda
http://jpa.berlios.de/ | http://www.zgodowie.org/


Is there an equivalent of COM on Linux that I can get through Python.
My need is to have some sort of language independent component
framework. I can think of CORBA but I have to have a server running. I
prefer not to. I just need Python components for local consumption in
other languages. I remember Gnome libs having some thing like this.
Any thoughts?

解决方案

>>>>> "john" == John <jo*******@rediffmail.com> writes:

john> Is there an equivalent of COM on Linux that I can get
john> through Python.

Mono appears to be the future of COM equivalent technologies on
Linux. Python support just isn''t stable/mature there yet.

There is also xpcom.

john> My need is to have some sort of language independent
john> component framework. I can think of CORBA but I have to have
john> a server running. I

How critical is this criterion? I would definitely go with CORBA.

--
Ville Vainio http://tinyurl.com/2prnb


Ville Vainio <vi***@spammers.com> wrote in message news:<du*************@lehtori.cc.tut.fi>...

>> "john" == John <jo*******@rediffmail.com> writes:


john> Is there an equivalent of COM on Linux that I can get
john> through Python.

Mono appears to be the future of COM equivalent technologies on
Linux. Python support just isn''t stable/mature there yet.



It depends what everyone means by "COM equivalent". If you mean it as
some kind of distributed object technology, then there are a lot of
CORBA-related solutions out there: ORBit (PyORBit vs. ORBit-python),
Fnorb, omniORB (omniORBpy), and so on. In addition, you have a
selection of unstandardised technologies to choose from, too.
There is also xpcom.
As well as UNO (PyUNO), but that is arguably in the realm of the other
principal interpretation of "COM equivalent": the application
automation technology. On that front, there''s ORBit and Bonobo for
GNOME-based applications (I believe) and DCOP for KDE-based
applications. Eventually, there''ll be standardisation of such
technologies, and I imagine that D-BUS fits in somewhere here.
john> My need is to have some sort of language independent
john> component framework. I can think of CORBA but I have to have
john> a server running. I

How critical is this criterion? I would definitely go with CORBA.



Yes. Years ago I had a lot of fun with ILU, but I imagine that any of
the more mature/supported Python-compatible ORBs would be suitable.
Certainly, omniORB (http://omniorb.sourceforge.net/) would be my first
consideration.

Meanwhile, beware of suggestions that you use SOAP or XML-RPC! If
remote method calling is what interests you, such technologies are not
*directly* applicable (unless, in the case of SOAP, XML documents are
the primary representation of data in your system).

Paul


John <jo*******@rediffmail.com> pisze:

Is there an equivalent of COM on Linux that I can get through Python.
My need is to have some sort of language independent component
framework. I can think of CORBA but I have to have a server running. I
prefer not to. I just need Python components for local consumption in
other languages. I remember Gnome libs having some thing like this.
Any thoughts?



Don''t you think that Windows with all its stuff is more "serverish" that
running separate CORBA server process? Anyways, who runs RPC server on
client machine...

--
Jarek Zgoda
http://jpa.berlios.de/ | http://www.zgodowie.org/


这篇关于PythonCom相当于Linux!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆