Pyjs介绍

What is Pyjs?

Pyjs is a Rich Internet Application (RIA) Development Platform. for both Web and Desktop. It contains a Python-to-JavaScript. compiler, an AJAX framework and a Widget Set API.

Pyjs started life as a Python port of Google Web Toolkit, the Java-to-JavaScript. compiler. Here is a list of features.

What is Pyjs Desktop?

Pyjs Desktop allows the exact same Python web application source code to be executed as a standalone desktop application (running under Python) instead of being stuck in a Web browser. For Free Software platforms, most Linux Distributions now come with Pyjs and Pyjs Desktop pre-packaged: Debian/Testing, FC13, ArchLinux and Gentoo.

For Windows, Pyjs Desktop uses MSHTML. Since MSHTML comes pre-installed on Windows (as part of IE), there is very little extra to download (other than Python itself).

[b]Why should I use Pyjs?[/b]

You can write web applications in Python - a readable programming language - instead of in HTML and JavaScript, both of which become quickly unreadable for even medium-sized applications. Your application's design can benefit from encapsulating high level concepts into classes and modules (instead of trying to fit as much HTML as you can stand into one page); you can reuse - and import - classes and modules.

Also, the AJAX library takes care of all the browser interoperability issues on your behalf, leaving you free to focus on application development instead of learning all the "usual" browser incompatibilities.

[b]I don't get it[/b]

Fear not - you are not alone: the true purpose and nature of Pyjs is blissfully opaque to many. Will and Abe come to the rescue, with their Guide to Pyjs. On mature reflection, however, it's probably best to read the FAQ and then contact the people on the mailing list.


来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/301743/viewspace-740822/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/301743/viewspace-740822/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值