Menu

Home

Arne Halvorsen

Developing with general presentation layers

General Presentation Layers (GPLS) is a project exploring developing applications using general presentation layers (views layer and view models layer) driven by a problem domain defined state machine.

Main goals are:

  • Increase code reuse.
  • Reduce the need for ‘plumbing code’ in application development.

The core nature of application development with GPLS is: Modelling the presentation of the application’s state by coding state transition that works on general data view model objects. The state transitions are grouped in use cases. The use cases together with an initial state defines a state machine that is injected into a general application framework realizing the application for the end user.

The GPLS framework implement the two top layers of an application:

  • Presentation layer: Reusable views for the general view models found in the next layer. Is capable to present an application in a default way.
  • View model layer:
    • Has general view models the application developer uses to represent application's state.
    • A state machine framework that performs state transitions as defined by the application in respons to end user's actions.

A first Java GPLS (J/GPLS) implementation is done here doing the presentation layer is done with Swing / JFC. In order to excersise and demonstrate J/GPLS programming a task manager application has been defined ([TaskManager]) and a prototype of it is implemented using J/GPLS in this tutorial: [J-GPSLTutorial]

Project Members:


Related

Wiki: J-GPSLTutorial
Wiki: TaskManager

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.