-
Notifications
You must be signed in to change notification settings - Fork 32
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
Project file structure #55
Comments
In a lot of cases the Also, I think it would be really useful to have guidelines on structuring the modules in our projects. Those can vary wildly from project to project and depending on the framework (or lack thereof). |
yes to better file structure! I like a modules/plugins/libraries folder structure:
for file names, either camelCase or hyphen separated but it should be consistent. |
n00b question: What is the difference between libraries, modules, and plugins? |
If you chose a framework for your project, stay within its conventions. Otherwise, do something stupid obvious, like @cfarm example above or even simpler
Avoid deep nested structures or overly vague and overused names- e.g -'static'. |
We seem to have, mostly, settled on the file structure that the generator produces. Does this need to be documented further? |
Added a quick note so a new FEWD knows what the generator is for. This should be sufficient for #55.
I just added a quick note to the Readme to better introduce the generator. I think it's a nice addition for FEWDs, but that anything more than that can become outdated or redundant. |
👍 Perfect, thanks @KimberlyMunoz! |
I have noticed a strong affinity to putting everything in app.js or main.js. While it keeps things tidy and intuitively in one place, it does very little for project clarity. How does everyone feel about arriving at some more standardized project structure and smaller, well named files?
The text was updated successfully, but these errors were encountered: