On average the aggregation ratio for each instance of these view models is 1000:1 and I wanted to show all possible combinations which results in touching about 100.000 objects so I assumed a view would be much faster. I have to benchmark my assumptions one day though.
On Tue, Nov 12, 2013 at 10:34 AM, David Tildesley <[email protected]>wrote: > Hi Jeroen, > > Out of curiosity, what was the driver for using a database view instead of > calling the behaviour on the domain layer to get the information for the > view model? Performance? > > David. > > > > On Tuesday, 12 November 2013 1:09 AM, Jeroen van der Wal < > [email protected]> wrote: > > To answer questions 1 and 2: the Estatio codebase has two examples of a > viewmodel using a database view [1]. Haven't worked with Jasper Reports > myself, perhaps others have? > > [1] > > https://github.com/estatio/estatio/tree/master/dom/src/main/java/org/estatio/dom/invoice/viewmodel > > > > On Sun, Nov 10, 2013 at 11:47 PM, james agada <[email protected]> > wrote: > > > I want to use view models. The documentation is a bit scanty and the todo > > view model and how it is used is difficult for me to comprehend. > > 1. Can I define views at database level and map it to a view model? If > so, > > a small example will do. > > 2. Is there a better documented example of using view models for instance > > for reports. > > 3. Is there a way to integrate something like jasper report to isis? > > >
