Happy Friday Everyone,
Twitter Lite which is a fast, lightweight and responsive web app from Twitter released this week. It uses less data, less storage and even supports push notifications! Here is overview of the architecture behind it.
This week’s edition covers the topics such as unit testing in Ruby, Pub/Sub pattern in Elixir using pattern matching, React Higher Order Components, story behind Dropbox redesign and much more.
Ruby on Rails
Hanami 1.0 Released: A Lightweight Web Framework - Hanami is a full-stack, lightweight, yet powerful web framework for Ruby which provides minimal approach in enforcing modularity, avoiding monkey-patching, and the use of POROs.
Unit testing with VCR - VCR gem allows us to capture the result of Real HTTP calls in our tests but saving the response in a file instead of making a request repeatedly.
Benchmarking Running Multiple Puma Processes - Noah continues his series on Rails benchmarking, this time increasing the number of processes. Turns out, more than one makes a lot of sense for big performance gains.
Subscribe to Messages with Pattern Matching - Save a pattern and implement Pub/Sub in Elixir using Pattern Matching.
Passwordless Authentication with Auth0 and Elixir/Phoenix - How to setup a passwordless authentication using Auth0, Twilio, Elixir, Phoenix and Guardian.
Elixir Math Tips - Performing math operations in Elixir while working through the Elixir Exercisms.
Elixir deployments: our data on what the community needs - Survey conducted to find out key aspects while planning a Elixir deployment
To Spawn, Or Not To Spawn? - In this article the author discusses on how to separate complex stateful logic from concerns such as temporal behaviour and cross process communication.
A gentle Introduction to Higher Order Components - Introduction to Higher Order Components with Conditional Rendering in React.
Optimizing loading time for big React apps - Optimizing React bundles and making them ready for production, reducing bundle size and loading times.
How to Make a Web Crawler in Swift - How to code a Swift script to implement a Web Crawler
Generics in Swift - Introduction to Generic Type Constraints in Swift
Features of revolutionary release -Java 8 for Android - Introduction to Generic Type Constraints in Swift
Unhandled Promise Rejections in Node.js - Take advantage of the unhandled promise rejections in the console for Node.js
Use Vue.js to create custom web components - Article about using custom web components, creating Vue.js universal web components and Web Component API
A New Utility Library Designed to Get Things Done - Information about Eris, a utility library for dom manipulation, cookies, class creation, template, date format, ajax, url, event emitter, etc
HTML & CSS
Does CSS Grid Replace Flexbox? - Difference between Grid and Flexbox along with their pros and cons.
Influencing redesign - How to convince your company to do a redesign - The story behind Dropbox redesign - what were the issues in the older design and how the change started.
What Is the Right Image Format for Your Website? - Introduction to the image formats that work best on the web.
Starting to play with concurrency/OTP in Elixir? My advice is to avoid agents. They seem to confuse & mislead more than they help.— Saša Jurić (@sasajuric) April 6, 2017