数据流对Azure的后端上的原生Android应用 [英] Data Flow for Azure Backend on Native Android Apps

查看:227
本文介绍了数据流对Azure的后端上的原生Android应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在寻找Azure用于后端为我们的原生Android应用程序。该应用程序将用户帐户与产品信息和订单历史记录信息。这样做是为了管理用户,产品,并且在Azure的后端订单信息。

您能帮助确认是否我的理解是正确的以下内容:


  

      
  1. 有三个组成部分涉及:在客户端Android原生应用程序,服务器端的Node.js应用程序,Azure存储


  2.   
  3. 在服务器端的应用程序的Node.js就是比如GET /设置用户/产品/订单API调用执行


  4.   
  5. 后端实现通过SDK经由Node.js的或.NET提供,但是对于其他实施方式,也可通过REST调用天青完成
      存储


  6.   
  7. 所涉及的数据流是:Android应用程序通过REST API来的Node.js应用程序进行通信,而Node.js的应用程序通过SDK到Azure存储通信
      (或REST API)。


  8.   

如果你能帮助确认这些,这将是pciated大大AP $ P $


解决方案

移动应用是移动后端作为一种服务,因为他们的API包括标准HTTP动词(GET,POST等)。每个HTTP动词具有与可以在后端侧使用C#/ Node.js的写入相关的脚本。这code正在执行每一个HTTP动词是由客户端执行的时间。客户端可以有他想要的语言/平台方面的任何。


  

有三个组成部分涉及:在客户端,Node.js的>在服务器端应用程序,以及Azure存储

原生Android应用

这取决于你使用的是什么。如果移动应用,再有就是SQL Azure上。如果没有 - 那么你可以使用存储,SQL或任何你需要


  

在服务器端的应用程序的Node.js就是例如获取/设置>用户/产品/订单API调用执行


在Node.js的移动应用实现为当有客户机调用一些HTTP方法被执行的脚本。例如,你可以实现推送通知,如果客户端调用POST HTTP方法并插入一些实体为使用移动应用的存储后端。


  

后端实现通过SDK经由Node.js的或.NET提供,但对于其他>实现,也可以通过REST完成调用Azure存储


是的。但同样,如果你的意思是移动应用(我想你),那么它是SQL Azure的,在这里你可以使用SQL Server Management Studio中,Visual Studio或别的东西来管理SQL Azure的数据库。或使用REST API。


  

所涉及的数据流是:Android应用程序通过REST API来的Node.js应用通信,> Node.js的同时,通过应用SDK(或REST API)来Azure存储通信


Node.js的后端使用,您可以添加模块存储后端的通信(例如,SendGrid发送短信或存储在存储器中的斑点)和一些基础技术和适配器。

We are looking at using Azure for the backend for our native Android application. The application will have user accounts along with product information and order history information. The idea is to manage the user, product, and order information in the Azure backend.

Could you help confirm if my understanding is correct on the following:

  1. There are three components involved: native Android app on client side, Node.js app on the server side, and Azure Storage.

  2. The Node.js app on the server side is where for example get/set user/product/order API calls are implemented

  3. Backend implementation is offered via Node.js or .NET via SDK, but for other implementations can also be done via REST calls to Azure storage

  4. The data flow involved is: Android app communicates to Node.js app via REST API, while Node.js app communicates to Azure Storage via SDK (or REST API).

If you could help confirm these, it would be greatly appreciated

解决方案

Mobile Apps is the mobile-backend-as-a-service which have the API consisted of standard HTTP verbs (GET, POST, etc). Every HTTP verb has the script associated with that that can be written using C#/Node.js on the backend side. That code is being executed every time that HTTP verb is "executed" by the client. Client can have whatever he wants in terms of language/platform.

There are three components involved: native Android app on client side, Node.js >app on the server side, and Azure Storage.

It depends on what you are using. If Mobile Apps, then there is SQL Azure. If not - then you can use Storage, SQL or whatever you need.

The Node.js app on the server side is where for example get/set >user/product/order API calls are implemented

Node.js in Mobile Apps are implemented as the scripts that are executed when there is some HTTP method invoked by the client. For example, you are able to implement the PUSH notification if client invokes POST HTTP method and insert some entity into the storage backend using Mobile Apps.

Backend implementation is offered via Node.js or .NET via SDK, but for other >implementations can also be done via REST calls to Azure storage

Yes. But again, if you mean Mobile Apps (i think you do), then it is SQL Azure, and here you can use SQL Server Management Studio, Visual Studio or something else to manage the SQL Azure DB. Or use REST API.

The data flow involved is: Android app communicates to Node.js app via REST API, >while Node.js app communicates to Azure Storage via SDK (or REST API).

Node.js backend communicates with the storage backend using modules that you can add (for example, SendGrid to send SMS or store the blobs in the Storage) and some underlying technologies and adapters.

这篇关于数据流对Azure的后端上的原生Android应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆