11

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.

Comments
  • 0
    Explain what you are talking about
  • 1
    R u confusing html with javascript? Maybe css?
  • 1
    @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.
  • 0
    EXTJS is a good example of my second part of that comment.
  • 2
    @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.
  • 1
    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!!
  • 0
    @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.
  • 0
    @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.
  • 1
    @Stebner55 that indeed is useless, but it can be useful when used correctly.
  • 0
    @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.
  • 4
    @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.
  • 1
    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.
Add Comment