Hello App: hello.html
Contents
../../html/doc/hello.html
<html>
<head>
<link rel="stylesheet" type="text/css" href="/maedoc.css" />
</head>
<body>
<p class="wiki-pagetitle" id="P1">hello</p>
<p class="wiki-navbar" id="P2"><span class="wiki-navbar-index"><a href="Site_Index.html">Index</a></span> <span class="wiki-navbar-home"><a href="MAE.html">Home</a></span> <span class="wiki-navpart"><a href="MAE.html">MAE</a></span> > <span class="wiki-navpart"><a href="MAE_Architecture.html">MAE Architecture</a></span> > <span class="wiki-navpart"><a href="MAE_Daemons.html">MAE Daemons</a></span> > <span class="wiki-navpart">hello</span></p>
<p id="P3"></p>
<H2 id="Hello_App"><span class="H2"><!-- Hello_App--><span id="Hello_App">Hello App (</span></span></H2>
<p id="P5">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 <a href="MAE_Example_App_-_Hello,_World.html">MAE Example App - Hello, World</a>.</p>
<H3 id="App_Parameters"><span class="H3"><!-- App_Parameters--><span id="App_Parameters">App Parameters</span></span></H3>
<p id="P7">None.</p>
<H3 id="Database_Tables"><span class="H3"><!-- Database_Tables--><span id="Database_Tables">Database Tables</span></span></H3>
<p id="P9">Hello uses these database tables:</p>
<table class="wiki-table">
<tr> <td class="wiki-th" id="11"><p id="P14">Table Name</p>
</td>
<td class="wiki-th" id="12"><p id="P15">Description</p>
</td></tr>
<tr> <td class="wiki-td" id="16"><p id="P18"><a href="MAE_Database_Architecture.html#TableUser">User</a></p>
</td>
<td class="wiki-td" id="17"><p id="P19">The database of MAE users where user names are stored.</p>
</td></tr>
</table><br clear="both"/>
<p id="P20"></p>
<H3 id="Messages_Received_and_Processedhello_"><span class="H3"><!-- Messages_Received_and_Processedhello_--><span id="Messages_Received_and_Processedhello_">Messages Received and Processed (hello)</span></span></H3>
<p id="P22">The following messages may be received on the <span class="bold">hello</span> channel.</p>
<H4 id="Specific_Messageshello_"><span class="H4"><!-- Specific_Messageshello_--><span id="Specific_Messageshello_">Specific Messages (hello)</span></span></H4>
<table class="wiki-table">
<tr> <td class="wiki-th" id="25"><p id="P28">MsgTag</p>
</td>
<td class="wiki-th" id="26"><p id="P29">Description</p>
</td></tr>
<tr> <td class="wiki-td" id="30"><p id="P32">userstart</p>
</td>
<td class="wiki-td" id="31"><p id="P33">////////////// Declare the app menus</p>
<p id="P34">We tell guibroker what our menus are. Before the user reaches us, guibroker</p>
<p id="P35">renders hello.html and populates the page with these menu options.</p>
<p id="P36">As the user clicks on a menu option, we receive the message (#msg) associated</p>
<p id="P37">with that menu option. When we receive that message, MAE calls the method we</p>
<p id="P38">are here associating with the menu. It's menu registration & callback.</p>
<p id="P39">Here's the menu option Display->From DB, which queries the DB to determine the user's name, then says hello</p>
</td></tr>
</table><br clear="both"/>
<H4 id="User_Response_Messageshello_"><span class="H4"><!-- User_Response_Messageshello_--><span id="User_Response_Messageshello_">User Response Messages (hello)</span></span></H4>
<table class="wiki-table">
<tr> <td class="wiki-th" id="42"><p id="P45">MsgTag</p>
</td>
<td class="wiki-th" id="43"><p id="P46">Description</p>
</td></tr>
<tr> <td class="wiki-td" id="47"><p id="P49">name</p>
</td>
<td class="wiki-td" id="48"> </td></tr>
</table><br clear="both"/>
<H4 id="Menu_Messageshello_"><span class="H4"><!-- Menu_Messageshello_--><span id="Menu_Messageshello_">Menu Messages (hello)</span></span></H4>
<table class="wiki-table">
<tr> <td class="wiki-th" id="52"><p id="P56">Menu</p>
</td>
<td class="wiki-th" id="53"><p id="P57">MsgTag</p>
</td>
<td class="wiki-th" id="54"><p id="P58">Description</p>
</td></tr>
<tr> <td class="wiki-td" id="59"><p id="P62">Display -> From DB</p>
</td>
<td class="wiki-td" id="60"><p id="P63">fromdb</p>
</td>
<td class="wiki-td" id="61"> </td></tr>
<tr> <td class="wiki-td" id="64"><p id="P67">Display -> Clear</p>
</td>
<td class="wiki-td" id="65"><p id="P68">clrdisp</p>
</td>
<td class="wiki-td" id="66"> </td></tr>
<tr> <td class="wiki-td" id="69"><p id="P72">Display -> Help</p>
</td>
<td class="wiki-td" id="70"><p id="P73">help</p>
</td>
<td class="wiki-td" id="71"> </td></tr>
<tr> <td class="wiki-td" id="74"><p id="P77">Display -> Quit</p>
</td>
<td class="wiki-td" id="75"><p id="P78">quit</p>
</td>
<td class="wiki-td" id="76"> </td></tr>
</table><br clear="both"/>
<H3 id="Messages_Received_and_Processedhello_"><span class="H3"><!-- Messages_Received_and_Processedhello_--><span id="Messages_Received_and_Processedhello_">Messages Received and Processed (hello)</span></span></H3>
<p id="P80">The following messages may be received on the <span class="bold">hello</span> channel.</p>
<H4 id="Specific_Messageshello_"><span class="H4"><!-- Specific_Messageshello_--><span id="Specific_Messageshello_">Specific Messages (hello)</span></span></H4>
<table class="wiki-table">
<tr> <td class="wiki-th" id="83"><p id="P86">MsgTag</p>
</td>
<td class="wiki-th" id="84"><p id="P87">Description</p>
</td></tr>
<tr> <td class="wiki-td" id="88"><p id="P90">userstart</p>
</td>
<td class="wiki-td" id="89"><p id="P91">#### Declare the app menus</p>
</td></tr>
</table><br clear="both"/>
<H4 id="User_Response_Messageshello_"><span class="H4"><!-- User_Response_Messageshello_--><span id="User_Response_Messageshello_">User Response Messages (hello)</span></span></H4>
<table class="wiki-table">
<tr> <td class="wiki-th" id="94"><p id="P97">MsgTag</p>
</td>
<td class="wiki-th" id="95"><p id="P98">Description</p>
</td></tr>
<tr> <td class="wiki-td" id="99"><p id="P101">name</p>
</td>
<td class="wiki-td" id="100"> </td></tr>
</table><br clear="both"/>
<H4 id="Menu_Messageshello_"><span class="H4"><!-- Menu_Messageshello_--><span id="Menu_Messageshello_">Menu Messages (hello)</span></span></H4>
<table class="wiki-table">
<tr> <td class="wiki-th" id="104"><p id="P108">Menu</p>
</td>
<td class="wiki-th" id="105"><p id="P109">MsgTag</p>
</td>
<td class="wiki-th" id="106"><p id="P110">Description</p>
</td></tr>
<tr> <td class="wiki-td" id="111"><p id="P114">Display -> From DB</p>
</td>
<td class="wiki-td" id="112"><p id="P115">fromdb</p>
</td>
<td class="wiki-td" id="113"> </td></tr>
<tr> <td class="wiki-td" id="116"><p id="P119">Display -> Clear</p>
</td>
<td class="wiki-td" id="117"><p id="P120">clrdisp</p>
</td>
<td class="wiki-td" id="118"> </td></tr>
<tr> <td class="wiki-td" id="121"><p id="P124">Display -> Help</p>
</td>
<td class="wiki-td" id="122"><p id="P125">help</p>
</td>
<td class="wiki-td" id="123"> </td></tr>
<tr> <td class="wiki-td" id="126"><p id="P129">Display -> Quit</p>
</td>
<td class="wiki-td" id="127"><p id="P130">quit</p>
</td>
<td class="wiki-td" id="128"> </td></tr>
</table><br clear="both"/>
</body>
</html>