XBrowser(Codename BlueShark) is a hybrid client for internet surfing, data visualization, business intelligence and online gaming etc. internet applications.
Here is a quick start for building an online application in 5 minutes.
- Download install file and install XBrowser in your computer then start the application you just installed.
- Type in www.wikipedia.org then enter, you will see the Wikipedia website.
- Create a test.xmlv and type in following text:
<xmlv>
<json/>
<script>
canvas.text('Hello BlueShark',100,100)
</script>
</xmlv>
save it(Ctrl+S/Cmd+S on mac). Then open the XBrowser and use the shortcut(Ctrl+L/Cmd+L on mac) to initiate file chooser and then choose the test.xmlv file you just created.
- Expand json to:
<xmlv>
<json>
[{"type":"button","id":"button001","x":10,"y":10,"text":"A normal button"}]
</json>
<script/>
</xmlv>
- Expand both json and script tags:
<xmlv>
<json>
[{"type":"button","id":"button001","x":10,"y":10,"text":"A normal button"}]
</json>
<script>
timer = app.timer
timer.action = { now ->
button001.x += 1
}
timer.start()
</script>
</xmlv>
Save and reopen the file, the animation is out there.