Easy PHP Calendar - We really take care of your dates!


Go Back   Easy PHP Calendar > Pre-Sales Questions > General

General Get answers to your questions before purchasing the Easy PHP Calendar.

Closed Thread
 
Thread Tools Search this Thread Display Modes

Flat File Question
Old 12-27-2006, 10:41 AM   #1
highnoon
Calendar User
 
highnoon is offline
Join Date: Dec 2006
Posts: 3
Default 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?
 

Old 12-27-2006, 11:22 AM   #2
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,906
Default

1) There isn't a variable to assign the flat-file name on the fly. Version 6 wasn't designed to be used in this way. You would need separate installation for each user. There may be other licensing questions with this type of installation...

2) Each time the page loads, the calendar script must read and parse the entire text file in order to display on the web page.
__________________
-- Brian

Questions?

Instructions | FAQs | Errors FAQ | Forums | Support
| Web Site Hosting
 

Old 12-27-2006, 11:56 AM   #3
highnoon
Calendar User
 
highnoon is offline
Join Date: Dec 2006
Posts: 3
Default

Quote:
Originally Posted by Brian
1) There isn't a variable to assign the flat-file name on the fly. Version 6 wasn't designed to be used in this way. You would need separate installation for each user. There may be other licensing questions with this type of installation...

2) Each time the page loads, the calendar script must read and parse the entire text file in order to display on the web page.
The user doesn't edit events. I just want to customize an event list for each user. It would be display only. The only difference between 1,000 users coming to see my site with a static calendar is that I have a different dataset for each user.

The personal event information is generated by my own database and scripts. I only want to use the Easy PHP as a presentation layer to display the data.
 

Old 12-27-2006, 12:13 PM   #4
highnoon
Calendar User
 
highnoon is offline
Join Date: Dec 2006
Posts: 3
Default

Quote:
Originally Posted by Brian
1) There isn't a variable to assign the flat-file name on the fly. Version 6 wasn't designed to be used in this way. You would need separate installation for each user. There may be other licensing questions with this type of installation...

2) Each time the page loads, the calendar script must read and parse the entire text file in order to display on the web page.
Another solution for me may be this:

I see event planners can filter / find events in the demo.

1) Can visitors who don't have username / password access also filter and find events to be displayed?

2) Can I pass information to the PHP script indicating what categories and other filtering information the visitor will see on their calendar?

Thanks
 

Old 12-27-2006, 04:55 PM   #5
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,906
Default

1) Yes. You don't need to log in to view the calendar and non-logged users can use the filter plugin.

2) Yes. Use the $showCat variable. (Search the instructions for showCat).
__________________
-- Brian

Questions?

Instructions | FAQs | Errors FAQ | Forums | Support
| Web Site Hosting
 
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Large flat file hogging server resources webmaster23 General Support 3 07-14-2006 08:48 AM
How to Handle Multiple Flat File Calendars (Version 5) jchilders General Support 2 05-23-2006 01:06 PM
Convert from Flat File to mySQL blank214 General Support 1 03-11-2005 09:01 AM
Event Creation - Flat File mcfatema@iowatelecom.net General Support 4 11-01-2004 10:49 PM
flat file newbie question mmcneal76 General Support 5 08-03-2004 01:17 PM



All times are GMT -4. The time now is 07:45 PM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright 2009 NashTech, Inc.

| Home | Register | Today's Posts | Search | New Posts |