This week I mostly spent time on fixing bugs, improving a deployment workflow and on getting another new front-end project structured. One major takeaway from this was that it’s good to have a proper deployment workflow in place already in the early stages of a project.
We should document appropriately in git what has been done in a commit instead of sleazily writing “changed [XY] because of [some arbitrary reason]”. By doing so, it becomes easier for myself, or someone else, to identify bugs at a later stage.
Opera 35 has been released1 and brings CSS Font Loading API improvements, Fetch API
blob:URL scheme support,
- So Facebook will shut down Parse at the end of the year2 and Burke Holland explains why the company basically builds a house of cards. Of course, Facebook is not the only one, and Firebase or Heroku are building a similar lock-in we shouldn’t rely on with our products.
- What could be simpler than returning HTTP status codes?3 Yet, we often do not care about returning the correct code, although it would massively improve the quality of your web application or website. There is a great specification for common statuses available for HTTP, and you should make use of it to help users, browsers and third-party crawlers identify the status of web content.
Concepts & Design Link
- Stephanie Briones shares lessons learned and concepts on how to redesign an interactive editor4.
- Nick Keppol shares some insights on why Apple built its new font family San Francisco5. A lovely, comprehensive post from which we can learn a lot about specific typographic details.
Most of us are using git on a daily basis. However, we often use it not in the way it’s intended to be. When you try to trace back a bug (
git log) or want to create release notes, it’s crucial to have meaningful and well written commit messages8.
- Diogo Mónica explores how to apply sane defaults for a Content Security Policy9 on your website and shares why it’s a bad idea to allow inline scripts.
- Léonie Watson collected the basic commands to use and control the most common screen readers10 (including the OS X built-in Voice Over) so that everyone can test websites for accessibility compatibility.
- This page contains standard elements for a normal website11 with accessibility defaults. If you build such projects, have a look at the source code and apply it next time.
- Feature.js14 is a fast, simple and lightweight browser feature detection library. It has no dependencies and weighs only 1kb minified and gzipped. It automatically initializes itself on page load, so you don’t have to. However, what it doesn’t do is run tests while initializing. It will only run them when you ask it to.
CSS / Sass Link
- Speaking of good practice for writing CSS, fantasai from the CSSWG shares what we should focus on and which aspects to take care of when we write CSS19.
- BigCommerce shares their approach on structuring CSS20. A sane and simple process.
I’ve rarely seen basic CSS articles lately, but this one is just great: Thierry Koblentz re-analyzes our commonly used old
display: tableclearfix method and shares how we can achieve a solid clearfix method for modern browsers in a cleaner way21.
Work & Life Link
- A Navy SEAL held a speech at a university and told the students how we can change something in the world22 if we change our mindset.
Going beyond… Link
- As Silicon Valley firms hail the benefits of disruption, some European leaders are pushing to develop the industry’s moral compass23. This is a real chance to make better decisions, fight fatalism and build a humane future.
And with that, I’ll close for this week. If you like what I write each week, please support me with a donation24 or share this resource with other people. You can learn more about the costs of the project here25. It’s available via E-Mail, RSS and online.
Thanks and all the best,
- 1 https://dev.opera.com/blog/opera-35/
- 2 https://medium.com/@burkeholland/facebook-is-creating-a-house-of-cards-33ce47144154
- 3 http://racksburg.com/choosing-an-http-status-code/
- 4 http://blog.invisionapp.com/redesigning-interactive-editor/
- 5 https://medium.com/martiancraft-s-syndicate/why-san-francisco-b86bd45f3273
- 6 https://medium.com/martiancraft-s-syndicate/why-san-francisco-b86bd45f3273
- 7 https://medium.com/martiancraft-s-syndicate/why-san-francisco-b86bd45f3273
- 8 http://alistapart.com/article/the-art-of-the-commit
- 9 https://diogomonica.com/2015/12/30/deep-into-csp/
- 10 https://www.paciellogroup.com/blog/2015/01/basic-screen-reader-commands-for-accessibility-testing/
- 11 http://www.html5accessibility.com/html5elements/
- 12 http://elm-lang.org/
- 13 https://dennisreimann.de/articles/elm.html
- 14 http://featurejs.com/
- 18 https://www.flickr.com/photos/qubodup/16258492451
- 19 http://fantasai.inkedblade.net/style/talks/best-practices/
- 20 http://www.bigeng.io/how-we-css-at-bigcommerce/
- 21 http://cssmojo.com/the-very-latest-clearfix-reloaded/
- 22 http://www.farnamstreetblog.stfi.re/2014/05/10-life-lessons-william-mcraven/
- 23 http://www.theguardian.com/technology/2016/jan/30/europe-google-facebook-technology-ethics-eu-martin-schulz
- 24 https://wdrl.info/donate
- 25 https://wdrl.info/costs/
Hold on, Tiger! Thank you for reading the article. Did you know that we also publish printed books and run friendly conferences – crafted for pros like you? Like SmashingConf Barcelona, on October 25–26, with smart design patterns and front-end techniques.