|
|
|
|
|
by sonnym
4147 days ago
|
|
Aside from the things others have mentioned, which are all really good, there are some really good books on the subject. Jose Valim's Crafting Rails Applications[1] is a wonderful resource, since it deliberately sets out to peel back the layers of magic. A lot of the techniques are ones I probably would not use in practice (storing views in the database and rendering them!), but they serve to elucidate the operation of the entire view stack. Really good stuff. Two other good books are Rails Antipatterns[2] and Objects on Rails[3]. Neither of them has been updated in a long time, but the general principles will still hold. The former is more practical, the latter more theoretical; precscriptive and fanciful food for thought, respectively. Both solid. 1. https://pragprog.com/book/jvrails2/crafting-rails-4-applicat... 2. http://railsantipatterns.com/ 3. http://objectsonrails.com/ |
|