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.
YOU MAY ALSO LIKE:
- Got The Perfect Agile Model? Here’s What You Should Know About Agnostic Agile (in London on 16th August 2017)
- Gojko Adzic's Impact Mapping Workshop (in London on 27th September 2017)
- Whole Team Approach to Agile Testing (in London on 6th - 8th November 2017)
- Agile Testing & BDD eXchange 2017 (in London on 9th - 10th November 2017)