Run Time 16:24
When you only require a handful of user settings for your applications, a few columns in your users or settings table will do the trick nicely. But what about when you have dozens and dozens of configuration options? Well, in these cases, if it makes sense, you might consider encoding a bit of JSON, and saving it to a single column.
In this video, we'll review the essentials of this process, including the use of Eloquent attribute casting. In the follow-up video, we'll take our end-result further, by making it more flexible and easy to use throughout our application.
This lesson was published on May 14, 2015.