Is there a way to execute the backend code (ruby) in the web browser instead in a web application (rails)?
Cause I wonder why all the code should be executed in the server, isn't it bad architecture.
It's like the same concept of SVN, it is very dependent of the server, rather than having a more distributed architecture like Git, every client executes the backend code. In that way it will free performance load from the web server and it could handle more clients cause today's computers are quite performable on the client side.
The client will communicate with the database through the backend server, but the backend will not contain all the application code, just for the communication part. The server code on the client will be compiled.
Isn't this actually a better approach to solve performance load issues?