TheHelper / TH-HTML5

TH-HTML5 is a community project opened to anyone (new or old) who has any interest in exploring the aspects of HTML5 and expanding their, as well as others', knowledge towards creating a site employing its new abilities.
http://www.thehelper.net/forums/showthread.php/163657-TH-HTML5-Community-Project
2 stars 0 forks source link

Directory Structure #3

Open ghost opened 13 years ago

ghost commented 13 years ago

We need to devise a way to structure the repository so it's easy to find what we're looking for, without having a mess of files and folders everywhere.

I suggest something like the following (folder and file names do not need to be exactly the same).

root:
    - assets 
    main-style.css
    main-script.jss
    index.html
    README.markdown
    - canvas
        - canvas2d-moving-box
            - assets
            main-style.css
            main-script.js
            index.html

    - javascript
        - websocketchatclient
            - assets
                main-style.css
                main-script.js
        index.html

This way, everything is separated into a different according to what it matches the most (JS-related projects in /javascript/, canvas in /canvas/, etc. We can even create sub-categories if need be.), with each project as a sub folder.

We also need some sort of code or identifier unique to everyone we can attach to the folder name, so that there aren't any same folder name problems.

sbstp commented 13 years ago

Perfect with me.

fkj commented 13 years ago

We should have a directory for every demo/webpage. That way, we can easily see where each asset belongs to.

Like this:

root

etc.

Anyone else have ideas?