在线租房跨平台移动系统设计与实现

 2022-11-21 09:11

论文总字数:37635字

摘 要

在我国,随着城市的迅速发展,以及人们对工作的需要,越来越多的人走向城市或者走向其他城市,在一个城市生活、工作,首先要解决的问题便是住房,由于目前市场房价普遍偏高,租房便成了解决问题的首选途径。基于目前市场上流行的智能手机操作平台iOS和Android,本课题使用跨平台框架进行开发,目的是解决推广出租房屋信息的问题和租户租房的困难,并为没有自己网站的第三方出租机构提供管理房屋信息的平台和提供房源的机会,以便更多租户可以使用在线租房这种便捷的方式得到房源信息。同时,它还为租户提供优质的房源筛选服务,为租户提供可靠,高质量的住房,并满足他们的需求,从而减少他们在寻找房源上消耗时间和精力。

本系统中的客户端采用ionic跨平台移动开发框架,ionic是基于Web技术应用HTML5、CSS3和 JavaScript技术进行智能设备APP开发的框架,具有很好的跨平台性能,被称为 Hybrid App框架,即混合模式的移动APP开发框架。ionic聚焦于感官和应用的Ui交互,在前端大幅度简化了APP开发。为了发挥ionic的完美功能,需要Angular的配合。 Node.js是允许JavaScript在服务器上运行的开发平台。可用于构建Android和iOS开发环境。他提供的npm软件包管理工具可以轻松安装客户端所需的各种依赖项。本系统主要使用cordova来构建需要打包的移动平台的环境,并可以通过它来构建apk或ipa安装包。客户端和服务器使用json进行数据交互,Json是一种用于交换数据的简单格式,它来源于ECMAScript(由欧洲计算机协会开发的JS规范)的子集,简洁、高效的表达形式大大提升了工作效率,并且其独立于编程语言,可以在几乎任何语言中使用。数据交互是此系统的主要部分,设计一个简单易用的API接口是重中之重。该系统的服务器使用Node.js Express框架来开发可与客户端软件进行交互的API接口。 Express是一个非常实用的用于开发网站的node.js框架,它集成了众多HTTP工具可以用来构建丰富的网络程序。该系统数据库使用MySQL,它是一种关系型数据库管理系统,具有体积小,速度快和易于使用的特点。本文详细介绍了在线租房APP的设计思想和具体实现方法以及相关技术论述。

关键词:ionic,cordova,angular,node.js,跨平台,在线租房

Design and Implementation of Cross-platform Mobile System for Online Renting

Abstract

In our country, with the rapid development of cities and people ’s need for work, more and more people are going to cities or to other cities. The first problem to be solved when living and working in a city is housing. Generally high, renting has become the preferred way to solve the problem. Based on the popular smartphone operating platforms iOS and Android currently on the market, this topic is developed using a cross-platform framework, the purpose is to solve the problem of promoting rental housing information and the difficulty of tenants renting, and provide management for third-party rental agencies that do not have their own websites Housing information platform and the opportunity to provide listings, so that more tenants can use online renting this convenient way to get listing information. At the same time, it also provides high-quality housing screening services for tenants, provides tenants with reliable, high-quality housing, and meets their needs, thereby reducing their time and effort in finding housing.

The client in this system uses the ionic cross-platform mobile development framework. Ionic is a framework for smart device APP development based on Web technology using HTML5, CSS3 and JavaScript technology. It has good cross-platform performance and is called the Hybrid App framework. Mixed-mode mobile APP development framework. Ionic focuses on the Ui interaction between the senses and the application, which greatly simplifies APP development on the front end. In order to play the perfect function of ionic, the cooperation of Angular is needed. Node.js is a development platform that allows JavaScript to run on the server. It can be used to build Android and iOS development environments. The npm package management tool he provided can easily install various dependencies required by the client. This system mainly uses cordova to build a mobile platform environment that needs to be packaged, and can use it to build apk or ipa installation packages. The client and server use json for data interaction. Json is a simple format for exchanging data. It comes from a subset of ECMAScript (JS specification developed by the European Computer Association). The concise and efficient expression form greatly improves the work. Efficiency, and it is independent of the programming language, can be used in almost any language. Data interaction is the main part of this system, and designing a simple and easy-to-use API interface is the top priority. The server of the system uses the Node.js Express framework to develop API interfaces that can interact with client software. Express is a very useful node.js framework for developing websites. It integrates many HTTP tools that can be used to build rich network programs. The system database uses MySQL, which is a relational database management system, which has the characteristics of small size, fast speed and easy to use. This article introduces in detail the design ideas, specific implementation methods and related technical discussions of the online rental app.

Keywords: ionic,cordova,angular,node.js,Cross-platform,Rent a house online

目 录

摘 要 I

Abstract II

目 录 IV

第一章 绪论 1

1.1 系统开发背景与意义 1

1.2 系统研究现状 1

1.3 主要工作内容 2

1.4 论文组织结构 3

第二章 系统相关技术基础 5

2.1 Angular技术 5

2.2 ionic技术 5

2.3 cordova技术 8

2.4 node.js技术 9

2.5 MySQL数据库 10

2.5 Visual Studio Code工具 10

2.6 本章小结 10

第三章 系统需求分析 11

3.1 角色分析 11

3.2 业务流程图 12

3.3 系统数据流程分析 13

3.3.1 数据流程图的符号说明 13

3.3.2 顶层数据流程图 13

3.4 数据字典 13

3.3.1数据流卡 14

3.3.2数据存储卡 14

3.5系统关系图 15

3.6 本章小结 16

第四章 系统设计 17

4.1 系统总体设计 17

4.1.1 系统分层结构设计 17

4.1.2 系统功能模块设计 18

4.1.3 系统API接口设计 20

4.1.4 系统数据库设计 21

4.2 系统详细设计 24

4.3 核心算法设计 27

4.4 本章小结 30

第五章 系统实现与测试 31

5.1 系统实现工具与环境 31

5.2 核心代码分析 31

5.3 系统主要运行界面 35

剩余内容已隐藏,请支付后下载全文,论文总字数:37635字

您需要先支付 80元 才能查看全部内容!立即支付

该课题毕业论文、开题报告、外文翻译、程序设计、图纸设计等资料可联系客服协助查找;