I'm moving forward with SmartGWT Power 3.0 and have begun to develop some applications with it. As this is such a big product, with many alternatives for working with a database via different types of DataSources, I'm looking for some guidance, or "best practice" advice...
I ultimately want to use a single ListGrid (or possibly a Datacube) where each ListGrid row will contain values from several database tables, but not necessarily in a traditional one-to-one join. Furthermore, some of the values in the row will be computationally derived on the fly from other values, and the table will be editable, such that if the user changes a value in one cell, other cell values will change. In other words, it's a situation far more complicated than a simple ListGrid representation of a single database table where each of the table columns is mapped to a single column in the ListGrid.
I want to use Hibernate Envers for persistence and versioning.
Given all of the above, I have three questions:
1. Is there a particular example in the demos that I should study?
2. Is there a particular type of DataSource that I should be focused on?
3. I know that the ListGrid ultimately needs to use a single DataSource as its "backing store" (ListGrid.setDataSource). Should I pursue a strategy where that DataSource is derived on the fly from the data held in other DataSources, where the latter DataSources are the ones that interact with the database?
I ultimately want to use a single ListGrid (or possibly a Datacube) where each ListGrid row will contain values from several database tables, but not necessarily in a traditional one-to-one join. Furthermore, some of the values in the row will be computationally derived on the fly from other values, and the table will be editable, such that if the user changes a value in one cell, other cell values will change. In other words, it's a situation far more complicated than a simple ListGrid representation of a single database table where each of the table columns is mapped to a single column in the ListGrid.
I want to use Hibernate Envers for persistence and versioning.
Given all of the above, I have three questions:
1. Is there a particular example in the demos that I should study?
2. Is there a particular type of DataSource that I should be focused on?
3. I know that the ListGrid ultimately needs to use a single DataSource as its "backing store" (ListGrid.setDataSource). Should I pursue a strategy where that DataSource is derived on the fly from the data held in other DataSources, where the latter DataSources are the ones that interact with the database?
Comment