Ходим кругами
Aug. 15th, 2022 10:57 am![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Из Линкедина:
In the '90s web development was writing #Perl CGI script that would print HTML. Once #JavaScript and #CSS were born people started to embed those too in the same file. If the code was using some relational database we also had #SQL in the same file. 5 language in every file.
It was a mess, so people started to develop better practices and templating system to separate the various languages. Generating each page needed more files, but each file contained one, maximum two languages. (e.g. HTML + the template language)
Now I started to see code that uses #Python, HTML, CSS, JavaScript, and yes also SQL in the same file and it is now called a "component".
Is there a trend now to go back to the one-page one-file strategy and use multiple languages in the same file?
It was a mess, so people started to develop better practices and templating system to separate the various languages. Generating each page needed more files, but each file contained one, maximum two languages. (e.g. HTML + the template language)
Now I started to see code that uses #Python, HTML, CSS, JavaScript, and yes also SQL in the same file and it is now called a "component".
Is there a trend now to go back to the one-page one-file strategy and use multiple languages in the same file?
Только тридцать лет назад мы это делали не от хорошей жизни...
no subject
Date: 2022-08-15 03:30 pm (UTC)no subject
Date: 2022-08-15 05:09 pm (UTC)