Live data from Hacker News

Ask HN: What are weird and/or novel ways to do web UIs?

news.ycombinator.com

141–150 of 364 posts

Re: Ask HN: What are weird and/or novel ways to do web UIs?

#141

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.

Server side rendering is very underrated.

Re: Ask HN: What are weird and/or novel ways to do web UIs?

#143

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.

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.

Yeah, the main problem web apps were meant to solve was the delivering of a client and keeping that client up to date on the desktop. This was during the era where most client software was delivered on disk in a shrink wrapped box. But shortly after that software like iTunes essentially solved the problem. This is borne out by the fact that most users don't have a problem installing or keeping up to date the browser which is required for all these web apps. And of course there's phones, phablets, tablets, chromebooks and the like where it's essentially all client apps.

Re: Ask HN: What are weird and/or novel ways to do web UIs?

#146
post #99

I 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 love it. The simplicity of Bill Gate's resume.

"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?

#147

Craigslist. 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.

Hacker News is pretty minimal in terms of UI. I like it for that.

Re: Ask HN: What are weird and/or novel ways to do web UIs?

#149
post #28

Earlier quoted context omitted.

That's indeed weird. How would they not lose track of their dependencies? How do they keep their code lean and load times fast?

Relatedly, how do they track security issues in their dependencies?

npm does this for you.

Re: Ask HN: What are weird and/or novel ways to do web UIs?

#150

I 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

Here's the perfect React replacement for you: https://github.com/wisercoder/uibuilder

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.

Post reply on HN