{"id":5291,"date":"2023-09-20T14:52:05","date_gmt":"2023-09-20T06:52:05","guid":{"rendered":"https:\/\/www.yimenyun.cn\/emen\/?p=5291"},"modified":"2023-09-20T14:52:05","modified_gmt":"2023-09-20T06:52:05","slug":"app%e5%bc%80%e5%8f%91%e4%bb%a3%e7%a0%81%e6%9c%89%e5%a4%9a%e5%b0%91%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/www.yimenyun.cn\/emen\/5291\/","title":{"rendered":"app\u5f00\u53d1\u4ee3\u7801\u6709\u591a\u5c11\uff1f"},"content":{"rendered":"

APP\u5f00\u53d1\u6d89\u53ca\u7684\u4ee3\u7801\u91cf\u76f8\u5bf9\u8f83\u5927\uff0c\u4e3b\u8981\u5305\u62ec\u524d\u7aef\u548c\u540e\u7aef\u4e24\u90e8\u5206\u3002\u524d\u7aef\u90e8\u5206\u4e3b\u8981\u662f\u7528\u6237\u76f4\u63a5\u770b\u5230\u7684\u9875\u9762\uff0c\u4e3b\u8981\u4f7f\u7528\u7684\u7f16\u7a0b\u8bed\u8a00\u5305\u62ecJava\u3001Kotlin\u3001Objective-C\u3001Swift\u7b49\uff0c\u800c\u540e\u7aef\u90e8\u5206\u5219\u9700\u8981\u4f7f\u7528\u670d\u52a1\u5668\u7aef\u7f16\u7a0b\u8bed\u8a00\u8fdb\u884c\u5f00\u53d1\u3002\u4e0b\u9762\u6211\u4eec\u5c06\u5206\u522b\u4ecb\u7ecdAPP\u5f00\u53d1\u4e2d\u524d\u7aef\u548c\u540e\u7aef\u7684\u4ee3\u7801\u91cf\u3002<\/p>\n

\u4e00\u3001\u524d\u7aef\u4ee3\u7801\u91cf<\/p>\n

1. XML\u5e03\u5c40<\/p>\n

\u5728Android\u5f00\u53d1\u4e2d\uff0cXML\u5e03\u5c40\u662f\u975e\u5e38\u91cd\u8981\u7684\u4e00\u4e2a\u73af\u8282\uff0c\u5b83\u7528\u4e8e\u5b9a\u4e49\u7528\u6237\u754c\u9762\u7684\u7ec4\u4ef6\u548c\u5e03\u5c40\uff0c\u5305\u62ec\u6587\u672c\u6846\u3001\u6309\u94ae\u3001\u5217\u8868\u7b49\uff0c\u5e38\u7528\u7684\u63a7\u4ef6\u5e93\u5305\u62ecAndroidx\u3001BuAPP<\/a>tterKnife\u7b49\u3002XML\u5e03\u5c40\u4ee3\u7801\u91cf\u56e0APP\u5927\u5c0f\u548c\u754c\u9762\u5e03\u5c40\u590d\u6742\u5ea6\u800c\u5f02\uff0c\u5927\u6982\u57282000\u884c\u5de6\u53f3\u3002<\/p>\n

2. Java\u6216Kotlin<\/p>\n

Java\u6216Kotlin\u662fAndroid\u524d\u7aef\u5f00\u53d1\u4e2d\u6700\u5e38\u7528\u7684\u7f16\u7a0b\u8bed\u8a00\u3002Java\u7f16\u7a0b\u8bed\u8a00\u662f\u4e00\u79cd\u8de8\u5e73\u53f0\u8bed\u8a00\uff0c\u800cKotlin\u662f\u4e00\u79cd\u73b0\u4ee3\u5316\u3001\u9759\u6001\u7684\u7f16\u7a0b\u8bed\u8a00\u3002\u6839\u636eAPP\u7684\u5927\u5c0f\u548c\u590d\u6742\u5ea6\u4e0d\u540c\uff0cJava\u6216Kotlin\u4ee3\u7801\u7684\u884c\u6570\u4e5f\u4f1a\u6709\u6240\u4e0d\u540c\u3002\u4e00\u822c\u800c\u8a00\uff0c\u50cf\u57fa\u7840\u7684\u5217\u8868\u3001\u9875\u9762\u3001\u8d26\u6237\u7cfb\u7edf\u7b49\uff0c\u6240\u9700\u4ee3\u7801\u91cf\u57281000\u52302000\u4e4b\u95f4\u3002<\/p>\n

\u4e8c\u3001\u540e\u7aef\u4ee3\u7801\u91cf<\/p>\n

1. \u670d\u52a1\u5668\u7aef\u7f16\u7a0b\u8bed\u8a00<\/p>\n

APP\u5728\u8fd0\u884c\u8fc7\u7a0b\u4e2d\u9700\u8981\u548c\u670d\u52a1\u5668\u8fdb\u884c\u4ea4\u4e92\uff0c\u56e0\u6b64\u9700\u8981\u4f7f\u7528\u670d\u52a1\u5668\u7aef\u7f16\u7a0b\u8bed\u8a00\u8fdb\u884c\u5f00\u53d1\u3002\u76ee\u524d\u5e38\u89c1\u7684\u670d\u52a1\u5668\u7aef\u7f16\u7a0b\u8bed\u8a00\u5305\u62ecPHP\u3001Python\u3001Java\u3001C#\u7b49\u3002\u5176\u4e2d\uff0cJava\u7684\u4eb2\u548c\u5ea6\u6bd4\u8f83\u9ad8\uff0c\u4f7f\u7528\u7684\u4eba\u6570\u8f83\u591a\u3002APP\u5f00\u53d1<\/a>\u670d\u52a1\u5668\u7aef\u7f16\u7a0b\u8bed\u8a00\u7684\u4ee3\u7801\u91cf\u56e0APP\u529f\u80fd\u590d\u6742\u5ea6\u4e0d\u540c\u800c\u5f02\uff0c\u4e00\u822c\u5728APP\u4ee3\u7801\u603b\u91cf\u4e2d\u5360\u6bd450%\u4ee5\u4e0a\u3002<\/p>\n

2. \u6570\u636e\u5e93<\/p>\n

APP\u5f00\u53d1\u4e2d\u4e5f\u6d89\u53ca\u5230\u6570\u636e\u5e93\u64cd\u4f5c\uff0c\u6570\u636e\u5e93\u64cd\u4f5c\u4e3b\u8981\u7528\u4e8e\u6301\u4e45\u5316\u5b58\u50a8\u4ee5\u53ca\u6570\u636e\u5907\u4efd\u3002\u5e38\u7528\u7684\u6570\u636e\u5e93\u5305\u62ecMySQL\u3001SQLite\u3001Redis\u7b49<\/p>\n

<\/figure>\n<\/p>\n

\uff0c\u6570\u636e\u5e93\u7684\u4ee3\u7801\u91cf\u4e5f\u5f71\u54cd\u5230APP\u6574\u4f53\u4ee3\u7801\u91cf\u3002\u6570\u636e\u5e93\u64cd\u4f5c\u5177\u4f53\u4ee3\u7801\u91cf\u7684\u8ba1\u7b97\u65b9\u6cd5: DDL\u8bed\u53e5\u548cDML\u8bed\u53e5\u8bed\u53e5\u6570\u91cf\uff0c\u884c\u6570\u548c\u5b58\u50a8\u8fc7\u7a0b\u7684\u6267\u884c\u6b21\u6570\u7b49\u3002<\/p>\n

\u7efc\u4e0a\u6240\u8ff0\uff0cAPP\u5f00\u53d1\u4ee3\u7801\u91cf\u4e0d\u4ec5\u53d6\u51b3\u4e8e\u5177\u4f53\u7684\u529f\u80fd\u6a21\u5757\uff0c\u8fd8\u53d6\u51b3\u4e8eAPP\u7684\u5927\u5c0f\u548c\u590d\u6742\u5ea6\u3002\u4e00\u4e2a\u7b80\u5355\u7684APP\u53ef\u80fd\u53ea\u9700\u8981\u51e0\u767e\u884c\u4ee3\u7801\uff0c\u800c\u4e00\u4e2a\u590d\u6742\u7684APP\u53ef\u80fd\u9700\u8981\u51e0\u4e07\u884c\u4ee3\u7801\uff0c\u9700\u8981\u4e00\u6574\u5957\u7684\u7ef4\u62a4\u548c\u66f4\u65b0\u6d41\u7a0b\u3002\u5f53\u7136\uff0c\u4e0d\u540c\u7684\u5f00\u53d1\u8005\u5728\u7f16\u7a0b\u6280\u672f\u4e0a\u4e5f\u4f1a\u4ea7\u751f\u4e0d\u5c0f\u7684\u5dee\u522b\uff0c\u4e00\u4e2a\u5bf9\u7f16\u7a0b\u8f83\u4e3a\u719f\u6089\u7684\u5f00\u53d1\u8005\uff0c\u53ef\u80fd\u4f1a\u5199\u51fa\u6bd4\u53e6\u4e00\u4e2a\u5f00\u53d1\u8005\u66f4\u4e3a\u7b80\u6d01\u548c\u9ad8\u6548\u7684\u4ee3\u7801\uff0c\u8fd9\u4e5f\u5f71\u54cd\u7740APP\u5f00\u53d1\u7684\u4ee3\u7801\u91cf\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

APP\u5f00\u53d1\u6d89\u53ca\u7684\u4ee3\u7801\u91cf\u76f8\u5bf9\u8f83\u5927\uff0c\u4e3b\u8981\u5305\u62ec\u524d\u7aef\u548c\u540e\u7aef\u4e24\u90e8\u5206\u3002\u524d\u7aef\u90e8\u5206\u4e3b\u8981\u662f\u7528\u6237\u76f4\u63a5\u770b\u5230\u7684\u9875\u9762\uff0c\u4e3b\u8981\u4f7f\u7528\u7684\u7f16\u7a0b\u8bed\u8a00\u5305\u62ecJava\u3001Kotlin\u3001Objective-C\u3001Swift\u7b49\uff0c\u800c\u540e\u7aef\u90e8\u5206\u5219\u9700\u8981\u4f7f\u7528\u670d<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[29,9942,3937,9941,129],"topic":[],"class_list":["post-5291","post","type-post","status-publish","format-standard","hentry","category-appkf","tag-29","tag-app","tag-3937","tag-apk","tag-129"],"_links":{"self":[{"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/posts\/5291","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/comments?post=5291"}],"version-history":[{"count":0,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/posts\/5291\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/media?parent=5291"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/categories?post=5291"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/tags?post=5291"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/topic?post=5291"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}