Adam Wathan has a new video on his blog about Pushing Polymorphism to the Database:
After my presentation at Laracon this year, a lot of people asked me how I’d take that same polymorphic approach when the objects would have to be retrieved from the database.
This screencast covers how I’d approach implementing the same idea in a real Laravel application with Eloquent, by using polymorphic relationships and delegation to accomplish the same thing without having to resort to any nasty conditionals.
The video itself is very well done and it’s a great tutorial.
Join the weekly newsletter and never miss out on new tips, tutorials, and more.
PSequel – PostgreSQL GUI tool for Mac OS X
For all the Postgres fans, here is a nice looking tool for Mac OS X: Designed for Yosemite. Written in Swift. PSequel…
Laravel Podcast: Jobs & Jawas
The latest Laravel Podcast is out: In this episode, Matt and Taylor are joined by Ian Landsman of UserScape. Ian is t…