12

Recently gone through many articles explaining single page application. But i am very much confused about the architecture or rather how it works.

  1. There is some thing new called client side MVC implemented by using javascript. Till now i had seen server side MVC architecture. What is this client side MVC?

  2. Where does the client side MVC files are hosted. Is it hosted along with server files similar to typical web application.

  3. What is the role of server side java script like node.js.

  4. What is the flow from end to end.

1 Answer 1

13

Client side MVC means that a MVC framework is built entirely on the client side. So the server only delivers data to the application. The binding of the data to the models happens client side.

An example of a framework that implements this principle is AngularJs Another one is Ember.

Node on the server side has nothing to do with client side MVC. The data delivered to the webapp could be delivered by any technology capable of doing that.

Nodejs is often used to run client side development tools and run tests. For example, the development server that comes with the AngularJs tutorial is build on node.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.