Page 1 of 1

loose pages...

Posted: Thu Aug 11, 2005 5:12 am
by harrisonad
Hi, I have about 50 pages in my Intranet Site. Some of them are independent pages. Some have subpages that have their own subpages as well.
Is it nessesary to store their prototypes (eg. name,url,etc.) in the DB?
Assuming that their numbers will vary in the future.

Re: loose pages...

Posted: Thu Aug 11, 2005 5:28 am
by AnarKy
harrisonad wrote: Is it nessesary to store their prototypes (eg. name,url,etc.) in the DB?
Assuming that their numbers will vary in the future.
Why will the names of the pages change?
Surely the content should be dynamic instead?

It is not necessary to store the names in a DB but...
it does make it easier to handle especially if you associate
certain access levels or rights to different pages.

Makes user customisation easier as well :arrow:

Posted: Thu Aug 11, 2005 5:56 am
by harrisonad
yes they are dynamic, but what i mean is, someday in the future some of them will be remove and new ones will be added.

Posted: Thu Aug 11, 2005 6:25 am
by AnarKy
Still not neccessary, even having the names, etc stored in the
DB will require manual maintenance. (just perhaps in fewer places)

In this case, it is a good idea to keep the page names in a DB.
:idea: From this, you can even create a global index for yourself
with links to all the pages.

Posted: Thu Aug 11, 2005 7:54 pm
by harrisonad
Thank you sir.