iOS应用程序调整服务器连接

时间:2016-02-12 18:17:23

标签: php ios xcode server lamp

我目前正在开发iOS应用程序,并且已经达到了我需要实现服务器后端以支持核心功能的程度。该应用程序的构建方式是在本地存储某些问题(内部应用程序)并向app用户提出问题。我需要调整它,以便从远程服务器检索问题。此外,该问题将驻留在远程数据库中的特定文件夹中。因此,应用程序必须根据用户登录信息从相应的文件夹中提取问题。

我没有服务器经验,需要一些建议,我应该从哪里开始。我想知道是否有这种任务的模板规范。使用模板规范,我可以聘请程序员并智能地进行交谈。请帮忙!

2 个答案:

答案 0 :(得分:0)

有很多BAAS(后端即服务)提供商,如Parse或Firebase。您可能想要了解它们。 (虽然Parse将要关闭。)

另一种简单的方法是研究PHP Laravel。

Laravel是一个很棒的框架,可以很容易地设置后端。 看看Laracast

答案 1 :(得分:0)

Here is a number of solutions:
1) You can use other services that provide backend functionality with REST API (as @Niklas Hein mentioned), it calls BAAS - backend as a service, such as Parse (but Parse is closing his service in one year), BaasBox, etc.
2) You can use CloudKit. This is service created by Apple, where you can store app data in the cloud, with authorization, requests, admin panel, etc.
3) Create you own back end. Here is a large number of languages and web frameworks, so php is not the only one solution. Ruby on Rails, Python Django, NodeJS, and many others on your choice.