Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
brylie opened this issue Jun 17, 2015 · 5 comments
Open

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

brylie opened this issue Jun 17, 2015 · 5 comments

Comments

@brylie
Copy link

brylie commented Jun 17, 2015

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
Copy link
Owner

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
Copy link
Author

brylie commented Jun 18, 2015

I was just confused by having both folders.

@radiegtya
Copy link
Owner

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
Copy link
Author

brylie commented Jun 18, 2015

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

@radiegtya
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants