M
Modern Web
modernweb.com · Group blog · on HN since 2014
Modern Web is a publication covering JavaScript, Node.js, CSS and front-end tooling through tutorials, tips and industry stories.
What HN saysHN commenters cite its posts on string templating and jQuery on mobile as references in technical debates, using the old test results for context.
15HN people shared it
4linked it in comments
33stories submitted
86story points
6 years agolast shared
2014people per year2026
Most-shared posts
- 1How one Sr dev at Cars.com convinced the company to fully migrate to Node.js2 people · 6 points · first shared 2017 · discussion on HN
- 2JavaScript Architecture for the 23rd Century – Modern Web2 people · 6 points · first shared 2014 · 1 comments on HN
- 3Best Practices for Building Angular.js Apps with Browserify2 people · 4 points · first shared 2014 · discussion on HN
- 4String Templating Considered Harmful2 people · 1 points · first shared 2014 · discussion on HN
- 5Getting Started with Modern Web Development1 people · 11 points · first shared 2014 · 6 comments on HN
- 645 Useful JavaScript Tips, Tricks, and Best Practices1 people · 8 points · first shared 2014 · discussion on HN
- 75 things you won’t believe are only built with CSS1 people · 7 points · first shared 2014 · discussion on HN
- 8Is JQuery Too Big for Mobile1 people · 7 points · first shared 2014 · discussion on HN
- 9Modern Web Best Practice: Build Tools1 people · 3 points · first shared 2014 · discussion on HN
- 10Creating an App with SailsJS, AngularJS and RequireJS Pt 3 – Angular Controllers1 people · 3 points · first shared 2014 · discussion on HN
- 11A Fundamental Disconnect1 people · 2 points · first shared 2014 · discussion on HN
- 12Questions to ask before choosing your technology stack1 people · 2 points · first shared 2017 · discussion on HN
- 13Microservices are software components that work1 people · 2 points · first shared 2017 · discussion on HN
- 14Creating An Application With Sails.js, Angular.js and Require.js Part 11 people · 2 points · first shared 2014 · discussion on HN
- 15Building Cordova Apps with the Verified Plugins Marketplace1 people · 2 points · first shared 2014 · discussion on HN
What HN people wrote when they linked it
kroosaidher · 2015-01-22
Hold on there, cowboy. The innate superiority of strings over DOM based templating is not universally accepted. Because it's not unequivocally proven.
In fact, a few years ago there was an obvious tide toward experimenting with alternatives to string based templating noticeable in several some high profile efforts in the client side templating space.
See http://modernweb.com/2014/03/24/string-templating-considered-harmful/ for a recent overview that is pretty decent. Boris Moore did a lot of publishing about it, as I recall.
edro · 2014-07-15
Here are some interesting links I found on implementing reactive programming in databases, Javascript, and Android:
http://news.dice.com/2013/12/06/why-reactive-programming-for-databases…
http://modernweb.com/2013/09/30/functional-reactive-programming-in-jav…
http://mttkay.github.io/blog/2013/08/25/functional-reactive-programmin…
wyoung2 · 2018-09-12
Here are some relevant test results which are about 4.5 years old now:
https://modernweb.com/is-jquery-too-big-for-mobile/
At the time, your 3 round trips would have cost about a full second, which is roughly the same as the worst case JITting time for jQuery in those same tests. That worst-case result was on a slow Android 2 device.
Cellular network speeds have gone up, but certainly not as much as mobile processor speeds, so if you re-did those tests today with modern networks and devices, it’s probably a net benefit to pull the jQuery once, then JIT it on each page load, as compared to making even a single extra round-trip per page load.
> Processors aren’t getting any faster.
That’s true on the server side as well.
The article talks about externalized costs, but if you just shift the computing burden to the server, how do you pay for that?
You could load the page with more ads, which eats up the network bandwidth and JIT savings you just bought by moving the processing to the server.
Or, you could charge the users more than you currently do, which is economically little different than shifting the computing burden to the users, implicitly requiring them to buy faster mobile devices and better mobile data plans.
Consider also that the number of bugs created per line of code is roughly constant for each pairing of developer and programming language, so who pays for the costs of the extra bugs you’d expect to find in 2-3x more LOC?
TANSTAAFL.
> JS-heavy pages…
merricksb · 2020-09-10
Seems similar to this, which was posted here about 6 weeks ago:
https://news.ycombinator.com/item?id=23985825
The linked site for this submission is branded/copyrighted Pluvior.
The previous submission linked to the domain https://pluvoir.netlify.app (though this now redirects to a dedicated domain - rainbowhunt.com).
The credits on the two sites look very similar:
https://rainbowhunt.com/credits.html
https://itsrainingday.netlify.app/credits.html
On the previous submission, the author of the rain effect showed up to comment about their work: https://news.ycombinator.com/item?id=23987120
The only real difference with this submission is that it uses a different library for the rain effect; this one uses rainyday.js by Marek Brodziak instead - https://modernweb.com/creating-a-realistic-rain-effect-with-canvas-and…
I don't think there's enough new/original work here to count as a new Show HN.