We have the overview of the backbase databinding in previous post, now we will go the further detail on it.

It provides the data widgets like listGrid/treeGrid to display the underlying data in tabular form.

The Table/ListGrid that user faces is called Data Observer, which gives you the ability to define how bound data (bound with the dataSource) is displayed in the application. Essentially, the dataObserver is a way to customize the presentation of data from a dataSource.

The listGrid and treeGrid BTL elements are both standard dataObserver.
A dataSchema is in the middle of DataObserver and DataSource, which defines how the dataSource is mapped to the output. It allows you to easily update your queries in the case that the underlying field structure changes.

The DataFormatter can be used to do customization for displaying different formatting on the data in order for user to see different view of the original data, such as add a ‘$’ sign in front of a digit to represent the data in a form of American Dollar.

A listGrid widget is a powerful mechanism for displaying data, and at the most of the time we will use this widget to represent the underlying xml data. Consisting of a listGrid container widget and child listGridCol elements, the listGrid displays rows of data from a local or remote source. The data source can contain either static data or dynamically generated data, and both sorting and editing functionality is built into the widget. Furthermore, you can choose which columns to display, column resizing, column styling. For navigation, you can either connect a BTL pager widget to the listGrid or create your own paging/navigation mechanism.

Following is a code snippet which shows how to create a listGrid to display structured data:

<b:dataSource xmlns:b=" " xmlns:e=" " name="data” e:behavior="b:localData">
<b:dataContainer>
<records>
<record>
<name>Frank</name>
<surname>Remote</surname>
<email>frank.showcase@mail.company.com</email>
</record>
<record>
<name>Anne</name>
<surname>RemoteShowmodel</surname>
<email>anne.showmodel@mail.company.com</email>
</record>
</records>
</b:dataContainer>
</b:dataSource>
<b:listGrid dataSource="data" readonly="true">
<b:listGridCol label="Email" select="*[3]“/>
<b:listGridCol label=”Name” select=”name”/>
<b:listGridCol label=”Surname” select=”surname”/>
</b:listGrid>

Following picture is the view of the code:

As seen from above, a listGrid element represents a table to show the data, under which each column is specified by a listGridCol element. There is a ‘dataSource’ attribute of listGrid to have a reference to a dataSource. And there is a ‘e:behavior’ attribute of dataSource to specify it’s local data or remote data.

Click to read more »

Targets of the evaluation :
Studying of the basic display of Backbase library:

  • Widgets : Tab page,Menu,table/grid ,input field
  • Validation, error message displaying
  • filtering
  • sorting
  • paging navigation
  • Events system
  • Behaviors system

Result of the evaluation:
1.It employs an MVC paradigm in client browser, mainly use the tag definition language TDL to control the page in XHTML standard. Each component inside the whole page will be considered as a Widget. It uses the different namespaces to separate the backbase Tag with standard HTML tag, so they can co-exits well with each other.

Click to read more »

Backbase is a very powerful Rich Internet Application javascript library. I’ve conducted some research on the databinding capabilities and I want to share it with those who are doing RIA development.

Databinding Overview

Backbase provides some rich widgets that can be placed in a web page, and they will be

interpreted by a javascript library called ‘Client Runtime’ and rendered into HTML and display

in browser.

Some of the widgets need to consume some external data like ListGrid which will display some

XML or JSON data in browser, the data source of which can be local or remote.

Data binding refers to the process of representing data as an object. This allows our application

to access the data in the XML from the object which is considered as the data source.

We can have a look at a diagram which is from the official documentation of Backbase.

Click to read more »

May the dawning of this New Year
Open up for you new horizons
Fill your heart with new hopes
Bring for you promises of brighter tomorrows!
May you achieve what you aspire and may all your dreams come true!
Wishing everyone happiness and prosperity in the New Year!

Google has recently announced that their newly launched 3d world Lively will be shut down at the end of this year. It’s a very interactive virtual world in which you can customize the rooms and avatars.

Lively is launched in July 2008, which is said to be a “20 percent” monicker of Google. The idea behind the product is that website owners could customize a virtual room and embed it on their site, and visitors can interact with the web site owner through that little online room.
Users could create customizable avatars with many interactive actions, and chat with each other, and you can also interact through animated actions. Sounds really interesting.

Despite of the rich user experience provided, the application suffered from known bugs and animation failures, which is immature compared to other 3D virtual world engine like Second Life.

From a RIA developer’s point of view, I hope Google can open source the platform and form a really impressive community that everyone can contribute and share in a much more polished way just like Second Life did.

On Oct 09 2008, microsoft launched a brand new robotics challenge in the official web site robochamps.

It’s sponsored by KIA Motors, which is a great company producing cars.

Participants can have the opportunity to choose from 1 of 5 robot cars based on real KIA models in the virtual environment. Anyone who participates in the challenge is required to program those cars to navigate a course through a large city. And there are some devices being equipped with the cars,such as cameras, laser ranger finder, contact sensors and a GPS unit.

The prizes of this challenge is really attractive. The first place winner will bring home a real car produced by KIA which has the approximate retail value of US$15,000. The detail information for this challenge can be fount at this link.