2022.04.18 - Innovating beyond libraries and frameworks
Ping Xia
Title: 2022.04.18 - Innovating beyond libraries and frameworks
Weekly Highlights
Innovating beyond libraries and frameworks https://nilsnh.no/2022/04/09/innovating-beyond-libraries-and-frameworks/ I believe we should look beyond libraries and frameworks and rediscover the value of patterns and principles, and I’d argue that it would lead us to have less breaking changes and add more longevity to the stuff we build. I have been a big fan of the write libraries, not frameworks argument for a while now. Lately, I’ve come to ponder that there might be a fruitful expansion to this argument, that we should start to value principles over patterns, patterns over libraries, and libraries over frameworks.
Facebook: An extensible text editor library that does things differently https://lexical.dev/ Lexical is an extensible JavaScript web text-editor framework with an emphasis on reliability, accessibility and performance. Lexical aims to provide a best‑in‑class developer experience, so you can easily prototype and build features with confidence. Combined with a highly extensible architecture, Lexical allows developers to create unique text editing experiences that scale in size and functionality.
A modern web experience on Adobe Experience Manager with WorkBox https://web.dev/aem-with-workbox/ If you are a technical lead or digital marketing analyst interested in providing a modern Web experience to your Adobe Experience Manager (AEM) web application and have been looking for your options in doing so, then you have come to the right article. This will cover what Progressive Web Apps (PWA) are and what you need to create a PWA in AEM leveraging the WorkBox library through configuration, without coding.
You can automate more than you think https://buttondown.email/hillelwayne/archive/you-can-automate-more-than-you-think/ I have mild ADHD. I can focus on strenuous mental tasks, but I can’t handle boring or repetitive work. Even something like “manually navigating to a folder” is enough to make procrastinate. I’m always looking for ways to aggressively optimize my workflow. For example, one thing I have to do a lot is type my address into emails and chats and the like. For most people that isn’t a big deal, but for me it’s disruptive. One tool I use, AutoHotKey,¹ has “hotstrings”: if you type a hotstring, it replaces the text with a substitute. Related: Announcing the Apps Script connector for AppSheet: Automate workflows for Google Workspace .
10 Things I (Still) Love About Programming https://www.simplethread.com/10-things-i-still-love-about-programming/ This post was inspired by my cofounder Justin’s post on 20 Things I’ve Learned in my 20 Years as a Software Engineer . I don’t have much to add to that list, but reading through those items, I found myself thinking of all the things I still love about software engineering, even after doing it for 20 years. I’ve included 10 items below that still bring me joy.
Agile and the Long Crisis of Software https://logicmag.io/clouds/agile-and-the-long-crisis-of-software/ I began to explore the history of Agile. What I discovered was a long‑running wrestling match between what managers want software development to be and what it really is, as practiced by the workers who write the code. Time and again, organizations have sought to contain software’s most troublesome tendencies—its habit of sprawling beyond timelines and measurable goals—by introducing new management styles. And for a time, it looked as though companies had found in Agile the solution to keeping developers happily on task while also working at a feverish pace. Recently, though, some signs are emerging that Agile’s power may be fading. A new moment of reckoning is in the making, one that may end up knocking Agile off its perch.
Deep Reading
NodeJS packages don't deserve your trust https://josephg.com/blog/node-sandbox/ Another week, another npm supply chain attack . Yikes! People on Hacker News are wringing their hands about what should be done. The problem seems dire. Apparently I couldn't help myself. At 2 a.m. the other night I woke up, staring at the ceiling. I couldn't stop thinking about this problem. It seems … frankly, solvable. But how? I think I came up with an answer. Or, the sketch of an answer. Is it any good? Will it work? I think it might… You be the judge.
One million broken web sites – and a way to prevent that https://christianheilmann.com/2022/04/12/one-million-broken-web-sites-and-a-way-to-prevent-that/ WebAIM.org releases an annual report called the WebAIM Million. This is a deep analysis of the one million most visited web sites and how accessible they are. And every year the result is pretty grim. Across the one million home pages, 50,829,406 distinct accessibility errors were detected—an average of 50.8 errors per page. This is 1.1 % fewer errors than last year, but at the same time home pages of sites have become more complex. On average, home pages have 955 elements and 5.3 % of those have accessibility errors. This means that users with disabilities would expect to encounter errors on 1 in every 19 home‑page elements with which they engage.
JavaScript function composition: What’s the big deal https://jrsinclair.com/articles/2022/javascript-function-composition-whats-the-big-deal/ To hear some people talk, you’d think function composition was some kind of sacred truth. A holy principle to meditate upon whilst genuflecting and lighting incense. But function composition is not complicated. You probably use it all the time, whether you realise it or not. Why, then, do functional programmers get all worked up about it? What’s the big deal?
One year of Preview.js, aka React Preview https://www.indiehackers.com/post/one-year-of-preview-js-aka-react-preview-392157fd92 It's been a bit more than a year since I started working on Preview.js, so I thought I'd write about my journey so far. Preview.js is an extension/plugin for Visual Studio Code and IntelliJ/WebStorm that helps developers preview any React, Vue or SolidJS component instantly in their IDE, without having to write code or spin up a local server.
React Folder Structure in 5 Steps [2022] https://www.robinwieruch.de/react-folder-structure/ After implementing React applications for a few years now, I want to give you a breakdown on how I approach this matter for my personal projects, for my freelance projects, and for my React workshops. It only takes 5 steps, and you decide what makes sense to you and how far you want to push it. So let's get started.
New Terminal Playbook: Scripted Guidance Independent of Tech Stack https://tech.meituan.com/2022/03/31/waimai-application-scripted-guidance.html This article introduces the Meituan Waimai terminal team’s exploration and practice in building user‑mindset through scripted guidance. Starting from the business context and the concept of script‑based thinking, it discusses a one‑stop design that combines the terminal and the management backend, lowering the barrier to integrating scripts. It also touches on traditional computer vision (CV) versus deep learning approaches.
(content truncated)
Originally written by Ping Xia (平侠) and published in Chinese on Web技术周刊 (Web Tech Weekly). Translated and adapted for DriftSeas with permission.
Sources & References
- [1]https://nilsnh.no/2022/04/09/innovating-beyond-libraries-and-frameworks/
- [2]write libraries, not frameworks
- [3]https://lexical.dev/
- [4]https://web.dev/aem-with-workbox/
- [5]https://buttondown.email/hillelwayne/archive/you-can-automate-more-than-you-think/
- [6]Announcing the Apps Script connector for AppSheet: Automate workflows for Google Workspace
- [7]https://www.simplethread.com/10-things-i-still-love-about-programming/
- [8]20 Things I’ve Learned in my 20 Years as a Software Engineer
- [9]https://logicmag.io/clouds/agile-and-the-long-crisis-of-software/
- [10]https://josephg.com/blog/node-sandbox/
- [11]npm supply chain attack
- [12]https://christianheilmann.com/2022/04/12/one-million-broken-web-sites-and-a-way-to-prevent-that/