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 (9) ,
- framework (1) ,
- web development (4) ,
- object oriented programming (3) ,
- oop (2) ,
- best practices (4)