Python的RIA框架 Pyjs

码农软件 · 软件分类 · AJAX框架/RIA · 2019-03-27 19:14:25

软件介绍

Pyjs 是用于Web和桌面的 RIA 开发平台,包含一个 Python 到 JavaScript 的编译器,一个 Ajax 框架和一组 Widget API。Pyjs 相当于是谷歌的 GWT 的 Python 移植版本,同时也支持桌面应用开发 —— Pyjs Desktop,可直接使用独立桌面应用程序的方式来运行相同代码的 Web 项目,而无需打开浏览器。

一段简单的 Pyjs 代码:

import pyjd # this is dummy in pyjs
from pyjamas.ui.RootPanel import RootPanel
from pyjamas.ui.Label import Label

pyjd.setup('public/hello.html')
l = Label('Hello Pyjs')
RootPanel().add(l)
pyjd.run()

本文地址:https://codercto.com/soft/d/2288.html

Chinese Authoritarianism in the Information Age

Chinese Authoritarianism in the Information Age

Routledge / 2018-2-13 / GBP 115.00

This book examines information and public opinion control by the authoritarian state in response to popular access to information and upgraded political communication channels among the citizens in co......一起来看看 《Chinese Authoritarianism in the Information Age》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具