Yii2-random-provider demo

At first it may seem a little silly to present data in an unorderly fashion, yet this is exactly what the RandomProvider for the the Yii 2.0 PHP framework does. The motivation is that in some cases a random presentation of data may be more attractive and to the point. Think of the way YouTube presents its suggestions: everytime you visit the page, you are confronted with a slightly different selection.

RandomProvider is derived from ActiveDataProvider. As shown here, it works especially well together with my LoadMorePager.

Here, RandomProvider is used with a GridView, but it can also be used with a ListView.

Remarkable women

Showing 1-8 of 59 items
#Last NameFirst NameBornDied
1VardaAgn├Ęs1928/05/302019/03/29
2SlickGrace1939/10/30
3BauschPina1940/07/272009/06/30
4Saint PhalleNiki de1930/10/292002/05/21
5CassidyEva1963/02/021996/11/02
6LollobrigidaGina1927/07/04
7TaylorElizabeth1932/02/272011/03/23
8ThunbergGreta2003/01/03
Load more