Websydian v6.1 online documentationOnline documentation - WebsydianExpress v3.0

WebsydianExpress Background

Overview

WebsydianExpress provides a web-infrastructure for developing and deploying web-based business applications. This document gives a background overview of the WebsydianExpress architecture and how it is used.

When developing web applications the developer must focus on a lot of technologies related to web development in addition to the flow and logic of the application. These technologies relates to session handling, user management, input validation, security, etc.

While these things are important aspects of a web application it is not something that brings value to the application (though if not present it will certainly have a negative impact on the application).

As WebsydianExpress has built-in support for these web technologies the web developer can focus on the business logic of the application.

Business Process

The business process is the basic element used in WebsydianExpress.

A business process is a self-contained modular component that performs a specific task.

Some examples could be:

A business process can consist of a single page or it can span multiple pages.

A web application is then designed as the combination of multiple business process that each solve a specific task within the application.

This modular design makes the web application more flexible and robust to design changes as it is possible to update the business processes that are subject to change without affecting the other business processes that are part of the web application.

WebsydianExpress

WebsydianExpress is a platform for deploying business processes developed with Websydian.

WebsydianExpress also includes a web administration tool that is used to deploy and manage business processes as well as configuring users and their access to the business processes.

Furthermore the administration tool is used to configure the layout and structure of the web application. That is how the web application is divided into frames (sub-pages) and the layout of the menu.

Examples of the tasks an administrator is capable of doing using the interface:

WebsydianExpress Developer

WebsydianExpress Developer is a framework for developing business processes for WebsydianExpress. This is done in almost the same way as when developing a standard web application with Websydian. However, there are some differences because with WebsydianExpress the web application is divided into self-contained independent business processes, whereas the standard way of developing a Websydian application can be seen as developing one big business process.

The figure below shows the Websydian Circle in a WebsydianExpress environment.

The Websydian Circle for a WebsydianExpress business process

The differences between standard Websydian development and WebsydianExpress development are summarized below.

EventHandler/PageGenerator
EventHandler and PageGenerator functions have the same role as in a standard Websydian application. Within WebsydianExpress they are used to design the events (buttons) and pages of a business process.
The EventHandler and PageGenerator functions must be self-contained, meaning that they must only call other EventHandler/PageGenerator functions within the business process.
ProcessEntryPoint
This is the entry point into a business process. This function will be called by the WebsydianExpress runtime. In most cases the ProcessEntryPoint function will only contain a call to the first page (PageGenerator function) within the business process. In this way the ProcessEntryPoint function can be seen as the "CallFirstPageGenerator" function for business processes.
EventDispatcher
As opposed to a standard Websydian application it is not necessary to develop an EventDispatcher function when using WebsydianExpress. The EventDispatcher is shipped as a binary object with WebsydianExpress Runtime and the tasks handled by the EventDispatcher (session creation, security, call first page, call EventHandler) is now built-in the WebsydianExpress and configured with the web administration tool.
ProcessEntryEventHandler
This function finds the appropriate ProcessEntryPoint function based on the input in the web event. Instances of this function are distributed with the WebsydianExpress runtime and in most cases a developer does not need to create new versions of this function.