3 ms·
I've often heard the idea that “the way the application is coded shouldn’t dictate its UI” which is true, but leads people to think that the application archite
by mnutt 11y ago
I've often heard the idea that “the way the application is coded shouldn’t dictate its UI” which is true, but leads people to think that the application architecture should be divorced from the UI, and I don’t think that’s true either. You should first figure out the intended mental model of how the application works, and then from that should flow both the UI and the application architecture.
In my experience, apps that start code-first tend to end up a CRUD apps and require a lot of composition from the end-user; apps that start UI-first tend to generate a lot of exceptional use cases and workarounds. Both give the user a muddy mental model of how the application should work.
- hcarvalhoalves 11y agoAny project that starts developing UI separate from code (in whatever order) fails at the fundamentals because there are interacting constraints, and both must fit business/political constraints as well.
- jedrek 11y agoI used to be a heavy Flickr user and I remember clicking around one day and thinking, "I can visualize the sql calls being made to generate these pages". That didn't feel too great.
- meesterdude 11y agoNo idea what you're talking about. I can visualize the SQL calls being made to render this HN comment thread. So what?
- ericlavigne 11y agoI don't think this website uses SQL at all. :-) https://www.quora.com/What-is-the-Hacker-News-technology-stack https://www.quora.com/What-is-the-Hacker-News-technology-sta...
- tayo42 11y agois there a reason or benefit to do that?
- vinceguidry 11y agoFile system storage is much easier to reason about if you can't lean on a library, you can simply use the underlying OS. HN was built with a homegrown Lisp called Arc, and so can't rely on a vast community to provide a proper ORM. Community support is why I write my personal projects with Ruby and not something like Arc. I don't want to have to reinvent everything just to get something basic done.
- Too 11y agoThat means the site is very predictable, what's not great about that?