vanilophp / category

Category Module for Vanilo (or any Laravel app) https://vanilo.io
MIT License
7 stars 4 forks source link

Could Laravel Nested Set package be used with taxons? #7

Open mnishihan opened 3 weeks ago

mnishihan commented 3 weeks ago

I believe if Taxon model utilised NodeTrait trait from Laravel Nested Set package to implement Nested Set Model algorithm (formerly known as Modified Preorder Tree Traversal aka MPTT), querying and manipulating taxons with indefinite levels would be more easier & performant. Along with that, all the goodies & utility methods from the trait would be accessible, reducing maintenance of the functionality related to hierarchical taxonomies.

So, what's your thoughts on this?

fulopattila122 commented 2 weeks ago

querying and manipulating taxons with indefinite levels would be more easier & performant

Can you please provide some examples of how using that library would make it easier & more performant? What features are you exactly looking for?