Author Topic: Splitting it up  (Read 1695 times)

0 Members and 1 Guest are viewing this topic.

Offline michael

  • album.pl Tester
  • **
  • Posts: 25
  • Karma: +0/-0
  • Album.pl is cool ;)
    • The MikeCam
Splitting it up
« on: April 16, 2002, 09:55:34 »
I'd like to see album.pl split up. Although it's nice to only have to upload the one script file, it's cumbersome if the user wants to make changes. Have to search through for the things you want and then upload the whole big file. Cutting down on the size and moving sections that aren't used most commonly (such as static HTML generation in a live gallery) to separate files will also improve performance and organization, methinks.

Great job, regardless! :)
« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re: Splitting it up
« Reply #1 on: April 16, 2002, 10:24:02 »
Yeah, I agree. I was thinking the other day that the file is now nearly 200k, and that has to be loaded every time the album starts up. Much of that is the POD (documentation) which could be moved out, saving space.

I assume (but don't know) that several smaller files will load faster than one large one...
« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »

Offline michael

  • album.pl Tester
  • **
  • Posts: 25
  • Karma: +0/-0
  • Album.pl is cool ;)
    • The MikeCam
Re: Splitting it up
« Reply #2 on: April 17, 2002, 07:08:30 »
Yes, I'm very confident that several smaller files will run faster than one large one. I think the two biggies to move out would be the static HTML generating and the POD.
« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »