Rayman / fusic-meteor

Fusic: Realtime Social Music Collaboration
MIT License
27 stars 12 forks source link

Fusic client structure #41

Closed Rayman closed 10 years ago

Rayman commented 10 years ago

The client folder structure of the current project is a bit of a mess. I propose the following structure. What do you guys think?

config/
    router.js (client router configurations)

lib/
    globalhelpers.js
    player/
        player.html
        player.js
        player-youtube.js

stylesheets/
    fusic.import.less (defines the basic fusic style)
    style.less

views/
    common/
        header.html
        footer.html
        layout.html
        layout.js
    home/
        home.html
        home.js
    playlist/
        overview.html
        overview.js
        playlist.html > includes songslist
        playlist.js
        songlist.html
        songlist.js
    loved/
        loved.html
        loved.js
    profile/
        profile.html
        profile.js
pepf commented 10 years ago

Looks good, splitting up the playlist.html file into pieces is really necessary .. at least :smile:

reinzor commented 10 years ago

Sounds good. Maybe we will also have to think about naming convention of templates etc. We can discuss this tomorrow :)

-Rein

On Fri, Jun 27, 2014 at 11:34 AM, Pepijn notifications@github.com wrote:

Looks good, splitting up the playlist.html file into pieces is really necessary .. at least [image: :smile:]

— Reply to this email directly or view it on GitHub https://github.com/Rayman/fusic-meteor/issues/41#issuecomment-47324892.