1 AIT Asian Institute of Technology

An aspect-oriented architecture for handling variation across mobile platforms

AuthorChokchai Phatharamalai
Call NumberAIT Thesis no.CS-08-10
Subject(s)Aspect-oriented programming

NoteA thesis submitted in partial fulfillment of the requirements for thedegree of Master of Science inComputer Science, School of Engineering and Technology
PublisherAsian Institute of Technology
Series StatementThesis ; no. CS-08-10
AbstractDeveloping applications that are capable of running on a variety of mobile platforms is a technically challenging business requirement. The goals of this thesis are using Aspect-Oriented Programming (AOP) to separate and generalize code of two concerns: business logic and device functionalities extraction; encouraging reusability of both parts, deriving an architecture which embedded with a bridge between business logic and device functionalities for effective handling reoccurring problems, and evaluating the strengths and weaknesses of the taken approach in the term of performance, object-oriented metrics and reusability of code. The case study has been done in two phases on two mobile games. Each of them was used in each phase. The first phase is focusing on extracting the business logic of the game, called as game logic, and generalizing extracted code to be able for reusing across platforms. The second phase is focusing on device specific code, trying to generalize them to cope with reusability across games. The implementation of the thesis can be divided into three sections. The first section is to use AOP to provide more flexibility in code level for handling variation. The second section is tackling variation problems in device specific code where the usage of AOP, discovered in the first section, was applied. The third section is constructing architecture with design decisions made in the second parts to handle variation problems effectively. The thesis also has evaluated the impact of applying AOP to a mobile game in three criteria: performance impact, architectural analysis and reusability of code. The result of performance impact analysis was acceptable small. The architectural analysis was done with object-oriented metrics which shows a decrease in cyclomatic complexity, and structural changes that support better code reuse. The result for reusability of code was resulted in developing a mobile game for every platform can be done with a cost of single one. This thesis also discussed disadvantages of the advantages of the taken approach; however, the candidate approach which suggested in the future work must wait for the aspect technology to be evolved. In conclusion, separating business logic of a mobile application out of which is concerning device features extraction increase reusability of both parts. The AOP reveals a possible solution for cleanly separate them, resulting in a single code base for a mobile application which can support wide range of devices. An architecture proposed in the thesis helps for effectively handling reoccurring problems. The most crucial point in it is the connection between the business logic and the driver. The approach taken for implementing the connection has some drawbacks in it; however, an alternative approach (which will be more preferable if there are more support from aspect oriented tool) was suggested in the future work.
Year2008
Corresponding Series Added EntryAsian Institute of Technology. Thesis ; no. CS-08-10
TypeThesis
SchoolSchool of Engineering and Technology (SET)
DepartmentDepartment of Information and Communications Technologies (DICT)
Academic Program/FoSComputer Science (CS)
Chairperson(s)Janecek, Paul
Examination Committee(s)Dailey, Matthew;Guha, Sumanta
DegreeThesis (M.Sc.) - Asian Institute of Technology, 2008


Usage Metrics
View Detail0
Read PDF0
Download PDF0