A proxy, in its most general form, is a class functioning as an interface to something else… … …usage of a proxy object is similar to using the real object, because both implement the same interface.
– from Proxy Pattern at Wikipedia
Kicking off 2017 with a very special guest series on Design Patterns!
Today we encounter the Circuit Breaker pattern for dealing with recurring errors.
Concluding this live-coded miniseries, this week we will use a callback to add error reporting capabilities.
Today we'll build on the foundation laide down in the last episode, and convert some exceptions into benign return values.
Today we begin a live-coding miniseries about wrapping making objects "safe" so they don't raise exceptions.
When loading domain objects from an external service, it can be expensive to load up associated objects with them. Today's episode takes a look at a pattern for transparently lazy-loading …
Today we look at a perncious problem that sometimes plagues code which uses an Object-Relational Mapper (ORM). Documentation of the ActiveRecord inverse_of option mentioned in the episode can be found …