What's the difference between result providers and content views?

I'm hearing things about result providers and page providers being obsolete in Nuxeo 5.4.2, and content views being the new way to do things. What's the difference between them? What do they do exactly?

1 votes

1 answers

1499 views

ANSWER



Result providers were only in charge of computing the pages results, whereas content views also handle rendering of these results, making it possible to control listing layouts and actions available on the listing view.

Also, result providers were difficult to customize, default paged providers only handled document instances and played with different concepts that are now gathered inside a single content view definition.

The blog entry at http://blogs.nuxeo.com/dev/2010/07/content-views.html gives more details about what used to be done, and how content views make it easier. The content view documentation is available here.

2 votes