什么样的技术落后时:" HTTP://abcde.com/#下载|"? [英] What kind of technique is used behind: "http://abcde.com/#!download|"?

查看:134
本文介绍了什么样的技术落后时:" HTTP://abcde.com/#下载|"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

像这样

我见过的网址     的 HTTPS://rapidshare.com/#下载| 然后      http://www.facebook.de/#!xyz 多次在网络上。它看起来像新锐AJAX(我不是一个JavaScript的家伙),但它不容易找到这个教程。我的问题是:怎么叫这个技术,我在哪里可以找到更多的是什么?顺便说一句,即使是(好)维基百科对Ajax的文章已经是绝对的,没有信息。谢谢,围观!

解决方案
  

怎么叫这个技术

Hashbang。 我问起这个而回

在单独使用散列,它只是触发的哈希改变事件在新的浏览器。使用哈希改变事件与现代爵士风格的应用程序(节点式的框架),因为它的所有异步效果很好。问题是,这些网页不要被谷歌索引。

然而,人们发现,如果你preFIX哈希内容,它的确实的获得由谷歌索引。真棒!

  

我在哪里可以找到更多的吗?

有关详情,请阅读本:的http://mtrpcic.net/2011/02/fragment-uris-theyre-not-as-bad-as-you-think-really/

i've seen URLs like this https://rapidshare.com/#!download| and that http://www.facebook.de/#!xyz several times on the web. It looks like cutting-edge ajax (i'm not a JavaScript guy), but it's not easy to find tutorials on this. My Question is: How is this technique called and where can I find more on that ? By the way, even the (good) wikipedia article for "ajax" has absolutly no information on that. Thanks, crowd !

解决方案

How is this technique called

Hashbang. I asked about this a while back.

When you use the hash by itself, its just triggering the hash change event in newer browsers. Using a hash change event works well with modern JS style applications (node style frameworks) because its all asynchronous. The problem is that those pages don't get indexed by google.

However, it was discovered that if you prefix the hash content with !, it does get indexed by google. Awesome!

where can I find more on that ?

For more, read this: http://mtrpcic.net/2011/02/fragment-uris-theyre-not-as-bad-as-you-think-really/

这篇关于什么样的技术落后时:" HTTP://abcde.com/#下载|"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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