I was always under the impression that these server based frameworks are better for two reasons, the code is safe, so you're leaking less of your code, and that the size of the website on the client is reduced allowing for faster downloads.
I could be very wrong, but I feel more comfortable keeping as much code on the server as possible.