Phlex: A New Part-Oriented View Framework — Creator Joel Drapper has actually been placing within the effort since creating Phlex a number of months in the past. It permits you to deal with all the pieces on a Internet web page as a definite part and handle all of them as plain previous Ruby objects – the view format itself can be fully pure Ruby which could remind you of _why’s Markaby just a little! There’s a ERB to Phlex converter you possibly can play with to see the way it seems to be. GitHub repo. Joel Drapper |
💡 It is early days, so tutorials are skinny on the bottom, however phlex-sinatra reveals off methods to use Phlex from Sinatra which I discovered instructive. Additionally, when you’re already a ViewComponent person, Joel explains how Phlex is totally different right here. |
Is Your App’s Coronary heart Beating?💓 — Bear in mind when your month-to-month backup failed, or when these prospects did not get billed? How did you discover out? Our heartbeat function displays crucial duties, so that you’re going to by no means miss one other silent failure. When Honeybadger is quiet, life is good. Honeybadger |
Sidekiq 7.0 Beta Now Obtainable — Mike has numerous exclamation factors to share with this preview of the following model of Ruby’s hottest background job processing system. The new options are defined right here and embody job metrics, having the ability to embed Sidekiq inside one other course of, an enormous replace to how Sidekiq communicates with Redis, and extra. Mike Perham |
Sinatra 3.0 Was Launched; Did Anybody Discover? — One among Ruby’s hottest and lengthy standing methods to construct webapps (and the unique inspiration for Node’s Specific) has had a serious replace, although it doesn’t appear to be getting mentioned anyplace but (no put up on the official Sinatra weblog both). We’re nonetheless digging into this and can cowl it in additional depth subsequent week, however.. it’s out! Haase, Tomayko, Mizerany et al. |
Put: A Higher Approach to Type Ruby Objects? — The go-to technique to kind Ruby objects by advanced standards is Enumerable’s Justin Searls |
QUICK BITS: |
📖 Articles, Tales & Movies |
Spy: A Easy Opinionated Mocking Framework — Impressed by the Spy mechanism in JavaScript’s Jasmine BDD framework, this can be a “good” mocking framework, so it is going to elevate errors when you mock non-existent strategies, don’t match arity, and many others. Ryan Ong |
|