You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 22, 2024. It is now read-only.
Angular 2 now is able to run on the server so what's the next step?
We can now take advantage of the benefits of having this control over the client's environment. We can create a small server layer that uses any of the underlying Node Frameworks such as ExpressJS, Hapi.js, or Koa.js. Doing so would be a great way for, normally client only developers, to be introduced to the backend.
Having full control over the client's environment allows us to dramatically improve the developer experience with features such as:
TypeScript inline script tags
ES6 features such as and SystemJS
allow users to write a component DSL (such as JSX, RiotJS, or jsBlocks)
better control over testing/development/production environments
better logging
live app configuration
default jwt setup
asset pipeline
inject ES6 polyfills
inject RxJS as Observable
can be front-end agnostic
removing unnecessary Angular imports for each file (like Rails)
@gdi2290 This is not an actionable item in any way. Perhaps we should consider having a separate place (wiki or wherever) that has "thoughts for the future". Let's talk about this more and move it to the appropriate place.
Angular 2 now is able to run on the server so what's the next step?
We can now take advantage of the benefits of having this control over the client's environment. We can create a small server layer that uses any of the underlying Node Frameworks such as ExpressJS, Hapi.js, or Koa.js. Doing so would be a great way for, normally client only developers, to be introduced to the backend.
Having full control over the client's environment allows us to dramatically improve the developer experience with features such as:
import
s for each file (like Rails)prior art
https://github.com/yahoo/fluxible
https://muut.com/riotjs
https://github.com/astoilkov/jsblocks
https://github.com/linnovate/mean
https://github.com/meteor/meteor
https://github.com/rails/rails
https://github.com/django/django
https://github.com/playframework/playframework
https://github.com/elierotenberg/react-nexus
https://github.com/facebook/relay
the Universal app is
<app>
while the Server app is the html document itself that we can call an<html>
component.currently
<doctype>
needs to be injected after the factcode samples
https://gist.github.com/gdi2290/efa2061467c92243ca58
https://gist.github.com/gdi2290/f07fd579c6ec911d2305
https://gist.github.com/gdi2290/7c2280655dbf50450444
modules:
mincer
RxJS Next
polyfills
bunyan
vantage
webpack
webpack-require
autopolyfiller
related:
ngScripts #72
Environment Service #44
The text was updated successfully, but these errors were encountered: