OK, I confess that one way I learn is by “monkey see, monkey do”.
I have looked at a lot of plugins, and if they worked, analyzed them.
I have seen some that have only a single plugin.rb file with everything in it.
* OK for simple plugins I guess, but I’m not a big fan of this when they’re more complex.
And I understand that “.handlebars” files are now “.hbs”, that “.js” files are now “.js.es6”, and that these files are “auto-magically” included.
So I guess folder structure isn’t all that important? More so it makes sense than it is a necessity?
I’m guessing some of the variations I’m seeing differ depending on whether or not the plugins are doing things RoR or Ember.
I’n any case, I have in the past been known to be inconsistent in such things and have over the years made progress in getter better at being consistent.
If possible, I would like to know the “best practice” conventions so that I won’t at some point in the future feel the need to “unlearn” something.
Any pointers on what I should take a look at will be appreciated as I find something like the following confusing.