RE: Photo gallery with description

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> So are you going to offer your gallery code for use by 
> others? Just curious. I'm also working on
> my own version of gallery software. I am using Gallery
> (http://gallery.menalto.com/modules.php?op=modload&name=News&f
> ile=index) currently, but hate that
> it does not easily integrate into my site. Would prefer to 
> have components that I can just plug in
> instead of having a stand alone gallery system. By the way 
> Gallery does not use/require a database
> to store photo information. It uses flat files. Though your 
> point is valid about less server load
> there is some I/O load 
> in opening and reading these files to build the page

Yes, I will be offering my various scripts up, probably on
http://www.gryffyndevelopment.com when I get a chance to get them
updated to where I want them to be ('finished' in a sense) and have a
chance to set up a page for people to access.   I wrote a pretty slick
(if I do say so myself) duplicate file scanner and a calendar app (yeah,
everyone has a calendar.. But everyone has a photo gallery too. Hah)
that I'd like to show off and share sometime.

Maybe I'll spam the PHP lists with a link when I get my humble code
gallery up.  I'm very proud of some of the scripts I've written and some
I have really big plans for at some point, but just need to find the
time.

As for the I/O load and all that, I'm not really sure what puts more
stress on a server, but if I find evidence one way or another, I'll lean
toward the side that has as little impact as possible.  Maybe you can
load the photo descriptions into an array and store it as a session
variable.  But file I/O isn't too bad on a small file that's probably
going to end up in the server's file cache anyway.   Lots of options, I
just don't know EXACTLY which method has the smallest impact.

> Also, as just a suggestion I would discourage you from using 
> table in your HTML. Check out the new
> book from Eric Meyer http://more.ericmeyeroncss.com In one of 
> these chapters he actually build a
> photo gallery. Note that he is presenting CSS instruction so 
> there is no mention about the
> dynamics of your backend language. It's more on how to 
> display the photos using CSS instead of
> HTML tables.
> 
> Don't want to start a whole wholly war discussion. Besides 
> this is not a CSS list.

Haha..  CSS is some really great stuff, I'm just slowly learning it and
still have faint twinges of "Is it going to be fully compatible with 99%
of the browsers that are going to hit it".   I started doing HTML on
Netscape 2.0 and really started doing a lot of HTML back in the late
90's when the Browser Wars were in full swing.  Tables work fine for
now.  They may be deprecated at some point (are they already?) but in
the meantime they're something I understand and know how to use so I
stick with what I know.

But thanks for the link.  I'll have to take a serious look at it
sometime soon.  I really do want to learn more CSS.  I'm just using it
for some basic formatting stuff right now but know it's great for
positioning things too.



Good luck!

-TG

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux