| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| Hi once again, I have been asked to add a feature that allows a person to add content to a site via a control panel. This control panel is basically a form that will have certain fields such as subject, body, date. The site is supposed to show the content that is supplied to it via the form that is part of the control panel. I was thinking that there's a good chance that the data that leaves the form and that is then stored in a database may not change frequently. Because, this might be the case, would it be more efficient to come up with a solution that would only go to the database if and only if something has changed. I was thinking that as soon as information has been queried from the database to appear as information on the website it should also be turned into a static page. If it is a static page and no further activity (addition or modification of existing control panel information) has occurred then it would be more efficient to grab the static html page rather than query the database and possibly retrieve information that has not been modified. Is this solution a viable one and if so how could it be implemented? I think there is a file system object something-or-the-other that perhaps could be used to create the html file on the server. Maybe I could keep track of the last modification date of this file or creation date and compare it to the last date of the data that was inserted in the database. Any suggestions Thanks in advance Terry |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.