Chapter 6. Working with external data in Node.js
Rendering static or dummy data is one thing, but connecting your UI to live data is something else again. If you want your application to handle the real world, you need it to track and assimilate data provided by back-end data stores, whatever they may be.
In our case, we’ll start with databases—specifically, with Microsoft SQL Server. Why SQL Server? There are two reasons.
First, there is a good chance you are exploring Node.js as some sort of complement to or replacement of a .NET web application. In the vast majority of cases, the back-end database for .NET is SQL Server. Second, SQL Server has within it stored procedures (chunks of prebuilt SQL code that are held in the database that you can ...