radiegtya / meteoris2

a Realtime Javascript Boilerplate base on Meteor Js Framework
MIT License
246 stars 46 forks source link

Are both 'views' and 'templates' directory necessary? #79

Open brylie opened 9 years ago

brylie commented 9 years ago

The 'views' and 'templates directories serve nearly the same function, and may confuse developers having both in the same project. I.e. most or all of the meteor boilerplate projects choose either views or templates, but not both. What is the purpose of having both directories, and how might it be beneficial to provide only one?

radiegtya commented 9 years ago

I still don't understand what did you mean templates and views. Do you mean like views/somethings/index.js and views/something/index.html?

brylie commented 9 years ago

I was just confused by having both folders.

radiegtya commented 9 years ago

oh you mean templates folders and views folder. maybe we can simply rename it using "theme". :) but don't forget also renaming the header, footer, etc thing inside those folder with prefix theme not template

brylie commented 9 years ago

Alright. Thanks for your response. It is probably alright how things are currently, as I was just confused.

radiegtya commented 9 years ago

btw I am also confused sometime, it was reasonable. and I think change it will be good. Just look at the reference famous frameworks like RAILS, django, n Laravel and simply following their naming convention.