Meteor-Addis / community-home

The community home site for Meteor Addis Ababa.
MIT License
1 stars 0 forks source link

Project File Structure #2

Open tsega opened 9 years ago

tsega commented 9 years ago

Let's have a slightly more organized project file structure with some instructions of what goes where.

tsega commented 9 years ago

@ameernuri , @hilawi and @robikieq here are my suggestions on structuring the app:

  1. Remove client\js folder: everything is JS remember! If we need to use non-meteor package libraries then we need to put those in client\js\library-name
  2. Remove 'client\views` folder: I believe the same thing exists under client\templates\views which seems a logical place to put views.
  3. Remove client\addis-meteor-community.js and client\addis-meteor-community.html: I think the purpose of these files is similar to the main.js and main.html files respectively.
  4. Template (.html) and Template Logic (.js): Always put these two together under the same folder, for example, members.html should have an associated members.js file under the folder client\templates\views\members. All code pertaining to the members template should be put in the corresponding .js file.