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 64 items
#Last NameFirst NameBornDied
1KarinaAnna1940/09/222019/12/14
2RiggDiana1938/07/202020/09/10
3LennoxAnnie1964/12/25
4TaylorElizabeth1932/02/272011/03/23
5ElliotCass1941/09/191974/07/29
6OnoYoko1933/02/18
7CassidyEva1963/02/021996/11/02
8BushKate1958/07/30
Load more