I searched for a while and did not find anything related to this. I even tried asking for the UX section, and they said that it belongs more here, so we go again:
I am writing a page that employees can edit, add, delete or view in stock. It depends (heavily) on JavaScript to render and animate some elements on the page in order to speed up the page loading process and improve the user interface, since the server sends only pure JSON and then the JavaScript browser processes JSON and then displays (creates) the whole page.
It looks nice and loads very fast, but is considered good programming practice? And when will this be a problem? Even Internet Explorer or mobile browsers (Chrome, ABP Browser) display every page without any problems. No hiccups or other things. But when I saw these 700+ JS lines, the question remains ...
And in case someone is interested in what the page looks like, here are some photos: (Maybe it doesn't matter, maybe not)
https://i.stack.imgur.com/0rLI6.jpg
https://i.stack.imgur.com/d90n9.jpg
. - , JavaScript, , . (: ) , CDN , JS . JavaScript ( ), JavaScript ( HTTP- ). , JS, , , JavaScript, . - .
- . ? .
, JavaScript, Google , SEO, . UX.
. - , JavaScript: -, // .. , , Google .. , , JavaScript. , ? JavaScript, , . , , - .
. React.
SEO ? , - , HTML ( , ), .
, JS HTML , React, , . React - . - - , , DOM. React , , , .
, - -, , React - Redux.
:
1- . Javascript , - .... ( ), , . . - , javascript, UX - .
. , . , (, angular ), , .
, ( - " ", , , ).
, , ,
JSON , perofmrnace. , Javascript ? HTML5, .
HTML, Javascript CSS, JSON? .
What is the worst that could happen if your application was compromised? The usual guide for securing web applications is based on the more traditional server version of the HTTP request-response request with sessions. And one of the first things that someone writes that protects our applications is that Javascript does not access the session cookie. Oauth2 is specifically written to handle this kind of scenario.
Source: https://habr.com/ru/post/1659843/More articles:In C ++, is it good to implement an iterator interface in which promoting the invalidity of the "current" element? - c ++Как создать частичный класс прокси из большого WSDL? - c#Concatenating Smalltalk Pharo String instead of Streams - smalltalkSQL CSV query - sqlHow to iterate all static open guides in a static class - reflectionWhy can't ButterKnife bind fields that are in private inner classes? - androidresponse-native: which CI automation tool is better? - continuous-integrationhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1659846/passing-arguments-to-custom-system-call&usg=ALkJrhgH1ChQ6niWKbY63w_JOH-CVb-tAgFinding text in a PHP array - arraysCreate a constant iterator and a non-constant iterator - c ++All Articles