Get the App
SLTechnology News&Howtos  ›  Development  › 

What is the function of Python's RIA framework Pyjs

Shulou Source: shulou.com Published: 2022-06-02 12:20:50 11月15日 Update

This article introduces the relevant knowledge of "what is the role of Python's RIA framework Pyjs?". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

Pyjs is a RIA development platform for Web and desktops, including a Python to JavaScript compiler, an Ajax framework, and a set of Widget API. Pyjs is equivalent to Google's Python portable version of GWT, but also supports desktop application development-Pyjs Desktop, which can run Web projects with the same code directly using stand-alone desktop applications without opening a browser.

A simple piece of Pyjs code:

Import pyjd # this is dummy in pyjsfrom pyjamas.ui.RootPanel import RootPanelfrom pyjamas.ui.Label import Labelpyjd.setup ('public/hello.html') l = Label (' Hello Pyjs') RootPanel (). Add (l) pyjd.run () "what is the purpose of Python's RIA framework Pyjs?" Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Tags: Framework desktop role code content more knowledge application development practical identical learned and then at the same time dilemma practical platform application development application development platform Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi Shulou Information Shulou Technology Linux OPPO Reno