Session on Scimpi

exploring

One of the alternate viewers I discuss in the last chapter of the book is Scimpi. This is a web framework designed by Robert Matthews (project architect for Naked Objects itself), and which is implemented as a viewer for Naked Objects.

Like the original HTML viewer, Scimpi is still an OOUI: each of its pages correspond to a domain object. However, unlike the HTML viewer Scimpi is designed from the outset to be customisable. Whereas with the HTML viewer there’s no way to influence the page shown, Scimpi on the other hand searches for the best page to render the object by. Only if no page exists is a default view used. That means that different objects can be displayed in different ways.

Another difference is that the HTML viewer “owns” the entire page and always renders all the visible properties of the object. Scimpi in contrast uses (something akin to) taglibs, so the developer has much more control as to what is shown.

Putting the above two together, it also allows for Scimpi to provide composite views, such as an order / orderline.

I’m going to be giving a short 30 min talk on Scimpi at the Devoxx conference in November, so if you were planning on going then you might want to take a look.

Posted on September 4, 2009, in apache isis. Bookmark the permalink. Leave a Comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 126 other followers