插页式加载页面背后的理由和基本概念是什么?
我有兴趣了解为什么在某些网站上使用它来处理用户发起的搜索提交,它如何影响请求和响应流,以及以编程方式为什么它是必要的(或有益的)。 在 MVC 框架中,执行起来似乎很困难,因为您要将另一个页面注入到流程的中间。
编辑:
与广告无关。 例如,大多数旅游网站过去都是这么做的,而且没有广告……一些银行网站也这么做,只有一个加载程序,上面写着“我们正在处理您的交易,请稍等……”。
I'm interested in finding out why this is used on some Web sites for processing user-initiated search submissions, how it affects the request and response flow, and programmatically why it would be necessary (or beneficial). In an MVC framework it seems difficult to execute since you are injecting another page into the middle of the flow.
EDIT:
Not advertising related. For instance, most travel sites used to do this, and there were no ads... some banking sites do it too, where there is just a loader that says something like "Please wait while we process your transaction...".
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
它通常用在长时间运行的请求中,以防止 Web 服务器超时请求。 使用插页式页面,您可以不断刷新页面,直到返回结果。
编辑:
此外,对于长时间运行的请求,有一个“正在加载..”页面是有益的,以便向用户显示正在发生的事情。 如果没有插页式页面,如果花费的时间太长,请求可能会显得已挂起。
It is often used in long running requests to prevent the web server from timing out the request. With an interstitial page, you are able to continuously refresh the page until you get results back.
EDIT:
Also, for long running requests, it is beneficial to have a "Loading.." page in order to show the user that something is happening. Without the interstitial page, the request can appear to have hung up if it takes too long.
为了补充 HVS 所说的内容,之前出现的插页式广告(例如主页加载)很大程度上是出于广告目的,我们都见过“关闭此广告”链接。
从用户体验的角度来看,它们可以提供帮助的一个例子是,当用户发起一项操作,该操作需要来自流程的反馈时,该流程可能需要一些时间才能响应 - 要么是因为它很慢、很忙,要么只是有很多处理要做。
例如,考虑一个在线预订航班的网站。 当您点击“查找航班”时,您经常会看到一个插页式广告,因为系统必须关闭并询问所有相关的航班信息,然后在将它们显示在屏幕上之前为您进行排序。 如果这种“请求、询问、返回、显示”的往返过程可能比正常网页从一个网页转换到下一个网页所花费的时间长,那么 UX 设计师可能会考虑使用间隙屏幕(或消息)来让用户知道正在发生某些事情,同时允许系统有完成请求所需的时间。 任何具有这种面对面时间的屏幕都会从“既然我们已经得到了他们,我们不妨向他们展示一些东西”的角度来引起营销部门的注意。
作为一名 UX 设计师,像这样的插页式广告并不总是首选,因为我希望每个系统都能立即返回数据,但如果由于某种原因无法返回数据,我非常支持让用户尽可能多地了解相关信息正在发生的事情 - 而不是让他们盯着浏览器状态栏,直到他们再次尝试或厌倦并离开。
考虑这一点时的最后一点是,在这样的屏幕上也有一个下限和上限的时间限制。 如果您需要显示插页式广告,请显示足够长的时间,以便人们可以阅读并理解它,但不要太长,以免他们厌倦等待。 作为粗略指导,请将其打开至少 3-4 秒(即使该过程平均需要 4 秒,但在这种情况下在 1 秒后完成)。 在 4 到 10 秒之间每秒检查一次进程是否已响应(如果有响应,则将用户带到下一页),10 秒后认真考虑告诉用户再试一次或告诉他们你失败了(同时让您的技术团队解决最终会影响您利润的问题)。
To supplement what HVS said, interstitials which appear before, say a homepage loads, are very much there for the purpose of advertising, we've all seen the 'close this ad' link.
One instance where they can be helpful from a user experience point of view is when a user initiates an action which requires feedback from a process which may take some time to respond - either because it's slow, busy or just has a lot of processing to do.
Think of a site where you book a flight online for example. You often get an interstitial on hitting 'find flights' because the the system is having to go off and ask for all relevant flight information and then sort them for you before displaying them on your screen. If this round-trip of 'request, interrogate, return, display' is likely to take an amount of time beyond that which a normal webpage transitions from one to the next, a UXDesigner may consider an interstitial screen (or message) to let the user know something is happening whilst at the same time allowing the system the time it needs to complete the request. Any screen with this sort of face-time is going to get the attention of your marketing department from a 'well while we've got them we might as well show them something' point of view.
As a UX Designer myself interstitials like this are not always preferred as I'd love every system to return data immediately but if it can't for whatever reason, I'm very much for keeping the user in the loop as much as possible about what is happening - rather than leaving them to stare at the browser status bar until they either try again or get fed up and leave.
One final point when considering this is also to have a lower and upper time limit on a screen like this. If you need to show an interstitial, show it for long enough so people can read it and understand it but not too long that they get fed up of waiting. As a rough guide, leave it open for at least 3-4 seconds (even if the process averages 4 seconds but has finished after 1 on this occasion). Between 4 and 10 seconds check every second to see if the process has responded (and then take the user to the next page f it has) and after 10 seconds seriously consider telling the user to either try again or telling them you've failed (whilst at the same time getting your tech team to fix what is ultimately a problem which will affect your bottom line).
我相信绝大多数插页式页面都是为了投放广告。
I believe the vast majority of interstitial pages are there to run advertising.