Hello World

1.Hello World

    Dynamic model is an object-oriented programming method based on structured data, in which data can be represented using XML and JSON etc.

    The following XML is a model program, each node of this XML is an object, and the XML data itself is generally called a model. You can click here to run the model, which will open a window with a browser showing the XWorker home page.

<?xml version="1.0" encoding="utf-8"?>

<Shell name="shell" text="Hello World!" descriptors="xworker.swt.widgets.Shell"
  width="800" height="600">
    <FillLayout name="FillLayout"></FillLayout>
    <Browser name="Browser" url="https://www.xworker.org"></Browser>
</Shell>

2. Create, edit and run the Hello World example

    You can refer to the documentation to build a development environment for dynamic models. The 33-second video below demonstrates how to create, edit, and run the Hello World example.

Copyright ©  2007-2019 XWorker.org  版权所有  沪ICP备08000575号