Issue #6 new
Change the convention for apps to live under bin/ instead of data/
Currently, apps are loaded via
bin/strelka from the
apps directory of a gem's data directory.
I think we should consider making them proper binaries under
- PRO: Executable code living under
- PRO: Stripping out the discovery part greatly reduces complexity, facilitates doing away with the inheritance requirement (ala #4), and generally makes Strelka less esoteric.
- CON: The
bin/strelkatool provides some bootstrapping for apps that would have to either be explicitly added to each application, made part of
App.run, or factored out into a separate utility method.
- CON: If apps live under
data/, they can be assumed to be safely loaded via
Kernel.loadto support discovery, inheritance via
Strelka.App(), etc. However, if the convention moves to
bin/, inheritance can be supported more conventionally by moving the bulk of the app to a class under
lib/that the binary just loads and executes. Discovery could be implemented using