我刚刚开始使用一个已经使用Backbone的Web项目,但到目前为止我还没有做任何Web。我一直在阅读文档并阅读路由器(http://thomasdavis.github.com/2011/02/07/making-a-restful-ajax-app.html和http://backbonetutorials.com/what-is-a-router/#/route/action),但我不确定是否理解其中一个基本的东西。骨干路由,什么是#标签?
用于骨干路由器的#标签是什么?我搜索了一下,看到#被用来指向页面中的特定点,但除此之外,我不太确定骨干网如何使用它。像这样的网页上:http://backbonetutorials.com/what-is-a-router/#/route/action他们这样说:
Also note that routes interpret anything after "#" tag in the URL. All links in your application should target "#/action" or "#action". (Appending a forward slash after the hashtag looks a bit nicer e.g. http://example.com/#/user/help)
但到底是什么,实际上意味着什么呢?我不太明白。对不起noob问题,但我真的无法弄清楚。谢谢。