SupermanScott / jquery-bbps

jQuery BBPS provides for AJAX loading of pages using the recommended Google standard (#!) or using the history.pushState to emulate full page loads.
GNU General Public License v2.0
2 stars 0 forks source link

Use of #! #1

Open balupton opened 13 years ago

balupton commented 13 years ago

Hey mate.

Author of jQuery Ajaxy and History.js here.

Love that your having a go at the HTML5 State/History API stuff :-) Thought I'd let you know that the #! is meant to be used for pages that do not gracefully degrade... For example a valid use case of #! is when the hash doesn't actually point to a real page - for example www.somesite.com/#!/something works but not www.somesite.com/something - this was added for sites like Facebook jumping the gun and not supporting search engines. Using the HTML5 State/History API is made so that this problem can be solved from the start...

Does that make sense? You can read more about this here: http://getsatisfaction.com/balupton/topics/support_googles_recommendation_for_ajax_deeplinking

Also what are your thoughts on History.js... seems that it does the same thing... so would love your feedback or contributions to make sure History.js supports your use cases.

SupermanScott commented 13 years ago

Ahh interesting, I guess I didn't actually completely understand the google http://code.google.com/web/ajaxcrawling/docs/specification.html

History.js looks fairly complete, noticed the iFrame for IE's, a common technique for this. jQuery BBQ does it and i believe jquery.address does as well.

SupermanScott commented 13 years ago

and btw, what is Twitter doing? I guess whatever it wants because its Twitter?