What are the (technical) pros and cons of Flash vs

2019-04-08 03:14发布

We provide a web application with a frontend completely developed in Adobe Flash. When we chose Flash 6 years ago, we did so for its large number of features for user interaction, like dragging stuff, opening and closing menus, tree navigation elements, popup dialogs etc.

Today it's obvious that AJAX/JS offers roughly the same possibilities and because of the number of frameworks that are readily available, it's very feasible to implement them.

Is there a technical reason one should choose either technology over the other? By "technical", I mean performance, security, portability/compatibility and the like. I don't mean aspects such as the very non-programmer way development is done in Flash or whether it makes sense to switch an app from one to the other.

As I just explained in another question, it seems to me that JS is way ahead in terms of market share and I'm wondering whether we are missing some important point if we stick to Flash.

标签: ajax flash ria
11条回答
看我几分像从前
2楼-- · 2019-04-08 03:47

JS and Flash both have great presence on the web with overlapping capabilities. One area JS is still lacking is in rendering video.

查看更多
虎瘦雄心在
3楼-- · 2019-04-08 03:48

As I can't accept two answers, I'm going to merge Christ Upchurch's and 17 of 26's answers in my own post. I think, these two together pretty much sum up what I wanted to know. Thanks guys!

查看更多
We Are One
4楼-- · 2019-04-08 03:52

Although flash is pretty ubiquitous on desktop browsers, mobile support is very limited (flash lite? yeah, right). I get really frustrated looking up a restaurant on my phone only to find the entire site is flash based and I can't even get a phone number or address!

查看更多
萌系小妹纸
5楼-- · 2019-04-08 03:52

I suspect one of the reasons javascript is becoming more popular is that it's more easy to retrofit into an existing application.

查看更多
Rolldiameter
6楼-- · 2019-04-08 03:58

If you're dealing a lot with polygons, then Flash is still easier to program and debug. With AJAX there are a lot of libraries to handle polygons, but the more libraries your app uses, the slower it gets.

查看更多
来,给爷笑一个
7楼-- · 2019-04-08 03:59
  • Correctly designed AJAX apps are more googleable than Flash
  • Correctly designed AJAX apps are more easily deep linkable than Flash
  • AJAX doesn't require a plugin (Flash is pretty ubiquitous, so it's not really a big deal)*
  • AJAX isn't controlled by a single company the way Flash is

Edited to add: * Except for the iPhone, as Abdu points out.

查看更多
登录 后发表回答