Javascript Ajax Graceful degradation with different pages?

I'm starting to pay more attention to making my javascript and ajax degrade gracefully. Which is more recommended:

  • working on incorporating smart degradation into your existing code (it can be difficult) or
  • development of different sets of pages for non-js users.

I tend to different sets of pages because it makes me feel better and I get the best results for each type of user (js-enabled or js-disabled). Do you agree with me, and if not, why don't you agree?

I am also worried about hacking attempts. For example, a hacker gets into a js-enabled version and then disables his js. Any thoughts on this? I don't know much about hacking, but could it be a security issue if I go with separate versions?

Thank you in advance

+3
source share
3 answers

, JS- -JS, - , , , , . , , . , , . - : JS , , JS: ? .

: , . ( ) , . , JS . , , JS JS, , .

+2

, Progressive Enhancement: , - , .

, , , ( , , , , , javascript) .

, ajax. , ajax js. js-, , , -js-. AJAX -, URL.

+5

, , jQuery Ajaxy. ajax - , - JavaScript . , .

( ) http://wbhomes.com.au http://www.balupton.com

0

Source: https://habr.com/ru/post/1719360/


All Articles