by memracom · 13y ago · 0 comments
Rails was part of the old paradigm where a webapp runs on the server and sends HTML pages to the client.
The new paradigm, which I would not call single page architecture for historical reasons, sends the app to the client in when they open a page, and then runs on the client and only calls back to the server to get/post data. And maybe load some additional code blocks. These apps are built in Javascript with underscore, backbone, angular, ember and related tools. They are also typically MVVM or MV(something other than C).
> Rails was part of the old paradigm
> where a webapp runs on the server
Web apps no longer run on servers? They insert data directly into databases from the client? Isn't that insecure?The developers of Rails::API should be informed about the new paradigm so that they stop wasting their time.
> then runs on the client and only calls back to the server to get/post data.
And what's running on the server to handle those GET's/POST's?