安痛定又叫什么名字| 白色的猫是什么品种| 痛风吃什么消炎药| 管状腺瘤是什么病| 末次月经是什么意思| 受之无愧的意思是什么| 埋线有什么好处和坏处| 木姜子是什么| 高密度灶是什么意思| 上面日下面立读什么| 多囊卵巢是什么原因造成的| 蚊子喜欢什么颜色| 车前草长什么样子| 壁虎代表什么生肖| 第一颗原子弹叫什么| 七月十四号是什么星座| 葡萄糖有什么作用| 上午九点到十一点是什么时辰| 宣字五行属什么| 能量守恒是什么意思| 女人送男人打火机代表什么| aug是什么意思| 御三家是什么意思| 一热就咳嗽是什么原因| 西米是用什么做的| 老年人助听器什么牌子好| 腿上紫色血丝什么原因| 兔子吃什么蔬菜| 女人喝胶原蛋白有什么好处| 白芝麻有什么功效| 有点尿就想尿什么原因导致的| 做完无痛人流需要注意什么| 汽车抖动是什么原因| bbox是什么意思| 大头虾是什么意思| 贵格是什么意思| cj是什么| 分心念什么| 止吐吃什么药| 什么是毛周角化| 肾阳虚有什么症状| 颞下颌关节紊乱吃什么药| 属牛的跟什么属相最配| rmssd是什么意思| 仰仗是什么意思| 颈椎退行性变是什么意思| 转氨酶高挂什么科| fdp偏高是什么原因| 躯体化什么意思| th什么意思| 心脏肥大吃什么药好| 彩金是什么金| 女人梦见蛇是什么意思| 肌层回声不均匀是什么意思| i是什么| 梦见发大水是什么征兆| 色盲色弱是什么意思| 手腕发麻是什么原因| hpf是什么意思| 天王表属于什么档次| 夏至节气吃什么| 痛风急性发作期吃什么药| 青蒜炒什么好吃| 举牌是什么意思| 双子座的幸运色是什么| 为什么突然流鼻血| 什么的叹气| 脂肪肝是什么原因造成的| 属牛男和什么属相最配| 天空蓝是什么颜色| 胃胀吃什么药最有效| mers是什么病毒| 女命劫财代表什么| 什么叫消融手术| 断掌有什么说法| 易烊千玺的爸爸是干什么的| 国债什么意思| 上户口需要什么材料| 澳门是什么时候被葡萄牙占领的| 吃什么促进恶露排干净| 早上5点是什么时辰| 筋头巴脑是什么东西| beside是什么意思| 什么病需要化疗| 月经太多是什么原因| 什么是碱性磷酸酶高怎么回事| 什么是甲减| ar技术是什么意思| 唐朝什么时候灭亡的| 妍字属于五行属什么| 什么人容易得精神病| 燃烧卡路里是什么意思| 儿童看牙齿挂什么科| 胃炎吃什么药好使| 松鼠尾巴有什么作用| 脚酸臭是什么原因| 后卫是干什么的| 母亲节送什么颜色的康乃馨| 共襄盛举是什么意思| 白细胞偏高什么原因| 宋江是什么生肖| 肾上腺瘤吃什么药可以消除| 热敷眼睛有什么好处| 蛔虫是什么动物| 1930年属什么| 阴囊湿疹是什么原因造成的| 氟康唑治什么妇科炎症| 秘语是什么意思| 吃辣的胃疼吃什么药| 格列本脲和格列美脲有什么区别| 程门立雪是什么生肖| 意外是什么意思| 锡是什么金属| 八个月宝宝可以吃什么水果| amiri是什么牌子| 爱说梦话是什么原因| 丝瓜炒什么| 生蚝吃多了有什么危害| 纷纷扬扬是什么意思| 牛拉稀用什么药最快| 尿酸高可以吃什么鱼| 鸟加一笔是什么字| 心火旺吃什么中成药| 痛风打什么针见效最快| 女性吃金蝉有什么好处| 化疗病人吃什么好| 中国第一长洞是什么| 缺陷是什么意思| 学位证书有什么用| 什么东西越洗越脏答案| 牙医靠什么吃饭| 百雀羚属于什么档次| 小狗呕吐吃什么药| 十余载是什么意思| 95年属什么生肖婚配表| 足石念什么| 什么情况下挂疼痛科| leonardo是什么牌子| 膝盖咔咔响是什么原因| 欧尼酱什么意思| 镜框什么材质好| 警察两杠一星是什么级别| 什么时候开放二胎| 1984年属什么| 发烧可以吃什么水果| 8月11日是什么星座| 红和绿混合是什么颜色| 嘴唇有黑斑是什么病| 蒙脱石是什么东西| 脾肾阳虚吃什么药最好| 七月十日是什么日子| 白带有腥味是什么原因| 什么叫双飞| 爱出者爱返福往者福来是什么意思| 常温是什么意思| 看客是什么意思| 蝙蝠是什么动物| 经常手麻是什么原因引起的| 淋巴细胞是什么| 什么是外阴白斑| 圣诞节送什么好| 着凉感冒吃什么药| 勰读什么| 感冒黄鼻涕吃什么药| 小三阳有什么症状表现| 职级是什么意思| 吃什么对肝有好处| 什么什么千山| 甘油三脂是什么| smile是什么意思| 尿比重高是什么意思| 一语惊醒梦中人是什么意思| 咳嗽有痰吃什么药效果好| 婴儿胎毛什么时候剃最好| 胃酸吃什么好| 什么叫间质瘤| 牛的五行属什么| 羊与什么相冲| 中水是什么水| 吃什么养肝护肝效果最好| 南乳和腐乳有什么区别| 骨质疏松是什么意思| 脂蛋白高吃什么药能降下来| Fine什么意思中文| 猪肉排酸是什么意思| 血小板上升是什么原因| 大便为什么不成形| 圆是什么生肖| 烟火气是什么意思| 血钾低会有什么症状| 整编师和师有什么区别| 李幼斌是什么军衔| 阑尾在什么位置| sandals是什么意思| 说笑了是什么意思| 妇科检查bv是什么意思| 什么环境唱什么歌原唱| 低血糖吃什么好| 锋芒是什么意思| 苯对人体有什么危害| 眉毛旁边长痘痘是什么原因| 自学成才是什么意思| 低盐饮食有利于预防什么疾病| 抑郁状态和抑郁症有什么区别| 盆腔炎是什么引起的| 滑胎是什么意思| 头疼是什么原因| 36 80是什么罩杯| 男性硬下疳是什么样子| 验孕棒一深一浅代表什么| 鳖孙是什么意思| 牙龈出血吃什么药| 水险痣是什么意思| 佛家思想的核心是什么| 都有什么瓜| 2月18号什么星座| 桑葚有什么功效和作用| 为什么会得肾结石| 血糖高是什么症状| 月底是什么时候| 去医院看头发挂什么科| 深深是什么意思| 螺蛳粉是什么做的| 失重感是什么感觉| 妄想症是什么意思| 天公作美是什么生肖| 胆小如鼠是什么生肖| 价值连城是什么意思| 为什么脖子上会长痘痘| 微信什么时候推出的| 女生问你喜欢她什么怎么回答| 吃什么补肝养肝最有效| 6月15日什么星座| 跌宕起伏什么意思| 天蝎座属于什么象星座| 世界上最长的英文单词是什么| 枸杞子有什么功效| 脖子后面疼是什么原因| 4月25日什么星座| 晚上8点到9点是什么时辰| 血压高查什么项目| 五味子有什么功效和作用| 什么心什么意| 石加乏念什么| 淋巴结有血流信号预示着什么| 血糖高了会有什么危害| 手足无措的意思是什么| 前列腺肥大吃什么药效果最好| 嘴唇周围长痘痘是什么原因| 白细胞介素是什么| 衣服最小码是什么字母| 什么是水马| 为什么会痛风| 清五行属什么| 鲁字五行属什么| 崩漏下血是什么意思| 工科和理科有什么区别| 黄花菜不能和什么一起吃| 孕妇早上吃什么早餐好| birads3类是什么意思| 心里堵得慌是什么原因| 办护照需要什么资料| 82年属狗是什么命| 育婴员是做什么的| 百度Jump to content

快递实名制遇重重阻力:收寄件人担心信息泄露

From Wikipedia, the free encyclopedia
Pyjs
Original author(s)James Tauber, Google
Developer(s)Luke Leighton, Anthony C Risinger, Kees Bos
Initial releaseMarch 2007; 18 years ago (2007-03)
Stable release
0.8.1a[1] Edit this on Wikidata / 9 May 2012; 13 years ago (9 May 2012)
Repository
Written inPython, JavaScript
Operating systemWindows, OS X, Linux
Available inPython
TypeAjax framework, Desktop and Web Widget toolkit, Compiler, Widget set
LicenseApache License 2.0
Websitepyjs.org
百度 如果不安检,则存在安全隐患,如果一个一个安检,则等待时间长、效率低下,同样失去了‘订制班线’的意义。

Pyjs (formerly Pyjamas before May 2012[2]), is a rich web application framework for developing client-side web and desktop applications in Python. The resulting applications can be run in a web browser or as standalone desktop applications.

It contains a stand-alone Python-to-JavaScript compiler, an Ajax framework and widget toolkit, and through use of these components, developers can write comprehensive applications, to run in all major web browsers, without writing any JavaScript. Pyjs is a port of Google Web Toolkit (GWT) from Java to Python.[3]

Development

[edit]

Using pyjs, developers can write web applications in Python instead of JavaScript. The application is compiled to JavaScript. Also included is an Ajax library and widget set[4] that provides access to the Document Object Model (DOM) of modern JavaScript-capable web browsers. The Ajax library and the widget set library are a hybrid mix of Python and JavaScript. Just as with Google Web Toolkit, pyjs is not its libraries, and neither is it just another Ajax framework. Ajax frameworks are strictly limited to providing pre-prepared specific functionality, written almost exclusively in tailor-made JavaScript. Both GWT and pyjs, being JavaScript compilers, allow the developer to work in the language with which they are familiar (Java or Python, respectively), to write their own custom widgets, either entirely from scratch or based on the existing available widgets, yet still target the full range of modern browsers. So, far from presenting web developers with a ready-made Ajax framework, pyjs gives you the freedom to create your own.

Design

[edit]

The pyjs compiler is written in the programming language Python, and uses it to compile its input into JavaScript, walking the abstract syntax tree of the program being compiled. Although the compiler is stand-alone, the primary use of pyjs is for web development, so there is additional infrastructure for building web applications.

The DOM.py[5] model library is an abstraction layer — a thin layer of Python on top of JavaScript code snippets — use of which provides access to the full Document Object Model of the target browser platform. As with any compiler, the JavaScript snippets are treated as inline assembler.

Furthermore, on top of the DOM.py model library is an additional abstraction layer, ui.py,[6] which provides the most useful layer to web developers: a full suite of widgets with which desktop application developers will be familiar. At present, the list of available widgets is a mixture of the complete set of widgets that were available in Google Web Toolkit 1.2, along with a few more that have been forward-ported from GWT 1.5.

Components

[edit]

The major Pyjs components include:

pyjs Python-to-JavaScript Compiler
Translates the programming language Python into JavaScript.
Python builtin and standard emulation library
JavaScript implementations of the commonly used modules, builtins and classes in the Python standard runtime library (such as strings, lists, dictionaries, tuples, sets, getattr, map, filter, range, etc.; basic exception handling, a basic datetime and a basic math module).
pyjs DOM library[5]
Modules for manipulating the browser DOM.
pyjs Web UI module[6]
A module for creating widgets as if the web browser was a desktop widget engine.
pyjs Desktop ports
Support for running pyjs apps as pure Python, under MSHTML (Trident), Gecko (XULRunner) or WebKit. Pyjs Desktop is conceptually close to GWT "Hosted" mode, except that the applications can be deployed live, under pyjs Desktop, rather than be used exclusively as a debugging tool.

pyjs Desktop

[edit]

The widget set library[4] that comes with pyjs is so similar to PyQt and PyGTK that a port of pyjs was made to run pyjs applications on the desktop, called pyjs Desktop (formerly PyjamasDesktop[7] before May 2012 and originally hosted separately prior to version 0.6[8]). The project uses Webkit, XULRunner or MSHTML as the underlying technology, and it is through these browser engines that pyjs manipulates the DOM model of the application. Together pyjs and pyjs Desktop allow writing cross-platform, cross-desktop, cross-browser and cross-widget applications that run on the web and on the desktop.[9][10]

References

[edit]
  1. ^ "Release 0.8.1a". 9 May 2012. Retrieved 22 July 2018.
  2. ^ Infrastructure, endpoint, process changes, clarification by Lex on pyjamas-dev mailing list (May 03, 2012)
  3. ^ pyjs README
  4. ^ a b The ui Module Class Hierarchy
  5. ^ a b DOM module
  6. ^ a b ui module
  7. ^ PyjamasDesktop history, Python Wiki
  8. ^ "Pyjamas Desktop".
  9. ^ Pyjamas - Python Applications for Desktop and Web, Luke Kenneth Casson Leighton (August 30, 2008)
  10. ^ Coding in Pyjamas: Apps for Desktop and the Web Luke Kenneth Casson Leighton (November 7, 2008)
[edit]
雍正为什么只在位13年 什么是夫妻 自愈什么意思 阴虚有什么症状 中秋节是什么时候
心悸症状是什么感觉 米肠是什么做的 酒店五行属什么 遗精是什么原因引起的 dd是什么意思
儿童疝气挂什么科 视网膜病变是什么意思 pn是什么 三月份是什么星座的 主动脉钙化是什么意思
血压偏高吃什么药 百年好合是什么生肖 绿色通道是什么意思 手是什么生肖 打嗝挂什么科
什么是厌氧菌感染hcv8jop0ns3r.cn 糖醋排骨是什么菜系hcv8jop1ns5r.cn 湿热内蕴证有什么症状hcv7jop7ns2r.cn 壬字五行属什么hcv9jop4ns4r.cn 瑾字是什么意思hcv9jop2ns9r.cn
胡思乱想是什么意思hcv9jop0ns5r.cn 化学性肝损伤是指什么ff14chat.com 1933年属什么生肖hcv7jop9ns4r.cn 臭氧有什么作用hcv8jop2ns5r.cn 夏天适合种什么水果hcv8jop7ns7r.cn
甘油三酯是什么意思hcv9jop6ns8r.cn 藏毛窦是什么病hcv8jop3ns7r.cn 双肾实质回声增强是什么意思hcv8jop8ns3r.cn 红萝卜不能和什么一起吃sanhestory.com 胎儿永久性右脐静脉是什么意思hcv7jop7ns4r.cn
胎盘粘连是什么原因造成的zhongyiyatai.com 71年属什么生肖hcv8jop9ns7r.cn 神经性头疼是什么原因造成的hcv8jop5ns1r.cn esmara是什么品牌hcv9jop4ns4r.cn 不眠夜是什么意思hcv8jop0ns6r.cn
百度