Building APIs With JSON API
In this post we will explore the JSON API format and how it can be used to make interacting with your API consistent and easy.
Engineering content on the Revelry Blog: Navigate our lab notes by using the tag system.
In this post we will explore the JSON API format and how it can be used to make interacting with your API consistent and easy.
I’d like to suggest a simple piece of advice to fellow React devs out there. When rendering dynamic arrays of child elements within a React component…
Don’t Forget Your Keys!
Any software developer who deals with MVC frameworks has most likely come across the mantra “Fat Model, Skinny Controller”. This is not a good philosophy. It is a bad idea to have a fat model. In fact, it is a bad idea to have a fat anything. Instead, you should strive for Skinny Everything.
Concerns are modules you can use to extract code out of models and controllers. This is useful for various reasons. An obvious one is that this makes things skinnier, which we’ve already established is good. Another is that you can use these concerns to mix into other models and controllers
While it is definitely good to have a slim controller for sake of code reusability, readability, and testing, it is also good to have a skinny model (for the exact same reasons). In fact, its just good to have a skinny everything.