fast template for 1000+ movies?

If you made a template for printing or HTML export, you can offer it to the others here. You can also ask here for help about these templates
timmy

fast template for 1000+ movies?

Post 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 :)
antp
Site Admin
Posts: 9906
Joined: 2002-05-30 10:13:07
Location: Brussels

Post 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)
Ormus
Posts: 102
Joined: 2003-08-05 16:47:05

Post by Ormus »

antp is quite right. Use one of the php templates (no mysql database needed)
antp
Site Admin
Posts: 9906
Joined: 2002-05-30 10:13:07
Location: Brussels

Post 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 :/
Ormus
Posts: 102
Joined: 2003-08-05 16:47:05

Post 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.
antp
Site Admin
Posts: 9906
Joined: 2002-05-30 10:13:07
Location: Brussels

Post by antp »

Sure, that's usually the easiest solution :)
Free51
Posts: 233
Joined: 2003-09-28 11:03:29

Post by Free51 »

Template PHP with a file of 1.12Mo with 1140 titles puts only 2s moreover at posting. ;)

@+
Free51