I was watching a youtube video by Dan Schafer of
Facebook where he talks about a lot of things, with the immedate
take-away for me of rooting the graphql query in the current viewer or
user of the website (big assumption this is being driven by a user
sitting in front of a client.)
Back in 1975, Henry F. Ledgard published a small book called
“Programming Proverbs”, a book of 26 best practices for programming,
using Algol 60 as the explanatory language. This was followed up with
“Pascal with Style: Programming Proverbs”, which restated the
practices using Pascal as the language, which was the one I found and
read, since I was using Pascal at the time in University.
I figured this out once, but lost it somewhere, so I’m recording here
for sure: How to make a web page attain it’s full height, with a page
header, page footer, and a main content section, so the footer will be
on the bottom if the main content section is not tall enough.
I like the way sticky headers work on various web sites I’ve
seen. There are some really interesting implementations where the
header changes when it gets to the top of the page, which is fun. I
wrote up a JS module called ScrollSticky which is out on my GitHub
A typical problem encountered when using something
like Bootstrap’s fixed-top navbar is that
clicking on an interior link often causes that link target to scroll
underneath the navbar, hiding it from view.