I like to keep my RJS in actual RJS templates, just so I know where it all is. Having some of it in a controller and some of it in an RJS template seems disorganized to me. I suppose the same argument could be raised for keeping it all in the controller rather than in RJS templates, and I'd probably be ok with that too if I didn't already have tons of it in templates. Ok.. maybe not "tons" but certainly more than I want to move.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
benefit of RJS in views over controller | 0 | 95 | March 23, 2007 | |
A place to put common partial templates and RJS files? | 3 | 178 | March 14, 2007 | |
Really Simple RJS question | 1 | 75 | March 15, 2008 | |
Rendering RJS | 0 | 93 | April 2, 2008 | |
Need help on rjs calls and partials | 0 | 103 | January 6, 2009 |