行动应用程式后端 [英] Mobile app backend

查看:106
本文介绍了行动应用程式后端的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是一名Web开发人员,但最近我被要求构建一个移动应用程序的后端.因此,基本上,应用程序内部只有一个表单,用户填写该表单并点击提交,然后数据将被发送到受保护的服务器.该应用将由某人制作,我只需要从该应用中获取数据并将其存储在数据库中即可.

I am a web developer but recently I have been asked to build a backend of a mobile app.So basically there is a single form inside the app and the user fillup the form and hit submit and the data will be sent to a secured server.The app will be made by someone and I just need to get the data from the app and store it in a db.

现在我有几个问题,例如:

Now I have few questions like:

  1. 我需要注册苹果开发者帐户或其他类似Android的帐户吗?

  1. Do I need to register with apple developer account or some other account like android?

是否有任何指南或教程,如何从应用程序中获取数据并进行处理.

Is there any guide or tutorial how to get the data from the app and process it.

开发人员制作完应用后,又如何下载?

Also once the app is made by the developer how can it be downloaded?

推荐答案

采用您喜欢的服务器端编程语言. (例如php,ruby ....)

Take your favorite server-side programming language. (eg. php, ruby....)

  • 您可以创建一个URL,应用程序可以在其中发出发布请求.
  • 告诉应用程序开发人员他应该在发布请求中以json格式发送数据. 有人填写后,他可以发送表格数据.让他为每个表单数据添加一个唯一的ID,以确保您不保存重复的数据.
  • 当您解析json并将其推送到数据库时.
  • You can create a url where the app can make post requests.
  • Tell the app developer that he should send the data in json within the post requests. He can send the form data after someone has filled it. Let him add an unique id to every form data, to make sure that you do not save duplicated data.
  • When you got the json parse it and push to the DB.

可选:

  • 实施身份验证
  • 实施加密

您不需要拥有开发者帐户(创建Web服务),而是拥有应用程序开发者帐户.

You do not need to have a developer account for that (creating a web service), but respectively the app developer.

这篇关于行动应用程式后端的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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