Inspired by vBulletin and seeing what you can do with PHP and mySQL combined I'm thinking of writing my own system to run a links directory for my site
(see http://www.worldmotorsport.com/)
Bascially what I am thinking a want it to do is for each particular category page have it go to the database and say get me all the links for this particular category and then display them on the screen.
Currenly its all done in plain HTML files but you can't do searches on these, and you can't make it give the number of links in each category etc.
What I need to know first is how should I organise the tables for it, would it be okay just to put all the links for the entire site into one big table?, would it slow down too much if I ask for all the links in a particular category, what about calculating how many links are present in every sub cateogory?. As you see its mainly performance issues I'm concerned about.
(PS This would be for my own personal use, writing it so other people could use it too would take far too much time)
(see http://www.worldmotorsport.com/)
Bascially what I am thinking a want it to do is for each particular category page have it go to the database and say get me all the links for this particular category and then display them on the screen.
Currenly its all done in plain HTML files but you can't do searches on these, and you can't make it give the number of links in each category etc.
What I need to know first is how should I organise the tables for it, would it be okay just to put all the links for the entire site into one big table?, would it slow down too much if I ask for all the links in a particular category, what about calculating how many links are present in every sub cateogory?. As you see its mainly performance issues I'm concerned about.
(PS This would be for my own personal use, writing it so other people could use it too would take far too much time)
Comment