Under Development

Copyright © 2011-2013, IGEL Co., Ltd.

Display “Hello World!” with Bender


Application to be created by this tutorial : Display “Hello World”

To show string, “Hello world!”, actual code is as follows:

Since it is rendered as HTML, namespace should be specified as “html:” for HTML elements. Both “component” and “view” elements (namespace not specified) are Bender specific elements. In addition to HTML, such as SVG can be used for rendering Bender component. In those cases, please do not forget to specify appropreate namespace with XMLNS.

Write above code, and save it as “hello-world.xml”.

In Basics section of this tutorial, the “runtime.html” is used for running sample Bender application. The “runtime.html” is the basic Bender runtime which Bender provides.

http://[server_address]/bender/runtime.html?href=[work_directory]/hello-world.xml

Run above url with your Browser.

Set your Bender application to href with relative path from runtime.html.

NOTE

Basically, paths described in this Tutorial is relative path from the Bender root.

Also, Bender application in this Tutorial can be located in arbitrary directory.

In the next step, we will use a component and react to user input.