The example demonstrates the design of a chat application in five steps
- Declaring a Server
- Declaring a Client
- Declaring a message event on the Client and firing the event for every user input
- Declaring a publicMessage event on the Server aggregating all events from the clients
- Declaring a client-side observer for the server-side publicMessage event