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...
Saved in:
Main Author: | |
---|---|
Format: | Thesis |
Language: | English English |
Published: |
2006
|
Subjects: | |
Online Access: | http://psasir.upm.edu.my/id/eprint/8713/1/FSKTM_2006_3%20IR.pdf http://psasir.upm.edu.my/id/eprint/8713/ |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Institution: | Universiti Putra Malaysia |
Language: | English English |
id |
my.upm.eprints.8713 |
---|---|
record_format |
eprints |
spelling |
my.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 |
institution |
Universiti Putra Malaysia |
building |
UPM Library |
collection |
Institutional Repository |
continent |
Asia |
country |
Malaysia |
content_provider |
Universiti Putra Malaysia |
content_source |
UPM Institutional Repository |
url_provider |
http://psasir.upm.edu.my/ |
language |
English English |
topic |
User interfaces (Computer systems) Computer graphics - Combinatory logic |
spellingShingle |
User interfaces (Computer systems) Computer graphics - Combinatory logic Kasmiran, Khairul Azhar Graphical user interface layout language using combinators |
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. |
format |
Thesis |
author |
Kasmiran, Khairul Azhar |
author_facet |
Kasmiran, Khairul Azhar |
author_sort |
Kasmiran, Khairul Azhar |
title |
Graphical user interface layout language using combinators |
title_short |
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_sort |
graphical user interface layout language using combinators |
publishDate |
2006 |
url |
http://psasir.upm.edu.my/id/eprint/8713/1/FSKTM_2006_3%20IR.pdf http://psasir.upm.edu.my/id/eprint/8713/ |
_version_ |
1787137187391733760 |