Issue #242 · December 27, 2021

How to win at CORS

“It's still magic even if you know how it's done”

Best 7 links of week #51, 2021

How to win at CORS

How to win at CORS

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!

Articles

Implementing RSA in Python from Scratch (Part 1)

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.

How to Use the .github Repository

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

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.

Starting a Prisma + TypeScript Project

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.

Book of the week

SQL Pocket Guide: A Guide to SQL Usage

SQL Pocket Guide: A Guide to SQL Usage

by Jonathan Gennick

If you're a programmer or database administrator who uses SQL in your day-to-day work, this popular pocket guide is the ideal on-the-job reference. You'll find many examples that address the language's complexity, along with key aspects of SQL used in IBM DB2 Release 9.7, MySQL 5.1, Oracle Database 11g Release 2, PostgreSQL 9.0, and Microsoft SQL Server 2008 Release 2. SQL Pocket Guide describes how these database systems implement SQL syntax for querying, managing transactions, and making changes to data. It also shows how the systems use SQL functions, regular expression syntax, and type conversion functions and formats.