It’s based on a separation between views and templates.
A view is an object that encapsulates the presentation logic of a page. A template is a file that defines the semantic and visual elements of a page. In order to show a result to an user, a template must be rendered by a view.
No more inscrutable magic in Rails view handling! Thank you!
- tumblr (29) ,
- ruby (10) ,
- framework (2) ,
- web development (5) ,
- object oriented programming (4) ,
- oop (3) ,
- best practices (4)