Smart Code
X-Designer can generate toolkit independent code which it calls Smart Code.
Smart Code can be used in a single generated application or as a means of
communicating between a client and a server. When used for client server
applications, X-Designer generates a thin client using Java, Motif (C or C++) or
Microsoft Windows MFC code and a separate server application. X-Designer
generates code which uses HTTP as the transport protocol. The generated
application can be used within your organizations Intranet or it can connect to
any location on the Internet.
To create a client server or "Web-aware" application from your design,
X-Designer uses Groups as the basic data structure for communication and Smart
Code as the means to access the Group. Groups also provide extra usefulness
within your design.
By default, traditional Motif, MFC or Java callbacks are generated. Ask for Smart
Code by selecting the "Smart Code" toggle in the Callbacks dialog.
Smart Code gives your callback toolkit-independence, not language
independence. You still choose the language you wish to generate. Smart Code is
simply a layer of code which "wraps up" the widgets in a Group using the specified
language.
See also: