Yet Another Web GUI Framework Göran Båge, Johan Blom

Download Report

Transcript Yet Another Web GUI Framework Göran Båge, Johan Blom

Yet Another Web GUI Framework
Göran Båge, Johan Blom
Mobile Arts

Provides Messaging & Presence products to
Mobile Network Operators

Offices in Stockholm and London

References in Europe

Founded 2001 by a team of mobile telecom experts with
extensive experience from development and standardisation of
GSM/UMTS/PDC/PCS platforms and applications, such as



HLR, MSC/VLR, SSF, SCF, WAP-GW, MLC
PrePaid Systems, Unified Messaging Systems
www.mobilearts.se
2
Background

GUI for an Alteon/Nortel Product




Beautiful & powerful
Never released?
Client required Erlang and GTK
CLI and GUI for Mobile Arts products

Web based GUI
3
Some observations

Using a graphics environment, e.g GTK, Java
+ Powerful
+ Detailed layout
- Client box need special software

Web based GUI
+ Everyone has a browser
+ No need to install special client software
- Only polling
- Browser differences
- Limited layout control
4
Mobile Arts GUI, first implementation

Started out pure and simple




but reality rules



Frames
Javascript
Messy result


Standard HTML only
No frames
CSS
Browser dependencies (support Netscape 4, 7 and IE) in
Javascript and CSS
Many pages with similar functionality and layout
5
Template based GUI

XML like template notation

Separate different views



Static structure and layout
Dynamic content - interface to application

button actions

table content and options

parameter checks

...
Help texts
6
How it works
URL: …/xxx:entry
xmerl
xxx.gul
jnets
parse tree
code_lib.erl
gui_lib.erl
HTML
code_gen
gui_lib.js
xxx_gui.erl
7