In certain situations you can’t (or don’t want to) develop a website with your typical CMS like WordPress or Drupal. One of those reasons may be extremly performant systems as well as a more robust MVC framework.
In those cases one would basically write a custom system for this specific reason.
To learn more about that you can check out my Video Tutorial Series on the official CakePHP Youtube channel:
Part 3 DB Schema for Categories Table: DOWNLOAD
Part 8 DB Schema for Categories belongsToMany BlogPosts Table: DOWNLOAD