Python - Web显示技术 [英] Python - Web Display Technology

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

问题描述

我试图弄清楚为什么Python中的这么少的Web开发使用

Flash作为显示技术。看来大多数Python应用程序

选择HTML / CSS / JS作为显示技术,而Flash则是一款功能强大且优雅的显示技术。另一方面,HTML / JS

似乎很笨拙和过时。我是一名园丁,而不是通过

交易的编码器,但Flash似乎与Python完全融合。无论如何,

这是什么技术原因?

http://SamFeltus.com

I am trying to figure out why so little web development in Python uses
Flash as a display technology. It seems most Python applications
choose HTML/CSS/JS as the display technology, yet Flash is a far more
powerful and elegant display technology. On the other hand, HTML/JS
seems clunky and antiquated. I am a gardener, and not a coder by
trade, but Flash seems to integrate just fine with Python. Anyways,
what are the technical reasons for this?

http://SamFeltus.com

推荐答案

Am Donnerstag 18 Mai 2006 08:51 schrieb SamFeltus:
Am Donnerstag 18 Mai 2006 08:51 schrieb SamFeltus:
我试图找出为什么Python中的这么少的Web开发使用Flash作为显示技术。看来大多数Python应用程序选择HTML / CSS / JS作为显示技术,而Flash则是一种功能更强大,更优雅的显示技术。另一方面,HTML / JS似乎很笨拙和过时。我是园丁,而不是交易的编码器,但Flash似乎与Python完美融合。无论如何,这有什么技术原因?
I am trying to figure out why so little web development in Python uses
Flash as a display technology. It seems most Python applications
choose HTML/CSS/JS as the display technology, yet Flash is a far more
powerful and elegant display technology. On the other hand, HTML/JS
seems clunky and antiquated. I am a gardener, and not a coder by
trade, but Flash seems to integrate just fine with Python. Anyways,
what are the technical reasons for this?




没有Python特定的原因,但我不使用Flash,因为它

需要的不仅仅是通常的浏览器(随处可用)。

使用HTML / CSS / JS,我可以将它设为我想要的信息

用户在几乎所有可用的计算机上都显示出来(请考虑PS3),当我采用Flash或Java等技术时,我限制了

我能够达到的人数。


以我为例:我在AMD64上运行Linux,并且没有合适的Flash

实现,我可以插入我的Firefox。所以,我在任何Flash

页面上。如果你想让我不想查看你想要的信息,那么请使用Flash。如果你不,不要使用它。


并且:网络是一个提供_information_的平台。不提供闪亮的

图形/声音,这是Flash提供的唯一好处。


总结一下:Flash / Java在这里被视为邪恶。


但那只是我的5美分。


--- Heiko。



There no Python specific reason, but I refrain from using Flash because it
requires more than just the usual browser (which is available everywhere).
Using HTML/CSS/JS, I can make it so that the information I want to give to
the user displays right on pretty much every computer that''s available out
there (think PS3), when I resort to techniques such as Flash or Java, I limit
the number of people I can reach.

Take me for example: I''m running Linux on AMD64, and there''s no proper Flash
implementation yet which I can plug into my Firefox. So, I''m out on any Flash
page. If you want to exclude me from viewing the information you want to
present, fine, use Flash. If you don''t, don''t use it.

And: the web is a platform to offer _information_. Not to offer shiny
graphics/sound, which is the only benefit Flash has to offer.

To sum it up: Flash/Java considered evil here.

But that''s just my 5 cents.

--- Heiko.

SamFeltus启发我们:
SamFeltus enlightened us with:
我试图弄清楚为什么Python中的这么少的Web开发使用Flash作为显示技术。


有几个原因:


- 对于在Flash内部完成100%的网站,Flash不好用

电影。在这种情况下,后退按钮不再起作用,

这是一个主要的可用性问题。


- 在上面的例子中,为a页面也不起作用。


- 你需要一个额外的插件。即使它可用于主要的操作系统和硬件系统,但它并不适用于可运行浏览器的每个

平台。


- 该插件是封闭源的。


- 格式是来源。对于SWF文件是封闭的,
专有格式。


- 许多用户界面小部件通常在

中执行得很糟糕闪。例如,在许多滚动的东西上,滚轮

不起作用。或者,常规滚轮工作,但是对于

水平滚动,不支持倾斜滚轮。另一个

的例子:有时它只是清楚当你将鼠标悬停在它上面时链接指向什么(显示图像背后的文字,为

实例),这在某些设备上是不可能的(想想手持设备

带触摸屏)。


- 搜索引擎不明白Flash电影。他们也是

无法直接链接到相关页面。


- 更多原因...

似乎大多数Python应用程序选择HTML / CSS / JS作为显示技术,而Flash则是一种功能更强大,更优雅的显示技术。


Flash确实更强大,但根本不优雅。

另一方面,HTML / JS似乎很笨拙和过时。


它变得更好了。尝试使用XHTML 1.1并且只使用最新的,

平台/浏览器独立的JavaScript,它会好得多。

我是园丁,而不是编码器通过交易,但Flash似乎与Python集成得很好。


在编码方面,这是绝对的废话。当谈到Python的思维方式时,ActionScript几乎与Python垂直相当。

在ActionScript中有很多方法可以做同样的事情,没有一个

这是显而易见的。另一件事是,当你调用一个

不存在的函数时,该调用会被默默地忽略。同样适用于获得不存在变量值的

。这使得调试非常困难。
http://SamFeltus.com
I am trying to figure out why so little web development in Python
uses Flash as a display technology.
There are a couple of reasons:

- Flash is bad for websites that are 100% done inside the Flash
movie. In such a case the back-button doesn''t work anymore,
which is a major usability issue.

- In the above case, bookmarking a page doesn''t work either.

- You need an extra plugin. Even though it''s available for the
major OSses and hardware systems, it''s not available for every
platform that can run a browser.

- The plugin is closed-source.

- The format that is the "source" for the SWF files is a closed,
proprietary format.

- Many user-interface widgets are generally badly implemented in
Flash. For instance, on many scrolling thingies, the scrollwheel
doesn''t work. Or, the regular scrollwheel works, but for
scrolling horizontally the tilt wheel isn''t supported. Another
example: sometimes it''s only clear what a link points to when
you hover over it (revealing a text behind an image, for
instance), which is impossible on some devices (think handhelds
with a touch-screen).

- Search engines don''t understand Flash movies. They are also
unable to link directly to relevant pages.

- Many more reasons...
It seems most Python applications choose HTML/CSS/JS as the display
technology, yet Flash is a far more powerful and elegant display
technology.
Flash is indeed more powerful, but not elegant at all.
On the other hand, HTML/JS seems clunky and antiquated.
It''s getting a lot better. Try using XHTML 1.1 and only up to date,
platform/browser-independent JavaScript, it''ll be much better.
I am a gardener, and not a coder by trade, but Flash seems to
integrate just fine with Python.
It''s absolute crap when it comes to coding. ActionScript stands almost
perpendicular to Python when it comes to the Python way of thinking.
In ActionScript there are many ways of doing the same thing, none of
which are obvious. Another thing is that when you call a function that
doesn''t exist, that call is silently ignored. The same holds for
getting the value of a non-existing variable. This makes debugging
very difficult.
http://SamFeltus.com




您的网站看起来非常没有样式没有闪光......而且我没有

Flash player 8 ...


Sybren

-

世界的问题是愚蠢。并不是说应该对愚蠢的死刑进行处罚,但为什么我们不要仅仅拿掉

安全标签来解决问题呢? br />
Frank Zappa



Your site looks quite "unstyled" without flash... And I don''t have
Flash player 8...

Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don''t we just take the
safety labels off of everything and let the problem solve itself?
Frank Zappa


Heiko Wundram启发我们:
Heiko Wundram enlightened us with:
并且:网络是一个提供_information_的平台。不提供
闪亮的图形/声音[...]
And: the web is a platform to offer _information_. Not to offer
shiny graphics/sound [...]




许多人不同意......


不是我,但我认识很多人会这样。


Sybren

-

世界的问题是愚蠢。并不是说应该对愚蠢的死刑进行处罚,但为什么我们不要仅仅拿掉

安全标签来解决问题呢? br />
Frank Zappa



Many would disagree...

Not me, but I know a lot of people that would.

Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don''t we just take the
safety labels off of everything and let the problem solve itself?
Frank Zappa


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

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