isis-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeroen van der Wal <jer...@stromboli.it>
Subject Re: Views and view models
Date Tue, 12 Nov 2013 10:17:13 GMT
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 <davotnz@yahoo.co.nz>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 <
> jeroen@stromboli.it> 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 <okwuiagada@gmail.com>
> 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?
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message