I often think about our responsibility as web developers. I compare our job to a health worker, to a craftsman, and I realize that we have a pretty easy job in most cases. Usually, nobody’s life will be affected if a website is not available for a couple of minutes or hours.
But there are some cases where this could happen. People start coding app interfaces for health application with web technologies, people start connecting health services to the web, and people also rely on websites for their own safety. And that’s why I think we should feel responsible for our users. And by making choices that are ethical and user-centered, we create a better web for everyone1.
- Announced in December, Adobe Animate CC is finally here2. It replaces Edge Animate and Flash Professional and is now the new tool for web animation.
Firefox changed the behavior of the Cache API3, following a specification change to fix confusion about the API storing
fetch(). This is no longer the case, and, starting from Firefox 46, only responses with a
2xxcode are cached now.
window.innerWidth/Heighthas changed4 in Chrome 48. This is especially interesting because Chrome now behaves differently than all other browsers: it’s now reporting back the dimensions of the layout viewport instead of the dimensions of the visual viewport, making it a copy of
- Andy Budd reflects on how we solved so many things in theory in web development and even got the right solutions for a great user experience. But the biggest problem still remains: companies need to spend months of work on a relaunch of their web projects just to repeat it every 4 to 5 years5. That given, it’s not surprising that they don’t want to put so much effort into a project that lasts so short.
- Here are five great and ten useful tips for working in Sketch6 to make you more productive with the tool.
- Do you write Bash scripts? In case you do, Bash Infinity9 is a modern boilerplate for bash that you can use if you have complex scripts and want some helper utilities.
I’m a big fan of using SVG via a spritesheet and the
<use>element. Now Hugo Giraudel published a simple Bash script that stacks your SVG symbol files into a spritesheet you can use: spritesh11.
- Creating vector shapes can sometimes be a pain with common tools like Illustrator, Sketch, or Inkscape. Now Figma, a new app coming out soon, introduces a feature called Vector Networks12 and, well, it’s amazing. It basically provides a mesh for each shape and maintains the shape in a clever way while you move parts of it. A real time-saver.
- Unfortunately, it now seems to be common sense that by not turning off your cell phone entirely you’re consenting to being tracked16. At least, that is how the police and secret services think about this and that’s how they act. This is a worrying step towards total surveillance, and I’m seriously considering leaving my smartphone at home more often and turning it off more often.
Web Performance Link
- I’ve already mentioned BPG here. Radu-S. Amarie now explores the possibilities of the image format in a blog post. He shares why BPG could and should replace gif images17 and probably also the current mp4-instead-of-gif hackery used on many websites to save data.
Sometimes you have an image that is only presentational but included with an
<img>element. In such cases, instead of not providing an
alt-attribute at all (which causes screenreaders to assume an alternative text from the file name), you can add an empty
alt=""and screen readers will omit the element18.
- Nolan Lawson explains how to think about databases in front-end development architectures19. His article covers the goals of a database, the difference between memory and storage, and also provides a case study.
- Dr. Axel Rauschmayer explains why it’s impossible in modern web development to know everything20 and why it matters to focus on doing fewer things but doing them right.
- We’re constantly talking about ECMAScript 2015 and using it in our projects. This always implies the usage of a transpiler like Babel, which certainly comes at a cost. Sam Saccone now evaluated the cost of transpiling ES2015 in 201621. Some interesting numbers that you might want to consider for upcoming projects.
CSS / Sass Link
- While Flexbox is great22 for many things and even gives us the possibility to change the visual order of items, the feature also comes with a few issues. One of them is that not all browsers treat accessibility for screen reading the same way for this feature. Also, if you do not take care of it, the keyboard and focus order will be broken as well. Léonie Watson explains how you can fix keyboard navigation and accessibility while reodering with Flexbox23.
Work & Life Link
- To run a remote team, you need to set some rules to work together and have the team stick to them24. Wiktor Schmidt shares the rules he created for Netguru, where they work remotely in a lot of places around the world.
Going beyond… Link
- You know, we’ve been talking a lot about the weather last year. Now we have an analysis and a world map of the warmth of 201525. And in fact, it was the hottest year since the recording of weather data.
- While it’s not a new study, it’s interesting to read this research paper26 tackling the question if kids are too busy27 (PDF) and face stress due to discretionary activities, overscheduling, and packed after-school patterns. The result? Kids want to decide on activities with their parents, kids spending a lot of time in front of a screen ask for more free time (because screen time is not), and a lot of homework creates a lot of stress. Maybe it’s not the worst idea to spend more quality time with kids at home or outside but not in front of a screen.
- James Victore runs a great video series on YouTube and as its episodes are usually pretty short it might be worth subscribing to them. This one answers a question by a young student asking how to do meaningful work that helps other people: How to Change the World28.
- Germany achieved something unique this month: The U.S. granted permission to build a room where representatives from the German parliament can gain an insight into the TTIP documents29. The fun thing about it? They need to sign a statement that they will not share anything they read in that locked(!) room without internet access. There is no way that anything of the documents’ content will leak to the public, which again makes me worried about the agreement — there likely is a good reason why no one else is supposed to read it.
And with that, I’ll close for this week. If you like what I write each week, please support me with a donation30 or share this resource with other people. You can learn more about the costs of the project here31. It’s available via E-Mail, RSS and online.
Thanks and all the best,
- 1 https://ethicalweb.org/
- 2 https://blogs.adobe.com/animate/animate-cc-is-here/
- 3 https://www.fxsitecompat.com/en-CA/docs/2016/cache-api-now-rejects-unsuccessful-responses/
- 4 http://www.quirksmode.org/blog/archives/2016/02/chrome_change_b.html
- 5 http://www.andybudd.com/archives/2016/02/we_won_the_moral_argument_but_did_we_los/
- 6 https://medium.com/sketch-app-sources/5-very-special-10-sketch-tips-3d63802280bc
- 7 https://medium.com/sketch-app-sources/5-very-special-10-sketch-tips-3d63802280bc
- 8 https://medium.com/sketch-app-sources/5-very-special-10-sketch-tips-3d63802280bc
- 9 https://invent.life/project/bash-infinity-framework/
- 11 http://dev.edenspiekermann.com/2016/02/10/introducing-spritesh/
- 12 https://medium.com/figma-design/introducing-vector-networks-3b877d2b864f
- 13 https://medium.com/figma-design/introducing-vector-networks-3b877d2b864f
- 14 https://medium.com/figma-design/introducing-vector-networks-3b877d2b864f
- 15 http://blog.tighten.co/unpacking-webpack
- 16 https://www.deepdotweb.com/2016/02/11/turning-your-phone-on-is-consenting-to-being-tracked/
- 17 http://eek.stfi.re/why-bpg-will-replace-gifs-and-not-only/
- 18 https://www.paciellogroup.com/blog/2016/02/short-note-on-use-of-alt-and-the-title-attribute/
- 19 http://nolanlawson.com/2016/02/08/how-to-think-about-databases/
- 20 http://www.2ality.com/2016/02/js-fatigue-fatigue.html
- 21 https://github.com/samccone/The-cost-of-transpiling-es2015-in-2016
- 22 https://www.smashingmagazine.com/2013/05/centering-elements-with-flexbox/
- 23 http://tink.uk/flexbox-the-keyboard-navigation-disconnect/
- 24 https://www.netguru.co/blog/10-commandments-of-running-a-remote-team
- 25 https://www.ncdc.noaa.gov/sotc/global/201513
- 26 http://eric.ed.gov/?id=EJ962881
- 27 http://web.extension.illinois.edu/cook/downloads/42013.pdf
- 28 https://www.youtube.com/watch?v=XvK4tK99WQg
- 29 http://www.theregister.co.uk/2016/02/10/surreal_world_of_the_ttip/?mt=1455173994705
- 30 https://wdrl.info/donate
- 31 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.