O'Reilly logo

PHP 5 CMS Framework Development by Martin Brampton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Framework solution

Following the principles discussed, the implementation of user management within the Aliro system is kept relatively simple. It goes beyond the barest minimum by including information that is helpful with issues like controlling malicious users, but we should recognize that far more information would be held in some systems.

The user database table

There is at least one identified user in our CMS, but we may have many, so the obvious thing to do is create a table in the general database to hold information about administrators, and any other registered users. The basic fields chosen for Aliro are as shown in the following screenshot:

A brief description of each field is as follows:

  • id: Is useful to have a simple ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required