Pushing Polymorphism to the database

Reading Time: < 1 minute

This is a fantastic video by Adam Wathan.

Ever thought about how you are going to store something like the State pattern to the database in Laravel where your states are objects and not just relationships with another model?

This post might give you some idea.

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *