hello

Index Home MAE > MAE Architecture > MAE Daemons > hello

Hello App (

This is a simple, sample MAE UI app (full vesions written in C++ and Python), useful for studying by software developers who are new to software development in MAE. See MAE Example App - Hello, World.

App Parameters

None.

Database Tables

Hello uses these database tables:

Table Name

Description

User

The database of MAE users where user names are stored.


Messages Received and Processed (hello)

The following messages may be received on the hello channel.

Specific Messages (hello)

MsgTag

Description

userstart

////////////// Declare the app menus

We tell guibroker what our menus are. Before the user reaches us, guibroker

renders hello.html and populates the page with these menu options.

As the user clicks on a menu option, we receive the message (#msg) associated

with that menu option. When we receive that message, MAE calls the method we

are here associating with the menu.  It's menu registration & callback.

Here's the menu option Display->From DB, which queries the DB to determine the user's name, then says hello


User Response Messages (hello)

MsgTag

Description

name


Menu

MsgTag

Description

Display -> From DB

fromdb

Display -> Clear

clrdisp

Display -> Help

help

Display -> Quit

quit


Messages Received and Processed (hello)

The following messages may be received on the hello channel.

Specific Messages (hello)

MsgTag

Description

userstart

#### Declare the app menus


User Response Messages (hello)

MsgTag

Description

name


Menu

MsgTag

Description

Display -> From DB

fromdb

Display -> Clear

clrdisp

Display -> Help

help

Display -> Quit

quit