Flat File Question
After reading the forums articles, I understand that Version 7.0 will not support flat files. These questions are for Version 6.0+.
1) With flat files, if I wanted a different event calendar on each of my web pages (say 1,000+ pages) could I have a different flat file for each page? Is a flat file filename used as a parameter in the javascript embedded on web page?
Background: I have users with personal pages, and I have a method of creating specific events tailored to each user. I would like to create a simple flat file for each user of no more than 100 events. In this way, I can quickly build these text files without needing to import and deal with mySQL integration. Only my script that constructs the text file would write to it. The web visitor would not update or write to the text file.
2) What is the overhead of using flat files? Is it mainly that the PHP script has to do more processing (e.g. text file load, text file parsing, etc.)? What is the "extra" processing involved in using a flat file? I assume that < 100 events is not many, but each time the page loads, would the PHP calendar script read the entire text file in order to display on the web page?
|