DEV Community

Discussion on: If the World Wide Web were re-created today with no legacy dependencies, how would it be different?

Collapse
 
nestedsoftware profile image
Nested Software • Edited

One thing that sticks out for me is that the web was very much originally designed as way to present static content. Css was built around the idea that you had some content and you could provide various styles to alter the presentation of that content. While this works quite well for documents, I don't think it works as well for applications. This has been addressed to some extent with more modern layout mechanisms like flex and grid. Still, it seems kind of clunky and confusing. I have a feeling we might have a more elegant layout system if it didn't have to be integrated reasonably well with existing css.

Another thing that comes to mind is security. Security for web applications, with cors and the constant threat of lurking xss and csrf vulnerabilities, is just kind of a nightmare. I would really like for there to be a brand-new, really straightforward standard that made it easy to build security into web applications. Security is inherently a difficult area, but I can't help thinking that there's got to be a better way than what we currently have.