eg 2017 hatch review doc
authorBill Erickson <berickxx@gmail.com>
Mon, 23 Jan 2017 18:30:42 +0000 (13:30 -0500)
committerBill Erickson <berickxx@gmail.com>
Mon, 23 Jan 2017 18:30:42 +0000 (13:30 -0500)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
hatch-review.adoc [new file with mode: 0644]

diff --git a/hatch-review.adoc b/hatch-review.adoc
new file mode 100644 (file)
index 0000000..dbd6ed1
--- /dev/null
@@ -0,0 +1,60 @@
+= Happy Hatch's Hoppalong Hootenanny
+:author: Bill Erickson, Software Development Engineer, King County Library System
+:email: berickxx@gmail.com
+:date: Evergreen Conference, April 7, 2017
+:duration: 50 
+:data-uri:
+:backend: slidy
+:max-width: 45em
+
+== Topics
+
+
+== Native Messaging API
+
+https://developer.chrome.com/extensions/nativeMessaging
+
+The Hatch extension 
+Application passes JavaScript objects to the Hatch extension
+Browser passes JSON messages 
+
+TODO: screen shot of hatch Icon and permission request dialog.
+
+Note perm request only happens.
+
+
+== Native Messaging API
+
+TODO: Make this an image
+
+Application JavaScript
+    <=> Content Script JavaScript
+        <=> Extension JavaScript
+            <=> STDIO [JSON]
+                <=> Hatch Java 
+                    <=> Printer / FileSystem
+
+
+== Native Messaging API
+
+Sample print message JSON.
+
+[source,js]
+---------------------------------------------------------------------------
+{
+    "action":"print",
+    "content":"<b>Hello, World!</b>",
+    "contentType":"text/html",
+    "showDialog":true,
+    "msgid":10,
+    "from":"page",
+    "clientid":5319,
+    "origin":"https://eg-dev-local"
+}
+---------------------------------------------------------------------------
+
+== Hatch Files
+
+1. Settings locations / properties
+2. hatch.log
+