Comments:"Egor Homakov: Do not use RJS-like techniques"
URL:http://homakov.blogspot.ru/2013/05/do-not-use-rjs-like-techniques.html
RJS (Ruby JavaScript) — a straightforward technique when server side (e.g. Rails app) responds with Javascript code and client-side eval-s it (Writing JS in Ruby is unrelated, I only consider response-evaling concept!)
Here are my usability and security concerns about this interaction.
Possibly other developers use their own RJS-like techniques — they can find my post helpful too.
But I still see in the wild apps responding with private data in javascript. This is a very fragile technique, refactoring will both improve code quality and secureness of your app.