Question about this client non - server design


I want to get my head around this and was thinking about it.

Say in MVC when you have client side JavaScript that can post data to a server. The server side .net code received the posted data and maybe interacts with a database or something else and returns a web page.

This is an added layer of complexity due to the nature of the client server model, i.e the Javascript does not interact with the database directly, there is a intermediate step.

With the Safe network, would the client side JavaScript app running in a browser effectively see the database as local (even though it is distributed), and therefore could interact with it directly without having to go through the extra step of calling remote server side code first?


Simply: yes it could