isis-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Tildesley <davo...@yahoo.co.nz>
Subject Re: Views and view models
Date Tue, 12 Nov 2013 09:34:27 GMT
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