Gossamer Forum
Home : Products : DBMan : Customization :

Size of html.pl

Quote Reply
Size of html.pl
Hi. My question is whether the size of the html.pl file(mine is about 72k) has much effect on how quickly the script runs?

Another one, can the page layout used for adding, viewing, searching, etc. be put into one variable and just use the variable in each option in the html.pl file instead of having all the page code duplicated, assuming it stays the same? Would this, if it is possible, be of any benefit other than the file being smaller and uploading quicker?

Thanks
Quote Reply
Re: Size of html.pl In reply to
Possibly...But I don't really think it matters that much. I mean breaking up the html.pl is a thought in terms of administrative purposes....I have many different html.pl files for different datbase projects running on two different servers. The size of the files range between 64K and 115K. The speed of admin tasks and user access are the same.

There are some things that would slow down your scripts, including large select fields, and large number of fields (over 150).

Also, if you add complex sub-routines in the db.cgi, then your script will definitely slow down. But in terms of the html.pl, I don't think it really matters...but I could be wrong.

Regards,

------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us

[This message has been edited by Eliot (edited August 18, 1999).]

[This message has been edited by Eliot (edited August 18, 1999).]
Quote Reply
Re: Size of html.pl In reply to
I've not noticed much in the way of slowing things with larger html.pl files.

However, you can put all of your page formatting into external subroutines. You might take a look at my "user-friendly html.pl" mod at
http://www.jpdeni.com/dbman/Mods/html_pl.txt




------------------
JPD





Quote Reply
Re: Size of html.pl In reply to
Thanks to both of you for the info. That's kind of what I was hoping to hear.

To JPDeni, I will try the mod, thanks.

spike