cjelli: (hal9000)
[personal profile] cjelli
Из Линкедина:
 
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?

Только тридцать лет назад мы это делали не от хорошей жизни...

Date: 2022-08-15 03:30 pm (UTC)
skittishfox: (Default)
From: [personal profile] skittishfox
В мене таке враження, що цей "стиль" має за мету перенести "непотрібні" операції на обчислювальні потужності споживача, а не сервера.

Profile

cjelli: (Default)
Роман Михайлович

June 2025

S M T W T F S
1234567
8910 11121314
15161718192021
22232425262728
2930     

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 23rd, 2025 09:47 pm
Powered by Dreamwidth Studios
OSZAR »