@Ruffles a two-video series here https://laracasts.com/lessons/build-an-activity-feed-in-laravel
How To Use Polymorphic Relationships / Associations!
Hello!
I've been searching for Polymorphic Relationships / Associations and it seems there's hardly any resources on the subject. Even the documentation is not really detailed on this (a more detailed examples + how to use them would be nice).
So, I am creating this discussion so we can have it as a resource where people can link useful blog articles, tutorials and videos and even share some experience / knowledge on this topic.
Anyone here has any experience with them so they can share some on how we can use:
- One To One
- One To Many
- Many to Many
polymorphic relationships?
Some theory on it and when to + how to use them would be nice. (insert, update, delete, some other useful methods etc.)
Videos:
- Laravel 4 Collections And Polymorphic Associations
- Polymorphic Huh?
- Build An Activity Feed In Laravel
- Pushing Polymorphism To The Database
Blog Articles:
Please or to participate in this conversation.