How to perform CURD on mysql using Node.js -


i new in node.js. have experience in backbone on client side , server side using php laravel framework.

i want know following connection/communication workflow correct or possible:

enter image description here

  1. my application being designed using backbone , stacks , can use backbone model/collection make service calls. on server side possible create web service using node.js (without using server side scripting php).
  2. am using node.js in correct direction @ server end.
  3. here node.js perform curd operations on database , return result in json format.

please suggest me can here.

yes, node.js fantastic @ building scalable crud json apis backend database.

you can use mysql, mongodb, redis or other number of databases on backend. you'll find support in npmjs.org popular databases.

in addition enhanced performance of node.js on php, can make multiple database calls in parallel node.js. that's php can't do. in php must make database calls sequentially. in node.js can make several calls in parallel long calls not interdependent.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -