Today I discovered Library Writing Realizations which has a bunch of things to think about when designing APIs.
Category Archives: Design
MinWiz – Minimal starter kit for under 2 KB sites
Today I discovered MinWiz – Minimal starter kit for under 2 KB sites.
Keyset pagination
A case for keyset pagination in preference to OFFSET.
DRY is a Trade-Off
DRY is a Trade-Off makes some good points.
CSS Variables and How To Use Them
A quick run down on CSS Variables and How To Use Them. Note the var() function can take 2nd parameter for a default value.
:root {
--primary-color: #333;
}
div {
color: var(--primary-color, #444);
}
p {
background-color: var(--primary-color);
}
.fancy {
border-color: var(--primary-color);
}
A Distributed Systems Reading List
Also on HN today: A Distributed Systems Reading List. Some good stuff there.
Command Line Interface Guidelines
Command Line Interface Guidelines looked interesting but I didn’t have time to closely read the whole thing.
The Wrong Abstraction
Read a great article today: The Wrong Abstraction. It talks about when it’s better to duplicate code that maintain an abstraction. Other things mentioned include:
Parse, don’t type-check
I read Parse, don’t type-check which referred to Parse, don’t validate; both are articles I would like to circle back to.
Vagrant
There are a bunch of great examples of using vagrant for testing purposes in
High Availability for the LAMP Stack: Eliminate Single Points of Failure and Increase Uptime for Your Linux, Apache, MySQL, and PHP Based Web Applications by Jason Cannon which I have on my Kindle.