Comments (3)
This is a good idea, and well-suited for the ideas in this example. About the questions you raised specifically, I don't think it is feasible to show "best practices", because there are wide and the human disagreements on what the best practices are. Deployment preferences seem to be very strongly local from organization to organization. For example you mentioned containers. At some organizations there is a preference for a large number of very small containers, but other organizations the opposite, and there are other organizations which are very successful and avoid containers completely (using something like lightweight virtual machines to reduce the total layering overhead versus containers).
So if I can come up with a way to show things here in this example, I would instead aim to show several alternative approaches rather than try to pick a best practice.
from angular-enterprise-example.
Here's what I have in mind. Since this update from last summer above, I've used containers more, and can more fluently demonstrate them. My plan is actually to build the containers a couple of different ways, just to illustrate what is possible.
Path 1: One
- One container for the Node server, including serving the client, suitable for demo and small deployment
Path 2: server, client
- One container for the Node server, a second container that serves the static client files, built on an off-the-shelf nginx base container or similar
Path 3: many
- container for the Node server
- container for a database
- container for the admin app static files
- container for the portal app static files
- container for the agent app static files
- container for a Java server
- container for a .NET (the new "core" that easily runs on Linux and containers) server
from angular-enterprise-example.
Additional thoughts:
Once these are built as containers, deploy them to a public cloud. Perhaps the Google Cloud, which I have already been using in commercial work to deploy containers. This takes really very very little effort, and would result in a running instance that anyone could play with.
from angular-enterprise-example.
Related Issues (20)
- Share TypeScript types between client and server
- RESTful JSON CRUD - multiple entities HOT 1
- Use Angular Material HOT 2
- Lazy load top-level feature routes (non-ngrx)
- AOT with lazy-loaded routes with cross-package feature routes HOT 2
- Use json:api rather than ad hoc REST JSON
- Breadcrumbs
- Data in RDBMS
- GraphQL-in-client-only example HOT 1
- SOAP server example HOT 1
- Use ngrx-store-freeze HOT 1
- Windows build / CI with AppVeyor
- yarn run build fails HOT 1
- Universal / SEO / AppShell Example HOT 1
- Installing any new package via yarn throws an error. HOT 3
- Explanatory comments throughout HOT 1
- Publish Compodoc output HOT 1
- Modernize use of NgRx in "fruit" example
- Generate numerous modules, components for bulk HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-enterprise-example.