"It's still magic even if you know how it's done"
|
—
Terry Pratchett,
Writer
|
|
|
Best 7 links of week #51, 2021
|
|
|
CORS (Cross-Origin Resource Sharing) is hard. It's hard because it's part of how browsers fetch stuff, and that's a set of behaviours that started with the very first web browser over thirty years ago. Since then, it's been a constant source of development; adding features, improving defaults, and papering over past mistakes without breaking too much of the web. In this article you can learn the 'how' and 'why' of CORS, from start to finish!
|
|
|
|
For the longest time, you had to resort to workarounds and libraries to create a deep copy of a JavaScript value. The Platform now ships with structuredClone() , a built-in function for deep-copying.
|
|
|
|
I'm sure many programmers, particularly web developers have heard of the RSA cryptography system. RSA is an asymmetric cryptography system, meaning that one key is used for encryption and the other for decryption. Sometimes building is the best way to learn something and with this article you can learn how to build RSA from scratch using Python.
|
|
|
|
Explore seven of the top alternatives to Docker in 2022 for building, running, and distributing container images.
|
|
|
|
GitHub supports a special folder called .github in every repo. You can put files with a particular name and format in this folder to enable some cool behaviours in your repository: build pipelines, contribution guidelines, and much more!
|
|
|
|
UNO CSS is an interesting younger alternative to TailwindCSS that is designed with flexibility and performance in mind. In UnoCSS, there are no core utilities; all functionalities are provided via presets. Check it out if you want to try something new in this space.
|
|
|
|
With such a rich selection of ORMs out there, choosing which one to use for your JavaScript-based project can be tough. If you are using TypeScript, you might be interested in Prisma and this article is the first one of a series dedicated to Prisma and TypeScript, a great resource to get started with these technologies.
|
|
|
|