简体   繁体   English

后端设计以连接到 android 应用程序和 web ui

[英]backend design to connect to android app and web ui

I am writing a python web application in Django to save day to day personal expenses on a SQL database.我正在 Django 中编写一个 python web 应用程序,以节省 SQL 数据库上的日常个人开支。 I want to connect my backend both from web UI and from android app.我想从 Web UI 和 Android 应用程序连接我的后端。 I know I can use any web front end tech like angular JS etc. for Web UI.我知道我可以为 Web UI 使用任何 Web 前端技术,例如 angular JS 等。

My question is how to write Android app for this ?我的问题是如何为此编写 Android 应用程序? Which front end tech should be used?应该使用哪种前端技术? How to connect this to my backend?如何将其连接到我的后端? Where to deploy my backend code ?在哪里部署我的后端代码?

                                                --- web UI (react)
       sql -- web backend (running on cloud) ---
                                                --- android app (????) 

Thanks谢谢

Well there are many solutions out there for writting an Android application, you have two major choices (1)Native Android development using java or kotlin (2) cross platform (Hybrid) using flutter, ionic react native etc,好吧,编写 Android 应用程序有很多解决方案,您有两个主要选择 (1) 使用 java 或 kotlin 的原生 Android 开发 (2) 使用颤振、离子反应原生等的跨平台(混合),

So if you choose native you need to learn java or kotlin and also retrofit or volley library so that you can connect to your back end code from the server using the specific end points or if you choose flutter for Cross platform you need to learn the dart programming language and the flutter framework and http or Dio library Let me know if you still have any doubts因此,如果您选择本机,您需要学习 java 或 kotlin 以及改造或排球库,以便您可以使用特定端点从服务器连接到后端代码,或者如果您为跨平台选择 flutter,则需要学习 dart编程语言和 Flutter 框架以及 http 或 Dio 库 如果您还有任何疑问,请告诉我

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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