简体   繁体   中英

SQL Server as Database Backend for Ionic?

如何连接到SQL Server作为Ionic移动应用程序的后端?

Typically one would create an HTTP API (most likely using REST) that would serve as the interface to the database. This API would be developed in a server side technology of choice: node, ASP.NET, php, etc. The API would connect and communicate with SQL Server by executing T-SQL queries or stored procedures.

Your API would be called by your angular application using the $http service provided by angular.

Additional reference materials:

  • Angular $http service
  • T-SQL

  • The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

     
    粤ICP备18138465号  © 2020-2024 STACKOOM.COM