Home Help Search Login Register

Welcome, Guest. Please login or register.
May 16, 2022, 01:50:50 pm
Forum activity rating: Two Star Posts: 14/24hrs Show Unread Posts | Unread Replies | Own Posts | Recent Posts
News: ~~~~~~~~~~   <--- OMG its a worm!

+  MelonLand Forum
|-+  Workshop Zone
| |-+  Website Making
| | |-+  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 764 times)
Nightdrift
Full Member
***


Suspicious Activity™

Posts: 105
Karma: 28

StatusCafe: nightdrift

View Profile WWW
« 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
Sr. Member
*****


So many stars!

Posts: 323
Karma: 93

SpaceHey: Friend Me!
StatusCafe: melon

View Profile WWW
« 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  ;D) ===

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  :P

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

Obspogon
Jr. Member
**


Hi

Posts: 65
Karma: 18

Discord: Obspogon#9715
SpaceHey: Friend Me!
StatusCafe: obspogon
Matrix: Chat!
XMPP: Chat!

View Profile WWW
« 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
***


believe in your dreams <3

Posts: 116
Karma: 34

SpaceHey: Friend Me!
StatusCafe: cinni

View Profile WWW
« 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
***


Suspicious Activity™

Posts: 105
Karma: 28

StatusCafe: nightdrift

View Profile WWW
« 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
Karma: 4

SpaceHey: Friend Me!

View Profile WWW
« 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
**


Creator of Nett

Posts: 56
Karma: 6

Discord: Neonriser#6841
SpaceHey: Friend Me!
StatusCafe: neonriser
Matrix: Chat!

View Profile WWW
« 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: 35
Karma: 6

View Profile
« Reply #7 on: January 14, 2022, 09:44:29 pm »

I love a tidily organised project folder  :))

For most projects I have a basic structure like this:

Code: [Select]
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: [Select]
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 :)
Logged
m15o
Jr. Member
**



Posts: 68
Karma: 29

StatusCafe: m15o

View Profile WWW
« 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!  :))

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

Pages: [1] Print 
« previous next »
 

Melonking.Net © Always and ever was! SMF 2.0.19 | SMF © 2021, Simple Machines RSS | WAP2 | BBCode Help


Melon Sites!
Visit Melonking.Net! Visit the MelonLand Forum! Visit the Gif Gallery! Support the Forum
Friend Communites!