Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Feature organization #223
Features include all the parts to make a particular part of your app work, including routes, models, views, and assets. For example, you could implement authentication as a self-contained feature rather than alongside the other code in your app. This promotes a more reusable architecture.
Here's an example structure:
Later, Plugins will build on top of the Feature architecture to make it possible to install third-party features into an app. Behind the scenes, features will likely be implemented as a separate app mounted within the current environment. This is to help enforce isolation between features (required if you want to move the feature into a plugin in the future).
There are still a few details to iron out, so this work should begin with some additional discovery.