cornelio0202
09-08-2005, 09:23 PM
Developing a Link Directory compatible with potentially unlimited number of categories and subcategories
Suggestion #1:
In the New List of Mod request:
http://www.phplinkdirectory.com/forum/viewtopic.php?t=350
One of the more pressing requests is this:
Content visible to registered users only.
While a "Search" function is useful and may alleviate the situation in the Link Directory, presented here so far, it may not be the most optimal solution to a database with tens of thousands, hundreds of thousands, or even higher number of categories and subcategories.
Another simple link directory
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=1104&lngWId=8
may offer some more alternatives, or perhaps complementary solutions (to the suggested Search function) that may help whoever is going to do the coding -- to address a situation involving a potentially "unlimited" number of categories and subcategories in a Link Directory.
The general database structure of the aforementioned simple link directory is similar to that of the "Link Directory" created here.
However, it provided a very ingenious solution to the issue of a Link Directory database with potentially "unlimited" number of categories and subcategories. The trick is in the presentation of the Admin Control Panel as follows:
__________________________________________________ ______
Admin Control Panel
Index -> Control Panel
"Top Level" Category -> Category level 1 -> Sub-Category level (a) -> ... etc. -> Sub-Category level (n)
(delete) (edit) (move) (add subcategory) (add page)
"x" number of subcategories of "Sub-Category level (n)" found:
Sub-Category (i)
(delete) (edit) (move)
Sub-Category (ii)
(delete) (edit) (move)
.
.
.
etc.
__________________________________
where
"Sub-Category level (n)" is the subcategory level, prior to next subcategory level.
Thus, if "Sub-Category level (n)" is equivalent to a " 'Top Level' Category" in the example "Admin Control Panel" given above, the next "Sub-Category (i)" will include:
"Category level 1"
(delete) (edit) (move)
"Category level 2"
(delete) (edit) (move)
and, however many subcategories there are in a specific " 'Top Level' Category"
As important, all the terms in the Control Panel are clickable links, except the "last term" -- in the sample Admin Control Panel above, this will be equivalent to the "Sub-Category level (n)" of the route path of the category-subcategory structure.
The overall result is a very intuitive and efficient Admin Control Panel**.
From a perspective of an administrator, I would suggest further that even the "last term", i.e., the "Sub-Category level (n)" of the route path of the category-subcategory structure, must be a "clickable linked term". This modification will allow an "instant refresh" of the control panel at the "Sub-Category level (n)" following execution of any of these administrative functions:
(delete) (edit) (move) (add subcategory) (add page)
cornelio0202
________
*The scripts in any of the above links may not be used for copyright reasons. However, in the hands of a programmer, it should not be difficult to create similar scripts that will be compatible with the Link Directory being developed here -- to develop the Admin Control Panel outlined above.
**Note also that the presented link directory to visitors in:
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=1104&lngWId=8
is essentially the same as the Admin Control Panel, except it ends with "Sub-Category level (n)" and then the "Links" are listed underneath the "Sub-Category level (n)". Moreover, the administrative functions:
(delete) (edit) (move) (add subcategory) (add page)
were not included in the "Visitor Page" of the Link Directory. Instead, for the "Visitor Page" a Search box and a "Suggest a link" were added.
In this regard, another link directory
http://www.cplinks.com/index.html
go even further to encourage visitors to "suggest a category" or "suggest a subcategory"
I like the features of the first link directory cited in this post, for the reasons indicated above. However, it does not have many functions that are incorporated already in the Link Directory being developed by the group here. Furthermore, it was developed by a single individual and the link included is now owned by a company, with very restrictive (not an open source) stipulations.
Suggestion #1:
In the New List of Mod request:
http://www.phplinkdirectory.com/forum/viewtopic.php?t=350
One of the more pressing requests is this:
Content visible to registered users only.
While a "Search" function is useful and may alleviate the situation in the Link Directory, presented here so far, it may not be the most optimal solution to a database with tens of thousands, hundreds of thousands, or even higher number of categories and subcategories.
Another simple link directory
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=1104&lngWId=8
may offer some more alternatives, or perhaps complementary solutions (to the suggested Search function) that may help whoever is going to do the coding -- to address a situation involving a potentially "unlimited" number of categories and subcategories in a Link Directory.
The general database structure of the aforementioned simple link directory is similar to that of the "Link Directory" created here.
However, it provided a very ingenious solution to the issue of a Link Directory database with potentially "unlimited" number of categories and subcategories. The trick is in the presentation of the Admin Control Panel as follows:
__________________________________________________ ______
Admin Control Panel
Index -> Control Panel
"Top Level" Category -> Category level 1 -> Sub-Category level (a) -> ... etc. -> Sub-Category level (n)
(delete) (edit) (move) (add subcategory) (add page)
"x" number of subcategories of "Sub-Category level (n)" found:
Sub-Category (i)
(delete) (edit) (move)
Sub-Category (ii)
(delete) (edit) (move)
.
.
.
etc.
__________________________________
where
"Sub-Category level (n)" is the subcategory level, prior to next subcategory level.
Thus, if "Sub-Category level (n)" is equivalent to a " 'Top Level' Category" in the example "Admin Control Panel" given above, the next "Sub-Category (i)" will include:
"Category level 1"
(delete) (edit) (move)
"Category level 2"
(delete) (edit) (move)
and, however many subcategories there are in a specific " 'Top Level' Category"
As important, all the terms in the Control Panel are clickable links, except the "last term" -- in the sample Admin Control Panel above, this will be equivalent to the "Sub-Category level (n)" of the route path of the category-subcategory structure.
The overall result is a very intuitive and efficient Admin Control Panel**.
From a perspective of an administrator, I would suggest further that even the "last term", i.e., the "Sub-Category level (n)" of the route path of the category-subcategory structure, must be a "clickable linked term". This modification will allow an "instant refresh" of the control panel at the "Sub-Category level (n)" following execution of any of these administrative functions:
(delete) (edit) (move) (add subcategory) (add page)
cornelio0202
________
*The scripts in any of the above links may not be used for copyright reasons. However, in the hands of a programmer, it should not be difficult to create similar scripts that will be compatible with the Link Directory being developed here -- to develop the Admin Control Panel outlined above.
**Note also that the presented link directory to visitors in:
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=1104&lngWId=8
is essentially the same as the Admin Control Panel, except it ends with "Sub-Category level (n)" and then the "Links" are listed underneath the "Sub-Category level (n)". Moreover, the administrative functions:
(delete) (edit) (move) (add subcategory) (add page)
were not included in the "Visitor Page" of the Link Directory. Instead, for the "Visitor Page" a Search box and a "Suggest a link" were added.
In this regard, another link directory
http://www.cplinks.com/index.html
go even further to encourage visitors to "suggest a category" or "suggest a subcategory"
I like the features of the first link directory cited in this post, for the reasons indicated above. However, it does not have many functions that are incorporated already in the Link Directory being developed by the group here. Furthermore, it was developed by a single individual and the link included is now owned by a company, with very restrictive (not an open source) stipulations.