网站完全用 Flash 编写(或显示).当这不是一个好主意时? [英] Website fully written ( or displayed ) in Flash. When this is NOT a good idea?

查看:29
本文介绍了网站完全用 Flash 编写(或显示).当这不是一个好主意时?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

来自这条推文:http://twitter.com/azaaza/status/6508524118我到达了一个网站,它完全是用 Flash 制作的(至少是前端).

From this tweet: http://twitter.com/azaaza/status/6508524118 I reach a website which is made completely in Flash (at least the front end).

替代文字 http://img704.imageshack.us/img704/3116/screenshotvz.png

它看起来很棒,可以用 HTML + Ajax 编写,但我猜(因为我自己不太了解 flash)他们的网站所有者对 Flash 感觉更舒服,并认为它会更容易(再一次,我想当你有数千个飞行小时的闪光灯时会发生这种情况)

It looks fantastic and it could have been written with HTML + Ajax, but I guess ( because I don't know much flash my self ) they site owners felt more comfortable with Flash and thought it would be easier ( once again, I guess this happens when you have thousands of flight hours with flash )

从状态栏来看,好像大部分图片和文字都是动态下载的(不然flash文件太重了)

Judging by the status bar, it seems that most of the images and text are downloaded dynamically ( otherwise the flash file would've been too heavy )

问题:

什么类型的 webapps 应该考虑在 flash 中做所有的前端?

What type of webapps should consider do all the frontend in flash?

会更容易吗?是/否,只有当您在 HTML+Ajax 方面表现不佳但在 Flash 方面表现出色?

Would it be easier? Yes/No, only if you suck at HTML+Ajax but you excel at Flash?

适合所有人吗?

什么时候不应该使用?

我猜一个额外的好处是你没有IE+FF+Opera+Chrome+Safari的兼容性问题

I guess that an extra benefit is that you don't have IE+FF+Opera+Chrome+Safari compatibility problems

这会是 webapps 前端的下一个编程模型吗?

Would this be the next programming model for webapps front end?

推荐答案

这里的大多数答案似乎都是人们说他们讨厌" 100% Flash 网站(不仅不喜欢或不推荐,只是讨厌喜欢omg flash sux lolz" 有点讨厌),然后提供一些非常弱(有时只是不真实)论点的列表作为原因.虽然我已经在评论中提到了其中的一些,但让我在这里回顾一下似乎在这里反对完整 Flash 网站的最大论据以及为什么我完全不同意它们:

Most of the answers here seem to be people stating that they "hate" 100% Flash sites (not only dislike or not recommend, just HATE like "omg flash sux lolz" kind of hate) and then providing a list of some really weak (and sometimes just untrue) arguments as reasons for that. Although I've addressed some of them in the comments, let me write here a recap of what seem to be here the biggest arguments against full Flash sites and why I don't agree at all with them:

- SEO 和深度链接/书签问题

SWFA地址.'纳夫说.它已经存在多年了,但人们仍然认为不可能对 Flash 内容进行深度链接或添加书签,显然是因为他们从来没有费心检查它,或者开发了一个 Flash 网站并面临这个问题(这已经解决了多年,就像我说).我觉得有趣的是,大多数人似乎都推荐/喜欢 Ajax/javascript+XHTML 来构建动态网站......但是 Ajax 内容也不能被谷歌深度链接、书签或索引,除非你使用解决方法...也适用于 Flash 内容!

SWFAddress. 'Nuff said. It has been around for years, but people still believe that it's impossible to deeplink or bookmark flash content, obviously because they have NEVER bothered to check it, or developed a Flash site and faced the problem (which has been solved for years, like I said). What I find funny is that most of the people seem to recommend/favor Ajax/javascript+XHTML to build dynamic websites... But Ajax content ALSO can't be deep linked, or bookmarked, or indexed by google, unless you use a workaround... which works for Flash content too!

那么,为什么很多完整的 Flash 网站没有实现它?我不知道,也许没有必要(比如游戏网站、广告网站……大部分FWA 网站)或者它可能只是一个懒惰的开发者(见下文).

Then, why many full flash sites out there don't implement it? I don't know, maybe is not necessary (like for a game site, an advertisment site... most of The FWA sites) or it could be just a lazy developer (see below).

- 可访问性:

首先,Flash 对残障用户非常友好.您可以查看 adobe Flash 可访问性页面,但我会解释:Flash 擅长呈现视觉和音频内容.为需要它的用户构建更改字体大小、页面对比度等的控件非常容易.我不会说它与应用自定义样式表一样容易实现,但这真的不是负担/麻烦......如果您需要您的网站可访问,请全神贯注并正确实施(这是真的适用于所有技术).

First of all, Flash is very friendly to users with disabilities. You can check the adobe Flash accesibility page but I'll explain: Flash excels at presenting visual and audio content. It is really easy to build controls that change the font size, the contrast of the page, etc. for users that need it. I won't go as far as to say it's as easy to implement as applying custom stylesheets but it's really not a burden/hassle... if you need your site accesible, put your mind into it and implement things right (which is true for all technologies).

此外,残疾不仅仅意味着近视或色盲,例如,在我的工作中,我们在网络上提供手语视频,并为聋人提供同步文本(不是字幕,完整的文字墙)人,我真的不认为使用任何其他技术来实现会更容易(请记住,我并不是说这是不可能的).

Also, disabilities don't only mean short-sighted or color-blindness, for example in my work we provide video on the web in sign language with syncronized text (not subtitles, a full wall-of-text) for deaf people and I really don't think it would be easier to implement using any other technology (and bear in mind I don't say it would be impossible).

- 手机/iPhone:

为了清楚起见,Flash 内容不能在移动设备上运行是不正确的(这就是 flashlite 在那里,不是吗?).然而,就目前而言,许多系统(包括 iphone)确实不支持 Flash.这是一个大问题吗?我不这么认为,请让我详细说明.如果我构建了一个针对 1024x720 优化的很棒的 XHTML 网站,具有出色的 javascript 效果和漂亮的图片,我向您保证它会在移动设备上显示出来(如果它甚至出现的话)会很糟糕.我参加了一个移动网络会议,据说移动网站的大小永远不能超过 20kb……祝你好运.

To make things clear, it is just not true that Flash content does not run on mobile (that's what flashlite is there for, isn't it?). It is however true that, as for today, many systems (including the iphone) do not support Flash. Is this such a big problem? I don't think so, and please let me elaborate. If I build an awesome XHTML website optimized for 1024x720, with great javascript effects and pretty pictures, I assure you its going to show up horrible on a mobile device (if it even does). I attended a mobile web conference where it was said that the size of a website for mobile should never exceed 20kb... so good luck with that.

大多数重要的网站都实现了一个仅用于移动设备的特殊网站,显然是纯 HTML ......这与您应该为完整的 Flash 网站做的完全相同.至于iphone上的Flash,当Flash CS5一出,突然Flash电影就可以编译成iphone应用程序了,我真的看不出苹果再长按iphone flash播放器的理由了.正如我所说,虽然它并没有真正困扰我,因为我相信要走的路是网络的特定于移动设备的版本(甚至是特定于 iPhone 的).

Most important websites implement an special site only for mobile, obviously in plain HTML... which is exactly the same you should do for a full Flash site. As for Flash on the iphone, when Flash CS5 comes out and suddenly Flash movies can be compiled into iphone applications, I really see no reason for apple to hold down the iphone flash player any longer. Although it doesn't really bother me, as I said, because I believe the way to go is a mobile-specific version of the web (or even iphone-specific).

总结:我发现大多数反对反对派 Flash 的争论只是人们对反对派 Flash 的怨恨,这是基于存在多年但实际上并不存在的神话不再适用.许多论点同样适用于糟糕的 XHTML/Ajax 网站,所以大多数时候,批评者指的只是抱怨构建不良的 Flash 网站的反对派,所以应该归咎于糟糕/懒惰的 Flash 开发人员,而不是技术(和有许多 Flash 开发人员来自设计和/或没有编程背景这一事实根本没有帮助.

To summarize: I find that most arguments aganist Flash are just grudges people hold aganist Flash, which are based on myths that have been around for years but really don't hold true anymore. Many of the arguments apply just the same to bad XHTML/Ajax sites, so most of the time, critics refer to just complains aganist poorly-built Flash sites, so sucky/lazy Flash developers are the ones to blame, not the technology (and the fact that there are many Flash developers out there that come from design and/or don't have a programming background doesn't help at all).

我现在将从我(Flash 开发人员)的角度回答提出的问题:

I'll now answer the proposed questions from my perspective (that of a Flash developer):

  • 什么类型的 webapps 应该考虑做所有的前端闪光?

从我的头顶:

  • 展示或宣传壮观产品(如汽车、服装等)的网站.如果您想通过精彩的视图和交互性来影响用户,Flash 是迄今为止最好的选择.

  • Sites to showcase or advertise a spectacular product, like a car, clothing etc. When you want to impact the user with awesome views and interactivity, Flash is by far the best.

艺术家作品集:摄影师、音乐家等必须将艺术家作品整合到网站中的网站.

Artists porfolios: webs for photographers, musicians, etc. where the artist's work has to be integrated in the site.

如果您是 Flash 开发人员/在 Flash 开发公司工作,那么构建一个完整的 Flash 产品组合网站非常有意义,不是吗?;)

If you are a Flash developer/work for a Flash developing company, building a full Flash portfolio site makes a lot of sense doesn't it? ;)

一般来说,任何更关注用户体验而不是数据的网站.请参考bit101的大师Keith Peters:Flash,有什么用?

In general, any site that is more about user experience than data. Please refer to the master Keith Peters from bit101: Flash, what is it good for?

会更容易吗?是/否,只有当你不擅长 HTML+Ajax 但你擅长在 Flash 上?

根据您的需要,Flash 很可能是唯一的工具.一些在 Flash 中构建起来并不复杂的东西在 XHTML 中开发将是一场噩梦.无论如何,如果你不擅长 HTML+Ajax,你就不应该开发 Web 应用程序,不是吗?

Depending on your needs, Flash very well could be the only tool. Some of the things that are not complicated to build in Flash would be a nightmare to develop in XHTML. Anyways, if you suck at HTML+Ajax, you shouldn't be developing web apps, should you?

  • 适合所有人吗?

见鬼,不.甚至我也同意,一个只包含完整 Flash 网站的网站对每个人来说都是一种恐惧(我猜除了 adobe).

Hell no. Even I agree that a web consisting of only full Flash sites would be a horror for everyone (except for adobe, I guess).

  • 什么时候不应该使用?

我会说,当您正在构建的网站不是上述情况时:P 绝对不是当文本(信息)是网站最重要的部分时.

I would say that when the site you're building is none of the above :P Absolutely not when text (information) is the most important part of the site.

  • 我想一个额外的好处是你没有IE+FF+Opera+Chrome+Safari兼容性问题

是的,确实是,不仅是额外"的好处,而且是非常巨大的好处.

Yes, it really is, not only an "extra" benefit but a really huge one.

  • 这会是 webapps 前端的下一个编程模型吗?

这是一个棘手的问题.我真的不认为这是 100% Flash/Flex 与 100% XHTML+Ajax 网站之间的战争.Flash/Flex 不能替代 HTML,但它是对它的一个很好的补充.始终使用正确的工具来完成工作,并使用您需要的任何技术(或组合),只要您明智地使用它.我发现在 Flash 中实现 wikipedia 或您的个人博客与使用 XHTML+Ajax 构建一些非常壮观的 FWA 风格的网站同样愚蠢.

This is a tricky question. I really don't see this is a war between 100% Flash/Flex vs 100% XHTML+Ajax sites. Flash/Flex is not there to substitute HTML, but it is a great complement to it. Always use the right tool for the job, and use any technology (or mix) you need as long as you use it wisely. I find it would be equally foolish to implement the wikipedia or your personal blog in Flash, as to build some really spectacular theFWA-style site using XHTML+Ajax.

抱歉,文字过大,感谢阅读!期待仇恨评论;)

Sorry for the huge text, and thanks for reading! Looking forward hate comments ;)

这篇关于网站完全用 Flash 编写(或显示).当这不是一个好主意时?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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