1. A method comprising, by a server computing machine: receiving, at a server from a client, a first request for a dialog and one or more particular parameters associated with the first request; invoking, by the server, a method of a class in a server-side library comprising server-side code, wherein the method corresponds to a dialog type of the requested dialog; generating, by the server and based on the invoked method, a first dialog code configured to implement one or more functionalities supported by the requested dialog; sending, by the server to the client, the first dialog code for execution, wherein the execution of the first dialog code causes the dialog to be displayed; receiving, at the server, a second request made with respect to the displayed dialog, wherein the second request is sent from the client in response to a specific user interaction with a component of the displayed dialog, and wherein the second request is a modified version of the first request that comprises the one or more particular parameters and one or more additional parameters corresponding to the specific user interaction; and sending, by the server to the client, a second dialog code for a subsequent dialog, wherein the second dialog code is based on the one or more additional parameters.
1. A method comprising, by a server computing machine: receiving, at a server from a client, a first request for a dialog and one or more particular parameters associated with the first request; invoking, by the server, a method of a class in a server-side library comprising server-side code, wherein the method corresponds to a dialog type of the requested dialog; generating, by the server and based on the invoked method, a first dialog code configured to implement one or more functionalities supported by the requested dialog; sending, by the server to the client, the first dialog code for execution, wherein the execution of the first dialog code causes the dialog to be displayed; receiving, at the server, a second request made with respect to the displayed dialog, wherein the second request is sent from the client in response to a specific user interaction with a component of the displayed dialog, and wherein the second request is a modified version of the first request that comprises the one or more particular parameters and one or more additional parameters corresponding to the specific user interaction; and sending, by the server to the client, a second dialog code for a subsequent dialog, wherein the second dialog code is based on the one or more additional parameters. 5. The method of claim 1 , wherein the first dialog code is written in a language that is capable of being processed by an application on the client.