Graphical user interface layout language using combinators

While Java is a popular general-purpose programming language, there are certain areas where the syntax of Java is lacking for the task at hand. One of them is in the area of layout handling, i.e., the task of placing controls in a Graphical User Interface (GUI) with regard to their relative posit...

সম্পূর্ণ বিবরণ

গ্রন্থ-পঞ্জীর বিবরন
প্রধান লেখক: Kasmiran, Khairul Azhar
বিন্যাস: গবেষণাপত্র
ভাষা:English
English
প্রকাশিত: 2006
বিষয়গুলি:
অনলাইন ব্যবহার করুন:http://psasir.upm.edu.my/id/eprint/8713/1/FSKTM_2006_3%20IR.pdf
_version_ 1825944449147994112
author Kasmiran, Khairul Azhar
author_facet Kasmiran, Khairul Azhar
author_sort Kasmiran, Khairul Azhar
collection UPM
description While Java is a popular general-purpose programming language, there are certain areas where the syntax of Java is lacking for the task at hand. One of them is in the area of layout handling, i.e., the task of placing controls in a Graphical User Interface (GUI) with regard to their relative position and size. This is because the syntax of Java is targeted towards imperative programming, where code is written in the form of a list of instructions. A list of instructions does not adequately mirror the hierarchical structure of a layout. To overcome that weakness, this thesis describes and evaluates a new domainspecific programming language designed specifically for layout handling, named Swing GUI Layout Language (SGLL). One of the primary features of SGLL is the use of combinators, a concept used in functional languages. We propose that combinators are a more intuitive concept compared to the approach taken by Java, which involves adding controls to a layout m anager. Furthermore, we suggest that e li mination of clutter and better s upport for the abstractions in layout handling can provide an increase in programmer productivity and understandability of the source code. In this thesis, we focus on the GridLayout manager class, since it is rather easy to understand and provides a good starting point. To validate our approach, we evaluated Java and SGLL in both productivity and understandability. We found out that SGLL does provide a significant improvement in productivity and understandability for the task of layout handling.
first_indexed 2024-03-06T07:16:02Z
format Thesis
id upm.eprints-8713
institution Universiti Putra Malaysia
language English
English
last_indexed 2024-03-06T07:16:02Z
publishDate 2006
record_format dspace
spelling upm.eprints-87132023-12-28T02:25:29Z http://psasir.upm.edu.my/id/eprint/8713/ Graphical user interface layout language using combinators Kasmiran, Khairul Azhar While Java is a popular general-purpose programming language, there are certain areas where the syntax of Java is lacking for the task at hand. One of them is in the area of layout handling, i.e., the task of placing controls in a Graphical User Interface (GUI) with regard to their relative position and size. This is because the syntax of Java is targeted towards imperative programming, where code is written in the form of a list of instructions. A list of instructions does not adequately mirror the hierarchical structure of a layout. To overcome that weakness, this thesis describes and evaluates a new domainspecific programming language designed specifically for layout handling, named Swing GUI Layout Language (SGLL). One of the primary features of SGLL is the use of combinators, a concept used in functional languages. We propose that combinators are a more intuitive concept compared to the approach taken by Java, which involves adding controls to a layout m anager. Furthermore, we suggest that e li mination of clutter and better s upport for the abstractions in layout handling can provide an increase in programmer productivity and understandability of the source code. In this thesis, we focus on the GridLayout manager class, since it is rather easy to understand and provides a good starting point. To validate our approach, we evaluated Java and SGLL in both productivity and understandability. We found out that SGLL does provide a significant improvement in productivity and understandability for the task of layout handling. 2006-03 Thesis NonPeerReviewed text en http://psasir.upm.edu.my/id/eprint/8713/1/FSKTM_2006_3%20IR.pdf Kasmiran, Khairul Azhar (2006) Graphical user interface layout language using combinators. Masters thesis, Universiti Putra Malaysia. User interfaces (Computer systems) Computer graphics - Combinatory logic English
spellingShingle User interfaces (Computer systems)
Computer graphics - Combinatory logic
Kasmiran, Khairul Azhar
Graphical user interface layout language using combinators
title Graphical user interface layout language using combinators
title_full Graphical user interface layout language using combinators
title_fullStr Graphical user interface layout language using combinators
title_full_unstemmed Graphical user interface layout language using combinators
title_short Graphical user interface layout language using combinators
title_sort graphical user interface layout language using combinators
topic User interfaces (Computer systems)
Computer graphics - Combinatory logic
url http://psasir.upm.edu.my/id/eprint/8713/1/FSKTM_2006_3%20IR.pdf
work_keys_str_mv AT kasmirankhairulazhar graphicaluserinterfacelayoutlanguageusingcombinators