Algorithm for building category and LDAP membership
I need to build a book mall in which book publisher can create main category, sub-category and sub-sub-categories.... and put the product details under it. Thus, there are many small book shops under this book mall.
Also, I need to create a membership system for each user, he can see his own a/c info.
So far as the admin of the mall, he can control and monitor the individual book shop, monitor their transaction and manage the users.
I have heard that LDAP server which is similar to Active directory in Windows. Does it has windows version and do I need to use it or just to use the database?
If I can just use the database, how can I do it?
There are 3 levels: admin > publisher > user.
Also, how can I do the category for publisher?
Thanks for any advice.