Home Entrance Wiki Search Login Register

Welcome, Guest. Please login or register.
March 22, 2023, 04:30:51 am - @188.09
Forum activity rating: Four Star Posts: 93/24hrs Unread Topics | Unread Replies | Own Posts | Own Topics | Recent Posts
News: :4u: ~~~~~~~~~~~  :4u:

+  MelonLand Forum
|-+  World Wide Web
| |-+  ✁ ∙ Web Crafting
| | |-+  How do you prefer to keep your site organized (or not)


« previous next »
Pages: [1] Print
Author Topic: How do you prefer to keep your site organized (or not)  (Read 2572 times)
Nightdrift
Full Member ⚓︎
***
Posts: 104


Suspicious Activity™

StatusCafe: nightdrift

View Profile WWW

OG! Joined 2021!
« on: November 27, 2021, 05:06:46 am »

Now here is a topic near and dear to me because I am quite bad at organization in general. I am curious to hear other people's thoughts/experiences on how they like to organize their website files, in part to get some ideas for organizing my own pages (or encouragement that the only method to madness is to fall even deeper into the madness).

For context, I have been building my first site on Neocities, and have been trying to keep things reasonably organized...but even with the conscious effort, it is kind of a hydra LOL. The more I build, the more pages I want to add, and the more I realize "this could get messy really fast ._.". While I think I am making the best of what I currently can with my limited knowledge, it is kind of intimidating to watch the pages rack up. I would be lying if I said I wasn't a little concerned about the longevity of my site and sanity if I begin to struggle with slogging through the many pages I have dreamed up in my head.

With all this said, how are folks' experiences with building sprawling sites? Do you like to keep folders for specific things? Do you prefer to name each page in a more logical manner with numbers or straightforward descriptors, or is it more amusing to give your pages esoteric file names? Do you ever struggle to keep things consistent, or do you have your own method to keeping track of things? Or maybe if you did struggle with site organization at one point, was there any turning point to helping you figure out a methodology that worked for you? Should I just embrace the madness? Any other thoughts to the other many questions I can't think of off the top of my head, but probably have anyhow? These ears are wide open to receive any opinions or ideas on the matter of site organization and maintenance.
Logged

Status Cafe Profile
Melooon
Administrator
Hero Member ⚓︎
*****
Posts: 1272


So many stars!

SpaceHey: Friend Me!
StatusCafe: melon
iMood: Melonking
Itch.io: My Games

View Profile WWW

1234 Posts!OzspeckCool Dude AwardRising Star of the Web AwardMessage BuddyPocket Icelogist!OG! Joined 2021!The Smallest Ozwomp Known To ManBug!
« Reply #1 on: November 27, 2021, 03:20:39 pm »

=== Moved to website discussion (I think it fits here more? Maybe not we can move it back later :grin:smile: ===

Firstly I just wanted to say thanks for this great topic, you've done a few good posts on the forum, and its really appreciated. Getting the momentum going on a new forum is never easy, so thank you!

So this is a good topic because I think its something every new site faces at some point. I used to be obsessed with super organized sites and keeping everything in a particular structure, but not so much these days :tongue:

I think there are a few starter questions: How big is your site? (under 10, or dozens, or hundreds of pages?) How are pages connected? (Do you use frames, or JavaScript loading, or is each page stand alone?) Does your site have a universal style/layout or is it many different layouts?

I think once you answer all those questions you're in a better place to make a choice.

For me the answers are: dozens, pages are connected with frames, and I have no consistent layout or style. SO that leads me to my site organization.

I have a base directory that contains major html files, like my index, home, about page etc. It also has what I call universal folders for images, audio, styles etc. Universal assets are things that I might use anywhere on my site, on any page. So if I put an image in the universal images folder, I know I can always do "/images/myimage.gif".

After that I have sub folders that act as mini sites, for example /shop/, those folders have their own index.html and their own pages and some will have their own images and audio folders, the difference is that in theory, an image in the shop folder should only ever be used on pages in the shop folder, there should never be cross connection between folders and if there is I move the file to the universal folder.

Visual example:


Pros & Cons:
Iv used this system for about 5 years and it works pretty well for my kind of site, but it would not work for a site with a consistent layout.
Sometimes files do get cross connected and neocities does not make it easy to move files.
It gets confusing having multiple files called index.html

Tips:
All pages do refrence a universal "common.css", this means in the event I do need to restyle something across the entire site (like the font) or share css animations, its easy to do that.


Id love to hear back form people who have differently structured sites though, particularly ones like cinni.net that must fit into a very ridged structure, or ones that are loading in content over javascript (not something I recommend but i understand why people do it!). Are you planning to do a numbered blog type site? That might call for more numbered and file naming, but again it depends on the kind of content your thinking about.
« Last Edit: November 27, 2021, 03:22:56 pm by Melooon » Logged


everything lost will be recovered, when you drift into the arms of the undiscovered
Obspogon
Jr. Member ⚓︎
**
Posts: 73


Hi

SpaceHey: Friend Me!
StatusCafe: obspogon
iMood: Obspogon
Matrix: Chat!
XMPP: Chat!

View Profile WWW

OG! Joined 2021!
« Reply #2 on: November 27, 2021, 08:33:47 pm »

I do something similar; keeping all my files in folders organized by type. A folder for pictures, a folder for gifs, a folder for buttons, and a folder for scripts, and so on. I keep most of my HTML pages in the website root unless I want to group related pages together, like my jQuery fragments and my curation lists. I also keep my RSS feed, CSS, and favicon in the root for easy access.
Logged

----------------------
https://obspogon.neocities.org/
----------------------

cinni
Full Member ⚓︎
***
Posts: 158


believe in your dreams <3

SpaceHey: Friend Me!
StatusCafe: cinni

View Profile WWW

OG! Joined 2021!
« Reply #3 on: November 27, 2021, 08:37:04 pm »

this is the kinda thing i think about too!! i definitely struggle with keeping my files organized, specially as my site grew over the years, my files are only somewhat maintained, hahaha.. for example, in the beginning i didnt really care if i had images in my "main" directory nor keeping my images organized in any way, but when my toybox/web graphics page grew, i tried to categorize them, but moving files in neocities is a pain and i end up with broken links because i have no way of keeping track, so sometimes i just leave the delinquent image where they are :-p

here's an example of my files.. plz excuse the mess, i wasn't expecting visitors :-)



this is my main directory, so pages that are immediately available on my site (like about me, art, links, etc) are usually in here, and if a part of the site grows where i need sub-pages, i tend to make a new folder for it, like for all my shrines, toybox pages, link directory, etc!

here's an example of my images folder, where i try to dump most of my images in there.. but again, they're just loosely categorized..haha. i don't always know the best place for an image and if i make too many folders i can't remember what's in what :-( (like right now.. eeek)



IF i could start from scratch and re-do all my files, i would, but oh to have that free time.. LOL

my main site/index page uses iframes, so for the styling i have one .css for the index page, and a separate css file for all the pages that are nested within the iframe.. i think one reason i did that is my index page uses media queries, which totally messes up whatever is in the iframe lol so i keep it separate b/c it's a pain to update all those pages one by one. NOT to mention i have a bunch of side pages that have their own layouts... if im lazy or if it's just one page i just keep the styling in some <style> tags in the html file and call it a day.. i have a lot of half-started pages haha.
Logged

Nightdrift
Full Member ⚓︎
***
Posts: 104


Suspicious Activity™

StatusCafe: nightdrift

View Profile WWW

OG! Joined 2021!
« Reply #4 on: November 27, 2021, 11:13:34 pm »

Thank you all for the incredibly thoughtful responses! This is a lot of solid food for thought. Also I have to say...it is reassuring to know that breaking links is kind of universal on Neocities LOL... The visual examples are also very helpful, it is encouraging to know that hey! Sometimes things are going to look complicated, even with a system in place.

Right now my pages are all standalones with a similar format/template -- mostly out of laziness, I have been copying the navbar onto every single page I build, but that is something I do want to change up ASAP. I am definitely torn between frames and javascript; I've seen a lot of really good arguments in favor for both. Currently very slightly leaning towards frames, but I think I would like to poke around at js at some point just for the heck of it. That said, I am sure the frames vs javascript debate is a whole topic of its own XD

Based on all of y'all's responses, it sounds like subfolders for additional pages sounds like something I will definitely have to try out! As far as personal web design philosophy (lol) goes, I've always been drawn towards the idea of "getting lost in cyberspace" for hours on end, so being able to tunnel further and further through a series of twisting and winding pages is very appealing and important to me. In that regard, while I am only currently at the (very few) dozens of pages count, I do think I want to try be more organized down the line if I keep designing in this manner.

If anyone else has thoughts I would love to hear them whenever! But for the time being, again, thanks all for the really great responses.

[EDIT: Also lol, so thrilled I was with these messsages I forgot I did want to respond to a small bit of what you mentioned, @Melooon: forums are very near and dear to me, especially as someone who isn't so savvy with keeping up with virtual chatrooms these days, so I'm rootin for this place to take off!
« Last Edit: November 28, 2021, 12:00:09 am by nightdrift » Logged

Status Cafe Profile
InvisibleUp
Newbie ⚓︎
*
Posts: 3


SpaceHey: Friend Me!

View Profile WWW

OG! Joined 2021!
« Reply #5 on: December 08, 2021, 03:05:03 am »

There's a really good chapter from a book on web design I used to have. The author re-uploaded it here back in the day, if you want to give it a read.
Logged
Neonriser
Jr. Member ⚓︎
**
Posts: 59


Creator of Nett

SpaceHey: Friend Me!
StatusCafe: neonriser
Matrix: Chat!

View Profile WWW

OG! Joined 2021!
« Reply #6 on: December 09, 2021, 05:27:39 pm »

I use Visual Studio Code to make my website. I also use plugins such as Prettier to make my files' code more organized and human-readable. I put all of my dreams in the 'dreams' folder, and all of the 88x31 buttons on the 'buttons' folder.

Logged

Web design is my passion!

fLaMEd
Newbie ⚓︎
*
Posts: 42


View Profile WWW

OG! Joined 2021!
« Reply #7 on: January 14, 2022, 09:44:29 pm »

I love a tidily organised project folder :happy:

For most projects I have a basic structure like this:

Code
project/
/css/
/img/
/js/
index.html

Then add to it as the project needs...

My current structure for flamedfury.com looks like this, fairly standard structure for an 11ty project.

Code
flamedfury.com/
|-- _data
|-- _includes
| |--layouts
| |--partials
|-- _generate
|-- css
|-- guides
|-- img
| |--buttons
| |--badges
|-- fonts
|-- about
|-- updates
|-- js
|index.md

Interesting seeing how everyone else organises their projects :smile:
Logged
m15o
Jr. Member ⚓︎
**
Posts: 76


StatusCafe: m15o

View Profile WWW

OG! Joined 2021!
« Reply #8 on: January 16, 2022, 08:17:52 am »

There's a saying that "There are only two hard things in Computer Science: cache invalidation and naming things.", and even though website structure isn't "naming", it can be really complicated too! :happy:

My approach would be to start as simple as possible. Have every files at the root. It might look ugly, but if your site is only a few pages, it's perfectly fine. As your site grows, section gets added, keep adding pages to root. At some point you will reach a problem: perhaps two pages would have the same name. Or maybe a few files are really only meant to be seen together. Or you realize that there's a logical section you want to add to your site, one that is materialized in the url... then that's the trigger that you need a new folder. Just refactor it and keep going. If you follow that, the structure will emerge naturally.
Logged

brisray
Jr. Member ⚓︎
**
Posts: 61



View Profile WWW

Joined 2023!
« Reply #9 on: January 16, 2023, 08:49:26 pm »

When your site is fairly small you can organize it how you want but as it grows you really do need to organize things. My site is split into sections which are all put in separate folders each with it's own index page. Each folder has a folder for images and another for the section menu files and I make new ones for documents and so on as I need them.

Site-wide files like CSS and JS all go into a common folder in the site root.

Honestly, the sooner you can decide on how you want the files organized the better. Your first redesign and rewrite are going to be a nightmare if you don't. I know!

The other headache I've had is making the site menus. How you organize all the links partly depends on the way your site is organized. Is it wide and flat (lots of sections, with just a few pages in each) or narrow and deep (not many sections but lots of pages in them)? Is it worth putting breadcrumbs (Home > Section > Page) on at least some pages. Is it worth putting Previous and Next links on them? You're trying to help visitors around your site and most are lazy!

The design is up to you. It's your site and if it looks good to you then it IS good.



Logged
creaturefeature
Jr. Member ⚓︎
**
Posts: 67


SpaceHey: Friend Me!
StatusCafe: creaturefeature
iMood: creaturefeature

View Profile WWW

Joined 2022!
« Reply #10 on: February 04, 2023, 12:23:54 am »

i have a file folder just for images, and then folder for site sections.

like for example I my journal has a folder with several page of each subsection.

but then there my library section where i have folder with all the page for each section, and then outside of that each section has folder.

All my biology articles would go on the biology folder and so forth.

the only ones who are not on folders are the main site navigation pages (about page, index, links etc..)

It helps me keep things rganized.
Logged


debleb
Full Member ⚓︎
***
Posts: 148


He/him, scaley little dragon


View Profile WWW

High Speed Ozwomp!Joined 2022!
« Reply #11 on: March 14, 2023, 01:29:07 pm »

pages and styles are the only thing i keep in the root of my directories, everything else has its own folder. i have a folder for images with subfolders for art, link buttons, decorative buttons/blinkies/stamps, and a few for other decorative elements, a folder for fonts, and also one for music.
Logged

"I would have thought you to be above something so banal as despair. Am I mistaken?"
Pages: [1] Print 
« previous next »
 

Vaguely similar topics! (3)

Best way to have a 2 column site?

Started by ObspogonBoard ☔︎ ∙ Help & Tutorials

Replies: 3
Views: 1263
Last post February 13, 2023, 05:00:17 am
by fLaMEd
POLL: How many personal sites have you built?

Started by xandraBoard ✁ ∙ Web Crafting

Replies: 16
Views: 2241
Last post March 08, 2023, 10:41:23 pm
by xandra
I am new to making sites and I want some tips to improve.

Started by IcelogistBoard ☔︎ ∙ Help & Tutorials

Replies: 4
Views: 1018
Last post December 14, 2021, 08:29:01 pm
by Icelogist

Melonking.Net © Always and ever was! SMF 2.0.19 | SMF © 2021, Simple Machines | SMFPacks Super Quote Forum Guide | Rules | RSS | WAP2


MelonLand Badges and Other Melon Sites!

MelonLand Project! Visit the MelonLand Forum! Support the Forum
Visit Melonking.Net! Visit the Gif Gallery!