轻量级设计模式在Android应用程序开发中的应用

Wasana Ngaogate
{"title":"轻量级设计模式在Android应用程序开发中的应用","authors":"Wasana Ngaogate","doi":"10.55164/ajstr.v26i2.247607","DOIUrl":null,"url":null,"abstract":"This research aims to demonstrate how the Flyweight design pattern enhances programmers' ability to develop mobile applications while being aware of memory consumption flexibly. By following the systematic approach to software development, the two Android applications have been designed using a class diagram based on two paradigms: general object-oriented programming and the Flyweight design pattern. Both applications are developed in Java and installed on a physical Android phone. Memory usage is monitored by using the Android Profiler and using programming. The results show that both Android applications consume almost the same amount of memory, given all classes or package classes. Therefore, applying the Flyweight design pattern to mobile software development does not affect memory usage and follows a professional software design.","PeriodicalId":426475,"journal":{"name":"ASEAN Journal of Scientific and Technological Reports","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-03-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Applying the Flyweight Design Pattern to Android Application Development\",\"authors\":\"Wasana Ngaogate\",\"doi\":\"10.55164/ajstr.v26i2.247607\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"This research aims to demonstrate how the Flyweight design pattern enhances programmers' ability to develop mobile applications while being aware of memory consumption flexibly. By following the systematic approach to software development, the two Android applications have been designed using a class diagram based on two paradigms: general object-oriented programming and the Flyweight design pattern. Both applications are developed in Java and installed on a physical Android phone. Memory usage is monitored by using the Android Profiler and using programming. The results show that both Android applications consume almost the same amount of memory, given all classes or package classes. Therefore, applying the Flyweight design pattern to mobile software development does not affect memory usage and follows a professional software design.\",\"PeriodicalId\":426475,\"journal\":{\"name\":\"ASEAN Journal of Scientific and Technological Reports\",\"volume\":\"1 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2023-03-26\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"ASEAN Journal of Scientific and Technological Reports\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.55164/ajstr.v26i2.247607\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"ASEAN Journal of Scientific and Technological Reports","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.55164/ajstr.v26i2.247607","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

本研究旨在演示Flyweight设计模式如何增强程序员开发移动应用程序的能力,同时灵活地意识到内存消耗。遵循系统的软件开发方法,使用基于两种范式的类图设计了这两个Android应用程序:通用面向对象编程和Flyweight设计模式。这两个应用程序都是用Java开发的,并安装在实体Android手机上。通过使用Android Profiler和编程来监控内存使用情况。结果表明,在给定所有类或包类的情况下,两个Android应用程序消耗的内存量几乎相同。因此,将Flyweight设计模式应用于移动软件开发不会影响内存使用,并且遵循专业的软件设计。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Applying the Flyweight Design Pattern to Android Application Development
This research aims to demonstrate how the Flyweight design pattern enhances programmers' ability to develop mobile applications while being aware of memory consumption flexibly. By following the systematic approach to software development, the two Android applications have been designed using a class diagram based on two paradigms: general object-oriented programming and the Flyweight design pattern. Both applications are developed in Java and installed on a physical Android phone. Memory usage is monitored by using the Android Profiler and using programming. The results show that both Android applications consume almost the same amount of memory, given all classes or package classes. Therefore, applying the Flyweight design pattern to mobile software development does not affect memory usage and follows a professional software design.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
CiteScore
0.20
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信