Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Regular Coder
    Join Date
    Jul 2011
    Posts
    105
    Thanks
    12
    Thanked 1 Time in 1 Post

    Question Regarding File Organisation For Websites

    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.

  • #2
    The Apostate Apostropartheid's Avatar
    Join Date
    Oct 2007
    Posts
    3,215
    Thanks
    16
    Thanked 265 Times in 263 Posts
    Quote Originally Posted by Daniel_A_Varney View Post
    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.

  • #3
    New Coder
    Join Date
    Jun 2011
    Posts
    46
    Thanks
    1
    Thanked 2 Times in 2 Posts
    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.

  • #4
    Regular Coder
    Join Date
    Jul 2011
    Posts
    105
    Thanks
    12
    Thanked 1 Time in 1 Post
    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...
    Last edited by Daniel_A_Varney; 07-11-2011 at 11:24 PM.

  • #5
    New Coder
    Join Date
    Jun 2011
    Posts
    46
    Thanks
    1
    Thanked 2 Times in 2 Posts
    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.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •