recentpopularlog in

dirtystylus : bestpractices   23

REST API Best practices: Where to put parameters? - Stack Overflow
Filters always go in the query string, because while they are a part of finding the right data, they are only there to return a subset or modification of what the Locators return alone. The search in (subset) is a filter, and so is /article/5?order=backwards (modification). Think about what it does, not just what it's called!
bestpractices  REST  api  drupal  drupal8  decoupledcms 
november 2018 by dirtystylus
The protocol-relative URL - Paul Irish
Now that SSL is encouraged for everyone and doesn’t have performance concerns, this technique is now an anti-pattern. If the asset you need is available on SSL, then always use the https:// asset.
https  ssl  bestpractices 
october 2017 by dirtystylus
Coding CSS for Context -
Going back to our thing that we’re trying to style: the button. Yes, right now, we’re styling a button in a modal dialog. Is this the only place that this exists? Right now, quite possibly. Will it always be the only place it exists? If your project is constantly in flux, then not likely.

Here’s what’s important:

We want to identify that this is a variation on our button.
We want to indicate the purpose of this button style.
We want to avoid tying the code to a particular context that could change.
css  codearchitecture  webdev  bestpractices  by:snookca  components 
march 2017 by dirtystylus

Copy this bookmark:

to read