构建iOS应用,网站和后端 [英] Building iOS app, website, and backend

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

问题描述

我直到最近才开始研究构建应用程序的工作方式.我想知道移动应用程序和网站的常规设置是什么,用户可以在其中通过网站更新有关该应用程序的信息.

I've only recently started to delve into how building apps work. I'd like to know what the general setup is for a mobile app and a website, in which users can update information on the app through the website.

我正在尝试学习如何使用Swift制作iOS应用程序,并使用Amazon Web Services作为其后端.如果我想创建一个网站来更改移动应用程序上的数据,是否需要使用Ruby或Python从头开始创建一个网站,然后以某种方式将其连接到我的iOS应用程序使用的同一AWS后端?

I'm trying to learn how to make an iOS app with Swift, and use Amazon Web Services as the backend for it. If I wanted to then make a website that would change data on the mobile app, would I have to create a website from scratch with Ruby or Python, and then somehow connect that to the same AWS backend that my iOS app uses?

谢谢.

推荐答案

这是一个非常广泛的问题,有很多可能的答案,但是这里有一些选择:

That's a very broad question, with lots of possible answers, but here are some of the options:

  • 您有一个本机(Objective-C或Swift)iOS应用程序,具有自己的UI等.它与您的后端服务器交换数据,该后端服务器将内容存储在数据库中和/或在客户端之间转发消息. .然后,您有一个网站,可以使用所需的任何语言/框架访问相同的数据库.

  • you have a native (Objective-C or Swift) iOS app, with its own UI, etc. It exchanges data with your back-end server, which stores stuff in a database and/or forwards messages between clients. Then, you have a website, using any language/framework you want, accessing the same database.

,您有一个基于Web的应用程序:您使用完全相同的代码(当然具有响应式设计),使用所需的任何语言/框架从服务器提供该代码,然后将其嵌入到您的应用

you have a web-based application: you use exactly the same code (with responsive design of course), serve it from your servers using any language/framework you want, and just embed that in a web view in your app

您有一个混合应用程序:这与上一个选项很接近,但是您在Cordova/Phonegap应用程序中进行了大多数客户端编码(即使用Javascript,可能还使用了诸如Angular之类的框架).然后,同一个应用程序既可以作为本机应用程序部署,也可以作为网站部署.您只会在服务器上拥有后端代码.

you have an hybrid application: this is close to the previous option, but you do most of the coding client-side (i.e. using Javascript, possibly with frameworks such as Angular) within a Cordova/Phonegap app. The same app would then be deployable as a native app as well as served as a website. You would just have back-end code on the server.

这篇关于构建iOS应用,网站和后端的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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