Re:Advice to Young Web Developers
by hootbootscoot on Thursday June 18, 2020 @07:14PM
(#23569199)
I would qualify this:
The web is simple when one uses it as intended. (hyperlinked documents that may or may not have interactivity beyond the hyperlinking and embedded media or animations etc.)
The web is complex when one attempts to do "GUI by RPC".
If one is OK with page reloads, this asynch remote folder browser hypercard thingy is fine.
If one seeks to replicate the event-loop desktop "window"-based application one will have the use-case for large frameworks as one will literally be re-inventing all the wheels, which they tend to do, as this is not the default behavior of the application we call a web browser.
Re:Advice to Young Web Developers
by austincheney on Thursday June 18, 2020 @07:27PM
(#23569293)
Complexity in web products is largely the result of developers who don’t care because they need to ship a product only if that product is written in an extremely familiar way. That’s a product of people who don’t know what they are doing opposed to inherent technological impediments.
I form this opinion as a professional web developer with 20 years experience.
I respect your experience, but that does not match up with what I've seen, and what I've seen by proxy networking with other developers in my area. I do personally think simplicity is a virtue. I always try to collaborate with our business team to deliver only what is needed, in the most straightforward way. But if the customer needs a 20 field form, with logical dependencies and validation between fields, as well as an interface for searching/filtering/editing entries, there is only so much that can be simplified. And yes I know all of that can be done with vanilla JS, but I've done it both ways and I prefer the framework.
Re:Advice to Young Web Developers
by kingdomcome50 on Thursday June 18, 2020 @09:29PM
(#23570109)
Just to chime in here. To be clear, I think dropping a vdom implementation into a page is a good middle ground between full blown “framework” and “roll your own js”. I’m not familiar with vue, but I’ve used React (a library!) to great effect on pages that require that extra bump of behavior.
It’s such a shame that many of these tools are pushed as large SPA solutions when they can just as easily be included ad-hoc over a CDN when necessary.
* And I agree that it’s just madness to wire up your own components once the use case becomes anything more than the most trivial behaviors.
Re:Advice to Young Web Developers
by austincheney on Friday June 19, 2020 @10:44AM
(#23575011)
I doubt your customer specified dependencies as a business requirement.
I always enjoy a good faith discussion, but if you aren't going to respond to what I actually wrote there's no need to continue this. I _know_ the functionality I mentioned can be shipped without a framework. I _have_ shipped web apps without a framework. I've personally found the overhead of designing and enforcing an ad hoc framework to be not worth the effort.
Posts like this frustrate me because you seem to be suggesting complexity in the web domain is largely incidental.