I've heard that some people build UIs with thousands of dependencies, in JavaScript that hits the server for text that is then parsed to object that are then passed through all sorts of classes that each spit out HTML. They also do some weird stuff with events like key-ups in order to re-render input fields based on objects rather than letting the browser manage those kinds of things. Sounds pretty weird to me.
Ask HN: What are weird and/or novel ways to do web UIs?
141–150 of 364 posts
Re: Ask HN: What are weird and/or novel ways to do web UIs?
#142But I’m not a web dev and I don’t know the real reasons why it didn’t get traction :)
Re: Ask HN: What are weird and/or novel ways to do web UIs?
#143I've heard that some people build UIs with thousands of dependencies, in JavaScript that hits the server for text that is then parsed to object that are then passed through all sorts of classes that each spit out HTML. They also do some weird stuff with events like key-ups in order to re-render input fields based on objects rather than letting the browser manage those kinds of things. Sounds pretty weird to me.
Yes! Web development is "weird" because we (developers) are basically constantly trying to put square pegs into round holes. Over the past ~25 years, a document delivery system has been perverted into a application delivery system. The underlying, fundamental technologies were not intended for "UI" app development.
Re: Ask HN: What are weird and/or novel ways to do web UIs?
#144https://play.pokemonshowdown.com/
I don't have a good sense of whether or not users actually like it, though.
Re: Ask HN: What are weird and/or novel ways to do web UIs?
#145Or is he or she referring to the look and feel of the final product itself?
Re: Ask HN: What are weird and/or novel ways to do web UIs?
#146I favor brutalism. A 1998 style design completely contained in inline code in the header. Using base fonts and features that are supported by all browsers. It has a unique capability: it loads quickly.
https://motherfuckingwebsite.com/
"I build the biggest software company of its time"
I mean seriously, what more do you need? A list of coding languages that includes both Java and Javascript?
Re: Ask HN: What are weird and/or novel ways to do web UIs?
#147Craigslist. Here is something novel: let html and browsers do their job. Let your browser process simple html at light speed. Let GET be idempotent. Let users be anonymous while getting information.
Re: Ask HN: What are weird and/or novel ways to do web UIs?
#148Re: Ask HN: What are weird and/or novel ways to do web UIs?
#149Re: Ask HN: What are weird and/or novel ways to do web UIs?
#150I think the weirdest way is using React. I mean, it feels so unnatural for me, compared to the jQuery way. You have to download thousands of packages, keep track of various dependencies and their security holes, adding an overhead for auditing them. HTML5 with jQuery IMHO still beats everything in simplicity and getting work done fastly
It is a 200-line library, and you get React's templating technology, which is the best part of React. You can use jQuery for updating the screen.