3 ms·
Having a templating system in ‘that environment’ is worth its weight in gold IMO. I’ve been switching between Svelte and Django templates a lot lately, and Svel
by tmpX7dMeXU 3y ago
Having a templating system in ‘that environment’ is worth its weight in gold IMO. I’ve been switching between Svelte and Django templates a lot lately, and Svelte just…knowing about the DOM, makes the experience so much nicer. I haven’t come across a non-JS template system that does this. And yes, I was there for PHP and jQuery and whatever.
- raverbashing 3y agoI have to agree, Django templating (last I saw) was stuck somewhere in Web 1.0 Jinja2 is better, but most of the time, I would just build the API and not bother with rendering anything on Django itself
- mattmanser 3y agoWe've had templating systems on the server-side for many decades? Do you mean having a javascript templating system maybe? Not really worth it's weight in gold.
- ttfkam 3y agoI was using ASP with JScript on Microsoft IIS servers back in 1999. So yeah, many decades. :)
- raphaelcosta 3y agoIt's just another template engine, we can do the same (components like templates) in any language for years. Ruby example that Github is using: https://viewcomponent.org/ https://viewcomponent.org/ https://viewcomponent.org/viewcomponents-at-github.html https://viewcomponent.org/viewcomponents-at-github.html