r/programming • u/joanmiro • Jul 18 '16
Web programming is getting unnecessarily complicated
http://en.arguman.org/web-programming-is-getting-unnecessarily-complicated
324
Upvotes
r/programming • u/joanmiro • Jul 18 '16
View all comments
Show parent comment
6
u/phpdevster Jul 19 '16
The UI complexity is probably not that bad, but I can't even imagine how nuts the server-side domain is - storing and processing all of those tax rules? Simply even knowing which tax rules to apply to which returns? Holy hell...
That said, beyond that processing, the actual architecture I would imagine is quite straight forward: send some cleanly defined JSON to the front-end, and then the front-end can be relatively dumb and just plug-n-play the data into templates. Some UI state needs to be managed, but that's not that hard to do.
Of course, if they're using a framework like Angular or React, you can't just ignore the complexity of those frameworks, since they'd have be supplying that functionality themselves. Front-end really does depend heavily on frameworks in order to build maintainable apps. You can get away without a framework on the server-side of things for a lot of languages, since all you really need is an HTTP library and a library for whatever flavor of SQL/NoSQL you use.