From afd0c457ed7158c379b9ac67e78002e8c5290698 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Thu, 21 Apr 2016 10:09:34 -0400 Subject: [PATCH] eg 2016 slides Signed-off-by: Bill Erickson --- back-to-future.adoc | 5 +---- browser-client-angular.adoc | 55 ++++++++++++++++++++++++++++++--------------- 2 files changed, 38 insertions(+), 22 deletions(-) diff --git a/back-to-future.adoc b/back-to-future.adoc index b2cce5e1b..04b213830 100644 --- a/back-to-future.adoc +++ b/back-to-future.adoc @@ -52,10 +52,7 @@ == Staff Client Evolution -* XUL Client -* Browser Client - -== XUL Client Deprecation +== XUL Client * TODO image diff --git a/browser-client-angular.adoc b/browser-client-angular.adoc index 9265058b9..ce7ab0366 100644 --- a/browser-client-angular.adoc +++ b/browser-client-angular.adoc @@ -26,23 +26,27 @@ * Local CSS via Template Toolkit ** Open-ILS/src/templates/staff/css/ -== I18N / L10N - -* TT2 +== I18N : In-Template Strings [source,html] ------------------------------------------------------------
[% l('Renew Items') %]
+
[% l('Welcome To [_1]', '{{lib_name}}') %]
+------------------------------------------------------------ + +[source,js] +------------------------------------------------------------ +$scope.lib_name = some_org.name(); ------------------------------------------------------------ -* AngularJS / egStrings +== I18N : Dynamic Strings [source,html] ------------------------------------------------------------ ------------------------------------------------------------ @@ -52,42 +56,57 @@ angular.module('egCoreMod').run(['egStrings', function(s) { egAlertDialog.open(egCore.strings.RENEW_ITEMS); $scope.some_label = egCore.strings.$replace( - egCore.strings.NUM_HOLDS, - {hold_count : count} + egCore.strings.WELCOME_MSG, + {lib_name : some_org.name()} ); ------------------------------------------------------------ == Network Communication -WebSocket - https://en.wikipedia.org/wiki/WebSocket - -* Bi-directional data streams -* Persistent Connections -* Cross-origin support +WebSocket -- Persistent, full-duplex streams. == Scripting * AngularJS - https://angularjs.org/ ** Open-ILS/web/js/ui/default/staff/ +[source,html] +------------------------------------------------------------ +
{{hold_count}}
+------------------------------------------------------------ + +[source,js] +------------------------------------------------------------ +$scope.hold_count = array_of_holds.length; +------------------------------------------------------------ + == Scripting: Build and Deploy * Bower - http://bower.io/ - ** JavaScript distribution mechanism + ** Dependency Manager * Jasmine - https://jasmine.github.io/ ** AngularJS testing framework. * PhantomJS - http://phantomjs.org/ - ** Browser-less (server-side) JS unit test engine. + ** Browser-less (server-side) JS engine. * Grunt - http://gruntjs.com/ - ** Coordinates all of the above. + ** Building and testing * Node.js - https://nodejs.org/en/ - ** Each of the above are Node.js packages or dependencies. + ** Runs Grunt and Bower + +== Browsers can do Most Of The Things. -== Printing / External Storage + * Seemlessly printing to multiple printers + * Secure/external file storage + ** offline transactions + ** workstation registrations + * Interacting with 3rd-party services running on the desktop. + ** RFID pad + +== Hatch - * Hatch ** Current Repo: http://git.evergreen-ils.org/?p=working/random.git *** Branch collab/berick/hatch2 ** Future Repo: http://git.evergreen-ils.org/?p=working/Hatch.git * http://wiki.evergreen-ils.org/doku.php?id=dev:browser_staff:hatch:who_needs_it[Who Needs Hatch?] + -- 2.11.0