PDA

View Full Version : [CLOSED] [enhancement] Note that hasbang for routing is not state of the art



valio
31 Jul 2017, 5:11 AM
I wondered about the Ext.route.Router.hashBang (http://docs.sencha.com/extjs/6.5.0/modern/Ext.route.Router.html#cfg-hashBang) / Ext.util.History.hashbang (http://docs.sencha.com/extjs/6.5.0/modern/src/History.js.html#Ext.util.History-property-hashbang), until I found this StackOverflow thread (https://stackoverflow.com/questions/3009380/whats-the-shebang-hashbang-in-facebook-and-new-twitter-urls-for).

The bottomline to note here is that the shebang convention was a suggestion called AJAX crawling scheme (https://developers.google.com/webmasters/ajax-crawling/docs/learn-more) by Google that they now classify as deprecated (https://developers.google.com/webmasters/ajax-crawling/docs/learn-more).
i.e. it's not seen as necessary or useful to implement this in any new site.

Suggestion:
1. add a note to the docs why this was originally implemented in the ExtJS framework,
2. add a note that it's not useful for new system and
3. consider to add a deprecated flag for the docs.

Gary Schlosberg
2 Aug 2017, 3:18 PM
Thanks for the report! I have opened a documentation bug in our bug tracker.

valio
24 Aug 2017, 5:26 AM
Could you please elaborate why this was marked as won't fix?

mitchellsimoens
24 Aug 2017, 6:33 AM
The functionality was originally added via a customer request and therefor we are not going to deprecate the functionality at this time.

valio
12 Sep 2017, 12:21 AM
Thank you for the explanation!

Fair enough (albeit I personally tend to disagree with the conclusions).