3 ms·
I am definitely one that loves a good "get off my lawn" moment, but it seems like we rehash this point every few weeks (and I don't even read frontend twitter).
by hardwaresofton 6y ago
I am definitely one that loves a good "get off my lawn" moment, but it seems like we rehash this point every few weeks (and I don't even read frontend twitter). There is a reason we are where we are in the front end world -- most every useful tool/wave of engineering came to be for a reason. A (very spotty) timeline[0] was even submitted in the not too distant past to HN, and I won't go into it here, but from jquery to mootools to snowpack/vite, people built tools to solve problems (some of which don't exist anymore or won't in the near future) -- a strong grasp of fundamentals and knowledge of why a thing exists and you will feel a lot less like you're being thrown around by the waves of frontend development zeitgeist.
All that said -- SSR is the best of both worlds. To the untrained eye, it looks like a step backwards, but there's more to it than that -- it gives separation (if you want it) for your frontend code that usually moves at a different pace than the backend code, server-side rendering for performance (obviously), and complex client side functionality for building rich experiences. If you can withstand the increase in complexity, you can mostly have your cake and eat it too -- server-side rendered robust client applications.
Even for the most stalwart monolith enthusiast, isn't it nice to make it relatively difficult for your View code to call some Model/Controller/util method/function that it shouldn't be calling? If you go through the trouble of committing to separating your "API" and your "frontend server" (there's a trendy name for this which I have forgotten -- "companion" server? BFF?[1]), you get better focused and hopefully more manageable domains.
All that said, portals are a pretty cool new feature, but I'm not going to hold my breath for them to be ready to use any time soon.
[0]: https://bestofjs.org/timeline https://bestofjs.org/timeline
[1]: https://docs.microsoft.com/en-us/azure/architecture/patterns/backends-for-frontends https://docs.microsoft.com/en-us/azure/architecture/patterns...
- austincheney 6y ago> There is a reason we are where we are in the front end world Insecurity resulting from a lack of proper training.
- hardwaresofton 6y agoWell yeah, but that's everywhere. More realistically I think it's because browsers are the biggest software delivery platform every created (and likely that ever will be created until we get some sort of neural/in-body interface), and they change faster than regular desktop software ever could. The browser is so popular as a software distribution method, it now competes with GTK/QT/Cocoa/etc for (large amounts of) "RAMshare" on your neighborhood desktop.
- PaulDavisThe1st 6y agoYes to everything here except ... browsers do not change faster than the equivalent part of desktop software: the toolkits (GTK/Qt/Cocoa/etc). The latter change at least as fast and often much faster than browsers ever had.
- pgcj_poster 6y agoI would say fashion and résumé-driven development.