I have to build a site which contains articles as large as 20-30,000 characters. Of course this means each article will appear on a number of pages, much like this forum breaks long threads in [1][2][3][4][5].
It’s the first site I build for money… whew!… what a way to start!
What I came up with is storing all the text in a mysql databse and since an article is not broken in equal parts but according to sub-chapters, make and insert an array where each array element is
automatically created by PHP (sparated by <h3>). So each page [x] starts with an <h3> and ends at the next <h3>.
But there’s more. Each huge article stored in MySQL has a title with it. So I should be able to retrieve these titles and automatically create my main navigation menu with them.
I should also be able to insert *all
This is a site that will be updated weekly and I think I will do that in PHPmyadmin.
I’ll figure out how to do all that, it should be pretty easy. But before I start, I thought I’d ask.
Is this the very best way to deal with large websites or should I be doing something different?