From: Bill Erickson Date: Thu, 5 Apr 2018 15:50:08 +0000 (-0400) Subject: ang2 notes X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=750049b074c9b4a21a1b59a6cdd5532757fe3853;p=working%2Frandom.git ang2 notes Signed-off-by: Bill Erickson --- diff --git a/NOTES.adoc b/NOTES.adoc index 28195b627..8b914983b 100644 --- a/NOTES.adoc +++ b/NOTES.adoc @@ -1,38 +1,32 @@ -= AngularJS -> Angular2+ Upgrade Notes == += AngularJS -> Angular2+ Upgrade Notes = -== State of AngularJS = +== State of AngularJS == -AngularJS future is uncertain, but it won't disappear tomorrow: + * Final AngularJS release 1.7 June 2018 + * 3-year LTS -- support ends June 2021. + * EG version 3.7 (March 2021) -https://stackoverflow.com/questions/37037251/angularjs-1-x-support-lifecycle/37037365 - -We have a little breathing room. - -[quote] --------------------------------------------------------- -Although my opinion isn't official, I would expect that the community of -developers will fork Angular 1.x and continue to maintain it for many -years. There are far too many large applications written on top of -Angular 1.x to just drop everything and dash off to Angular2. --------------------------------------------------------- +https://blog.angular.io/stable-angularjs-and-long-term-support-7e077635ee9c == Writing a new app the Angular2 way to experiment == * https://angular.io/tutorial - ** Angular2+ is AngularJS in Greek. Same concepts, new language. + ** Angular5 is AngularJS in Greek. Same concepts, new language. ** Modules, Services, Directives+Controllers=Components -=== Typescript === +=== General Stuff === * TypeScript is not required, but is almost universally assumed in - Angular, RXJS, Mozilla docs, stackoverflow, you-name-it documentation. + Angular, RXJS, ng-bootstrap, stackoverflow, you-name-it documentation. + * NodeJS automates various developer tasks. ** Handles boilerplate code generation. ** TypeScript AOT (ahead-of-time) compiler ** NodeJS is not required for serving files in real time. - ** Some dependencies we manually manage (grunt-uglify, karma, etc.) are + ** Some dependencies we manually manage (uglify, karma, etc.) are baked into 'ng build' ** TypeScript and other dependency mangling can be precompiled to JS for deployment to use with Apache, etc. + ** 'ng update' updates dependencies (edits package.json) [source,sh] -------------------------------------------------------- @@ -203,6 +197,7 @@ import * as $ from 'jquery'; *** TODO: how will mixing bootstrap versions behave? * Phase III ** Migrate existing apps to /eg2/ +*** Goal is new UI's are indistinguishable -- no new training, etc. ** All new apps are built in /eg2/ * Phase IV ** Remove any remaining /eg/staff/ code / templates