Python Web/UI 选项 [英] Python Web/UI Options

查看:26
本文介绍了Python Web/UI 选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在一个 Python 系统之上建立一个 UI.这都是扔掉的代码,所以我们想要一些快速但可展示的东西.

We are in the process of standing up a UI on top of a python system. This is all throw away code, so we want something quick, yet presentable.

我们将有几个接口",但它们有两种类型.一个是控制,它基本上是坐在一个python线程之上,并接受来自用户的请求.

We will have a couple of "interfaces" but they will be of two types. One will be control, it will basically be sitting on top of a python thread, and accepting requests from the user.

另一个将更多是需要能够显示图像的显示屏,以及一些经典的文本网格视图"给用户.

The other will be more of a display screen that will need to be able to display images, and some classic "grid views" of text to the user.

我们几乎知道我们可以*在 HTML 中完成所有这些,但不确定与核心 Python 代码交互的最佳方式是什么?

We pretty much know we could* do all of this in HTML but wasn't sure what would be the best way to interact with the core python code?

有人知道一个好的 UI python 表示层吗?由于我们知道我们可以在 HTML/Jquery 中快速完成所有这些工作,因此我们也乐于接受有关如何将其与网络服务器集成的建议.

Anyone know of a good UI python presentation layer? Since we know we can do all of this in HTML/Jquery pretty quickly, we are also open to suggestions on how to integrate this with a web server..

有什么建议吗?真的很想知道是否有任何方法可以使用 python 作为网络服务器的后端.

Any suggestions? Really interested in finding out if there is any way to use python as the back end to a webserver.

如果你们都需要更多信息,请告诉我.

Let me know if you all need more information.

推荐答案

我们发现 DJango 符合我们的需要.这是一个非常漂亮的 mvc 风格的 Python 网络堆栈.真的很容易使用,而且开发速度很快.我会说 ORM 层有点年轻,所以很难做一些简单的查询,但幸运的是,因为这是扔掉的代码,我们只能使用原生 sql.

We have found the DJango meets our needs. It is a pretty slick mvc style python web stack. Really is easy to use, and very quick to develop in. I will say that the ORM layer is a little young so it is hard to do some simple queries, but luckly since this is throw away code we can just use native sql.

这篇关于Python Web/UI 选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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