|
|
|
|
|
by mattbriggs
5154 days ago
|
|
I came to the same conclusion awhile back. Also, if it is in any way possible, a view should be able to write its own HTML (the rails worl has a concept of JSTs, not sure if that has filtered out yet), and a view should never insert itself into the dom What you get is loosely coupled, highly testable (and fast tests, since dom stuff is all in memory) ui code. |
|