During one of our projects we decided to use a javascript library called Breeze.
Breeze is a very useful library that allows users to work with entities in js and to execute CRUD operations directly from js, almost without writing server code.
read more