Once our site has a few members, we need to be able to view and search for members, so that we can connect and communicate with them. Let's look at creating a member list and basic member search.
We will do this by creating a model and a controller for members. The model should be a class
Members, and saved as
members.php in the
models folder, and the controller should be a class
Memberscontroller saved as
controller.php in the
User lists have a limitation with large social networks—they end up being large lists of users that are irrelevant to the user viewing the list. This can be overcome by listing a subset of users; for instance, those in a particular group, contact sphere, or network. For example, ...