Created
October 2, 2020 03:59
-
-
Save snewcomer/86d32b1c6f2cede33754a31d87545e17 to your computer and use it in GitHub Desktop.
ember-cli-fastboot proposal
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Architecture | |
A possible future design of ember-cli-fastboot which achieves the goal of "production ready." | |
### General Design | |
ember-cli-fastboot combines a couple of critical components for a user's experience in development and production. | |
1. **Production** - fastboot service, utils to add to and clear the shoebox, and managing the HTML on handoff to the client. | |
2. **Development** - an express server that instantiates a FastBoot instance, plugs the FastBoot middleware into the pipeline, reload capabilities and build time utilities. | |
This helps users get up and running in development. However, when deploying to production, you are likely to deploy the provided `fastboot-app-server` to server side render your app. | |
This results in a variation that might not represent your eventual production environment. | |
### Proposal | |
Enable using the production `fastboot-app-server` during development. In addition, extensible build tasks and middleware customization. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment