Research and Development of Mobile Application Base on HTML5

Author
ZhangQiWei
Advisor
HuangXiaoJun
School
Beijing University of Posts and Telecommunications
Major
Communication and Information System
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2013
Downloads
147
Citations
0

Request the full text

Abstract

Mobile Internet enjoys rapid development in recent years. As a directly reflection of the Mobile Internet, application delivering excellent experience to users and resulting inestimable commercial value. However, operating systems of mobile phones are various. The mainstream, Android, iOS and Windows Phone, has a separate "eco-system". In order to expand application’s users, developers have to develop multiple versions for the same application, which increase the costs. HTML5provides a unified solution for the adaptation problem between different operating systems with a good cross-platform performance. In addition, new features, such as multimedia support and Canvas, provide very good user experience.This article is divided into two parts:the first part is focused on the development of application engine based on HTML5, and the second part mainly illustrates the development of the server which used for deployment and data processing of the HTML5applications.In the first part, the article gives a brief analysis ofHTML5new features and JavaScript, and describes the design of the application engine based on HTML5. Then the article elaborated on the implementation of each module, focused on resource module, animation module, sprite module, audio module and scene module. Next, the article showed the use of the engine by illustrating the process of developing a HTML5game. In the end of this part, the article showed the testing result and discussed the optimization method in developing the engine.In the second part, the article focused on the development of the server for HTML5applications. This part begins with analysis of Servlet and the method of deploying a TOMCAT server. Then the article elaborated on the data processing and storage using Servlet and MySQL. At the end of this part, the article showed the method of stress tests on the server, and analysed the testing data, then finished the optimization of the server.

Table of contents

Summary 4-5 ABSTRACT 5-7 directory 7-10 first chapter 10-13 <br / > 1.1 Background purpose and significance of the study 10-11 1.2 11 1.3 the main contents and organization 11-13 second Chapter HTML5 and JavaScript technical analysis 13-17 2.1 HTML5 core technical analysis 13-14 2.2 JavaScript key technical analysis 14-16 2.2.1 ECMAScript analysis 14-15 2.2.2 browser object Model BOM and the Document Object Model DOM 15-16 2.3 Summary 16-17 Chapter HTML5 application engine based design and implementation design and overall architecture 17-63 3.1 application engine 17-20 3.1.1 function module design 17-19 3.1.2 the overall structure 19-20 3.1.3 general requirements 20 3.2 compatible multi-browser event monitor treatment 20-24 3.2.1 type of event analysis 20-21 3.2.2 compatible with different browsers handle event listeners realize 21-24 3.3 application engine and method of generating namespace bindings 24-26 3.3.1 implementation 24-26 3.3.2 namespace in engine instructions 26 3.4 resource loading module design and implementation 26-30 3.5 sound playback module 30-35 3.5.1 AUDIO element use analysis 30 3.5.2 Adaptive Multi browser to load an audio resource selection method 30-32 3.5.3 sound loaded with superimposed played achieve 32-35 3.6 application status and call a timeout from 35-37 3.7 animation rendering module design and implementation 37-43 3.7.1 adapter canvas initialization screen 37-38 3.7.2 methods to achieve animation using cANVAS 38-39 3.7.3 animators achieve 39-42 3.7.4 achieve double buffering technology 42-43 3.8 Wizard module design and implementation 43-51 3.8.1 Wizard object design and basic functions achieve 43-45 3.8.2 user control Wizard to achieve 45-47 3.8.3 application of Artificial Intelligence in enemy wizard implementations 47 - 51 achieve 3.9 touch interaction 51-52 3.10 collision detection module 52-56 3.10.1 rule graphics collision detection 52 -53 3.10.2 irregular graphics collision detection 53-56 3.11 scenes perspective drawing and select 56-60 3.11.1 scene rendering 56-58 3.11.2 vision select 58-60 3.12 offline data storage and read 60-62 3.12.1 localStorage usage analysis 60-61 3.12.2 localStorage using HTML5 game applications 61-62 3.13 Summary 62-63 Chapter IV based on the use and application of the test engine optimized HTML5 achieve 63-69 4.1 a flight shooting game 63-66 4.1.1 the overall structure and the relationship between state transitions 63-64 4.1.2 game content to achieve 64-66 4.2 application testing and SEO 66-68 4.2.1 multiple operating systems and multi-browser testing results find and modify 66 4.2.2 application instance memory leak 66-67 4.2.3 engine performance optimization 67-68 4.3 Summary 68-69 development Chapter HTML5 application server 69-89 5.1 server with smart mobile terminals interaction principle 69-70 5.2 Servlet, TOMCAT server analyzes 70-71 5.3 HTML5 application server build method 71-72 5.4 HTML5 applications server Information management development 72-85 5.4.1 Servlet to interact with the mobile browser process 72-74 5.4.2 mobile terminal design and implementation of data sent 74-76 5.4.3 server-side design and implementation of data reception 76-79 5.4.4 interact with MySQL database implementations 79-83 <br / > 5.4.5 games instance scores achieved query 83-85 5.5 server stress testing and optimization 85-88 5.5.1 stress test 85 -86 5.5.2 test Results and Analysis 86-87 5.5.3 server optimized 87-88 5.6 Summary 88-89 Chapter VI summary and Outlook 89-91 6.1 summary 89-90 6.2 HTML5 prospect 90-91 References 91-93 Thanks published during 93-94 pursue a degree academic catalog 94

Related dissertations

  1. Research on WebGIS based on HTML5
    LongYun ·Jiangxi University of Technology ·2013 ·Master's thesis
  2. Research and Implementation of Personal Genome Data Visualization
    HaoYaFeng ·Harbin Institute of Technology ·2013 ·Master's thesis
  3. HTML5Game Engine Implementation Based on IOS Platform
    GuoSong ·Jilin University ·2013 ·Master's thesis
  4. Research on Vector Electronic Charts Services Based on HTML5
    ZuoDongLong ·Dalian Maritime University ·2013 ·Master's thesis
  5. Research Based on HTML5Primitive Translation Mechanism in Virtual Desktop Systems
  6. Research and Development of Airport Office Automation Application System Based on Mobile Platform
    GuoJianMing ·Dalian Maritime University ·2013 ·Master's thesis
  7. Study on the mechanism of HTML5 front end efficiency and the application of Web model based on
    XiaoZuoHuai ·Shandong Normal University ·2014 ·Master's thesis
  8. Design and Implementation of Mobile Cross-platform Development System
  9. Design and Implementation of Cross-terminal Web Interface Generation System Based on HTML5
    LiangZhongZhi ·Sun Yat-sen University ·2013 ·Master's thesis
  10. With the Implementation of E-learning Platform Design Lead
  11. Design and Implementation of Library CD Data Management System
    XuJingJing ·Dalian University of Technology ·2013 ·Master's thesis
  12. Development and Application of Component Based on JSF2and HTML5
    ZengWeiSheng ·Huaqiao University ·2013 ·Master's thesis
  13. The Design and Implementation of Application Engine System for Web
  14. Research and Implementation of Museum Display System Based on HTML5
    WangZuo ·South China University of Technology ·2013 ·Master's thesis
  15. Design and implementation of plant phenology observation system in cloud environment
    SunYong ·Yunnan University ·2013 ·Master's thesis
  16. Design of Mobile Learning System Based on Micro Video Course
    WuJinRong ·South China University of Technology ·2013 ·Master's thesis
  17. Research and Implementation of Navigation Application Based on Intelligent Tourism for Smart Hansets
    LiZhiQuan ·South China University of Technology ·2013 ·Master's thesis
  18. Design and Implementation of Competition Software Based on Web
  19. Design of Information Technology Talent Training System Based on HTML5
  20. Design and Implementation of Information Sharing Website Which Base on HTML5
    GaoZhan ·South China University of Technology ·2013 ·Master's thesis