Ldncsxwixe8g4rxd73kh
SkillsCast

Who’s afraid of database views?

12th January 2015 in London at Skills Matter

There are 2 other SkillsCasts available from LRUG: January 2015 Meetup

Many Rails codebases I look at work hard to put all logic into the application source code, using the database only a dumb store.

But, there are circumstances where it makes sense to leverage features of a database and in this talk I'll cover one of those features in Views.

I'll walk through examples of why you might want logic in two places, how views compare to caching for performance considerations, using views as a facade on legacy tables and how to test views alongside your application.

Who’s afraid of database views?