...

View Full Version : Question Regarding File Organisation For Websites



Daniel_A_Varney
07-11-2011, 07:13 PM
This is for a fairly straightforward HTML/ CSS set up... No fancy databases or anything (yet).

My question is - does having your graphics in folders, one or two levels deep, outside of your code documents slow down loading times at all?

I believe my server permits file folder levels at any depth so I'm okay there. I just wondered if it has any effect at all on loading times.

Organising my graphic backgrounds away from my inline images helps me to keep things organised and I find it easier to remember where things are when I'm coding up the design.

Apostropartheid
07-11-2011, 08:30 PM
This is for a fairly straightforward HTML/ CSS set up... No fancy databases or anything (yet).

My question is - does having your graphics in folders, one or two levels deep, outside of your code documents slow down loading times at all?

I believe my server permits file folder levels at any depth so I'm okay there. I just wondered if it has any effect at all on loading times.

Organising my graphic backgrounds away from my inline images helps me to keep things organised and I find it easier to remember where things are when I'm coding up the design.

No, not at all.

kwdamp
07-11-2011, 09:16 PM
No, and I can't tell you how many times I have looked back and wished that I would have started with a good, multi-level site organization.

It never fails that about the time the site starts to grow, you get busy. And it's extremely hard to sort through hundreds of pages, graphics, and scripts when you come back to a project a few weeks or months later. Save yourself the frustration.

Daniel_A_Varney
07-11-2011, 10:18 PM
That's brilliant, thanks.

Yes... well, as an artist, collector of photos and having many jobs on at once, I have to be super-organised with my hard drives. I seem to know where everything is, even if I'm not sure where I put that clean pair of socks... :)

This has just naturally filtered down into my web-design strategy. There are already a LOT of images and pages to deal with - and as the work progresses, I can see it becoming even more in future...

Next Question...
Is there usually any limit to the length of filenames? I can't remember if my server got with it, when Windows allowed longer filenames. We must be going back a few years now... maybe 1998? Surely all servers are up for long filenames by now?

Just checking, to avoid any frustrations...

kwdamp
07-11-2011, 11:33 PM
I looked around a little bit, and it seems the number that keeps popping up is 128 characters for a file name. Although I don't see why you would want to name anything more than about 25 characters, unless it's being dynamically generated and you need to insure you don't end up with the same file name.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum