Part of the foundation of pakyow is the desire to keep concerns as modular as possible. It came up in conversation in connection to this issue (https://github.com/pakyow/pakyow/issues/112) that is may be desirable to provide a convention or api for excluding pakyow libraries. This would potentially leave developers free to plug in their own libraries.
The question is, what is the best way to do this that will cause the least disruption should more pakyow libraries be written in the future.
Right now pakyow libraries are required in
lib/pakyow.rb, which itself is required in the pakyow application's
app/setup.rb file. We would like to open a discussion that will take into perspective the prerogatives of application developers as well as pakyow contributors.
Here is a starting point for consideration, where Pakyow::App would be defined in the pakyow lib rather than core, and the
define method would be responsible for requiring the dependent gems.
Pakyow::App.define without: [:presenter] do
# Configure stuff here, pakyow-presenter wont be loaded
Looking forward to the discussion on this topic.