Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@mojo2012 @Codex404 I'm talking about people who wrap DOM elements in twig templates for "reusability" (as if <input type="type" name="blah"> is any worse than {% include 'components/dom/input.html.twig' with {'name':'blah'} %}) or use a framework that wraps DOM elements in JS so they can avoid HTML.
-
@Stebner55 is it tot avoid HTML or avoid maintainability issues because you need to go over 50 pages because you need to add an extra class to that one line of HTML.
-
We should reinvent the wheel, but do it right this time.
And when I say reinvent I mean reinvent. Not something that translates into HTML, but an entire new standard.
HTML sucks for modern websites and simple extending/"fixing" it won't work in the long term.
It's time for something new!! -
@Codex404 How maintainable is it when you need to add an option for every pre-existing attribute? If you were just adding inputs with names, fine, but when you need to add an id, class, data attribute, etc etc etc it ends up being a freakin' mess.
-
@david-hil That's not our jobs. We as developers are at the mercy of web browsers. You want to change the rendering engine, building blocks, etc...contribute to chromium or create a new browser and start a revolution. I disagree that we should be working "around the problem" on our end. It's a headache with a potential to be a huge waste if and when browsers are overhauled.
-
@Codex404 I think we can both agree that using templates is a no-brainer to reduce duplication and maintenance. My frustration is with people wrapping every single DOM element to build a site and thinking that it's more maintainable lol.
-
@david-hil it's not time for something new, and in fact it's a big problem that the life span of web technologies can now be measured in months. Whenever something is mature and stable, the next big shit comes around the corner, and we're slugging along in eternal beta state.
Apart from technological instability, web devs are not able to actually keep up and are thrown back to eternal noobness, which compounds the problem. -
Am i they only one left still using LoDash templates?
I just like the looping feature. Other than that my templates are pretty much straight HTML minus some variable drop ins.
HTML is the core building block of the web. Why does everyone feel the need these days to abstract and virtualize and recreate the wheel? You’re only slowing down your site...plus adding layers of confusion for new comers and adding more code to maintain.
rant