Adjaceny or Nested sets model or something else?
I am interested in CMS like Joomla or WordPress and how they deal with menus, categories and other hierarchical datas that are stored in db.
Thanks in advance.
Adjaceny or Nested sets model or something else?
I am interested in CMS like Joomla or WordPress and how they deal with menus, categories and other hierarchical datas that are stored in db.
Thanks in advance.
You must be logged in to post a comment.
Joomla is using nested sets for multiple things, including menu items and categories.
WordPress seems to use a rather unusal system, storing its menu items along with other things in its “terms” table. I can only find a “parent” field there, so I’m assuming it’s just simply storing the id of the parent item to model hierarchical menus. I haven’t worked with WordPress though.
I am working with wordpress. I find model hierarchical menus in wordpress. It store the menu in db in hierarchical way. You can also find the parent menu by the wordpress function. In wordpress i can find one issues of bredcumb. If that will solved later, than wordpress menu is better than joomla.