Page 1 of 1

fast template for 1000+ movies?

Posted: 2003-11-12 21:02:23
by timmy
hi,
i was wondering if anyone has written a tamplate that could load a db with over 1000 movies quite fast ?
i mean, does any template has option to divide a db into more .html files or something like this? (lets say one file for 'A' letter, another for 'B')

I think it would help a lot, because loading a html file 1mb size is ...hmmmm not quite optimal :)

Posted: 2003-11-12 21:51:31
by antp
Something that uses a MySQL database and PHP for pages generation.
Or using only a titles list that links to details (using "full/individual" tabs in the Export Window)

Posted: 2003-11-13 07:40:24
by Ormus
antp is quite right. Use one of the php templates (no mysql database needed)

Posted: 2003-11-13 09:58:33
by antp
Those that do not use a MySQL database have to load the full XML file, that may take some time and cause timeout on some servers :/

Posted: 2003-11-13 12:41:39
by Ormus
You're right :(
Though I've tested AMCphp on various servers with xml over 1MB and encountered no problem at all. Reading and parsing the xml usually takes less than 3 secs.
Another plus of templates without db is easier administration.

Posted: 2003-11-13 14:05:29
by antp
Sure, that's usually the easiest solution :)

Posted: 2003-11-13 16:47:55
by Free51
Template PHP with a file of 1.12Mo with 1140 titles puts only 2s moreover at posting. ;)

@+
Free51