Similarly, the whole concept of AJAX is generally considered a hack. It is a way of simulating two-way communication technology built for a one-sided delivery. When there is something new that fits more naturally bidirectional communication of browser-server, Ajax goes away. If you can be in another language, use the other language.
When to use