Skip to content

Commit

Permalink
updated readme files
Browse files Browse the repository at this point in the history
  • Loading branch information
Bob Dill committed Oct 31, 2017
1 parent b83d940 commit 3905eac
Show file tree
Hide file tree
Showing 11 changed files with 54 additions and 103 deletions.
4 changes: 2 additions & 2 deletions Chapter03/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# bd test Business Network
# Chapter 03: Installing your Development Environment

> Zero To Blockchain Chapter04 for hyplerledger compose.
> Zero To Blockchain Chapter03 for hyplerledger compose.
This business network defines:

Expand Down
4 changes: 2 additions & 2 deletions Chapter04/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Zero To Blockchain Chapter04 for hyplerledger compose.
# Zero To Blockchain Chapter04 for hyplerledger composer.

[Table of Contents](../README.md)

This chapter focuses on the following files:
```
Chapter 05
Chapter 04
↳ network
permissions.acl
queries.qry
Expand Down
2 changes: 1 addition & 1 deletion Chapter05/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[Return to Table of Contents](../README.md)

In this chapter, we will build a nodeJS web server which will interact with the HyperLedger Composer defined Blockchain. This runs on HyperLedger Fabric Version 1.0. The code that we will write is managed in this chapter and all the subsequent chapters in the following folder structure:
In this chapter, we will build a nodeJS web server which will interact with the HyperLedger Composer defined Blockchain and create an administrative interface for the network. This runs on HyperLedger Fabric Version 1.0. The code that we will write is managed in this chapter and all the subsequent chapters in the following folder structure:

```
Chapter 05
Expand Down
4 changes: 2 additions & 2 deletions Chapter06/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

[Return to Table of Contents](../README.md)

In this chapter, we will build a nodeJS web server which will interact with the HyperLedger Composer defined Blockchain. This runs on HyperLedger Fabric Version 1.0. The code that we will write is managed in this chapter and all the subsequent chapters in the following folder structure:
In this chapter, we will create the Buyer Company view and add server-side services to support it. This runs on HyperLedger Fabric Version 1.0. The code that we will write is managed in this chapter and all the subsequent chapters in the following folder structure:

```
Chapter 05
Chapter 06
↳ controller
↳restapi
router.js
Expand Down
4 changes: 2 additions & 2 deletions Chapter07/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

[Return to Table of Contents](../README.md)

In this chapter, we will build a nodeJS web server which will interact with the HyperLedger Composer defined Blockchain. This runs on HyperLedger Fabric Version 1.0. The code that we will write is managed in this chapter and all the subsequent chapters in the following folder structure:
In this chapter, we will create the Seller Company view and add server-side services to support it. This runs on HyperLedger Fabric Version 1.0. The code that we will write is managed in this chapter and all the subsequent chapters in the following folder structure:

```
Chapter 05
Chapter 07
↳ controller
↳restapi
router.js
Expand Down
4 changes: 2 additions & 2 deletions Chapter08/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

[Return to Table of Contents](../README.md)

In this chapter, we will build a nodeJS web server which will interact with the HyperLedger Composer defined Blockchain. This runs on HyperLedger Fabric Version 1.0. The code that we will write is managed in this chapter and all the subsequent chapters in the following folder structure:
In this chapter, we will create the (third party) Provider Company view and add server-side services to support it. This runs on HyperLedger Fabric Version 1.0. The code that we will write is managed in this chapter and all the subsequent chapters in the following folder structure:

```
Chapter 05
Chapter 08
↳ controller
↳restapi
router.js
Expand Down
4 changes: 2 additions & 2 deletions Chapter09/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

[Return to Table of Contents](../README.md)

In this chapter, we will build a nodeJS web server which will interact with the HyperLedger Composer defined Blockchain. This runs on HyperLedger Fabric Version 1.0. The code that we will write is managed in this chapter and all the subsequent chapters in the following folder structure:
In this chapter, we will create the Shipping Company view and add server-side services to support it. This runs on HyperLedger Fabric Version 1.0. The code that we will write is managed in this chapter and all the subsequent chapters in the following folder structure:

```
Chapter 05
Chapter 09
↳ controller
↳restapi
router.js
Expand Down
4 changes: 2 additions & 2 deletions Chapter10/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

[Return to Table of Contents](../README.md)

In this chapter, we will build a nodeJS web server which will interact with the HyperLedger Composer defined Blockchain. This runs on HyperLedger Fabric Version 1.0. The code that we will write is managed in this chapter and all the subsequent chapters in the following folder structure:
In this chapter, we will create the Finance Company view and add server-side services to support it. This runs on HyperLedger Fabric Version 1.0. The code that we will write is managed in this chapter and all the subsequent chapters in the following folder structure:

```
Chapter 05
Chapter 10
↳ controller
↳restapi
router.js
Expand Down
4 changes: 2 additions & 2 deletions Chapter11/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

[Return to Table of Contents](../README.md)

In this chapter, we will build a nodeJS web server which will interact with the HyperLedger Composer defined Blockchain. This runs on HyperLedger Fabric Version 1.0. The code that we will write is managed in this chapter and all the subsequent chapters in the following folder structure:
In this chapter, we will integrate the User Experiences for Buyer, Seller, Provider and Shipper in a single web page to streamline demonstrating the network.

```
Chapter 05
Chapter 11
↳ controller
↳restapi
router.js
Expand Down
2 changes: 1 addition & 1 deletion Chapter12/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ZeroToBlockchain Chapter 11: Building the Unified User Experience
# ZeroToBlockchain Chapter 12: Creating, monitoring and consuming events

[Return to Table of Contents](../README.md)

Expand Down
121 changes: 36 additions & 85 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,85 +1,36 @@
# ZeroToBlockchain Chapter 11: Building the Unified User Experience

[Return to Table of Contents](../README.md)

In this chapter, we will update the code from Chapter 11 to include event creation and monitoring on the server and event subscription and notification in the browser.

```
Chapter 12
↳ controller
↳restapi
router.js
↳features
↳composer
autoLoad.js
hlcAdmin.js
hlcClient.js <== Updated
queryBlockChain.js
Z2B_Services.js <== Updated
Z2B_Utilities.js
↳ text
multi-lingual.js
resources.js
↳ HTML
index.html
admin.html
buyer.html <== Updated
ceateConnectionProfile.html
createMember.html
createOrder.html
deleteConnectionProfile.html
financeCo.html <== Updated
getMemberSecret.html
removeMember.html
provider.html <== Updated
seller.html <== Updated
shipper.html <== Updated
singleUX.html
↳CSS
pageStyles.css
↳js
z2b-admin.js
z2b-buyer.js <== Updated
z2b-events.js <== Updated
z2b-financeCo.js <== Updated
z2b-initiate.js
z2b-provider.js <== Updated
z2b-seller.js <== Updated
z2b-shipper.js <== Updated
z2b-utilities.js
↳ network
permissions.acl
queries.qry
↳lib
sample.js <== Updated
↳models
base.cto
events.cto
sample.cto <== Updated
```
No new files are created. Fifteen existing files are updated:

## Files used in this chapter
### Web Server Code Unique to this Chapter
- **hlcClient.jss**
- add event monitoring to client routines
- add event notification to browser via web socket.
- it should be noted that this is a rough implementation for notifying the user of asynchronous events and is appropriate for a lightweight demo but inappropriate for a PoC or a production system.

### Defining the business network

- **/models/sample.CTO**
- add events to sample.CTO file
- **/lib/sample.js**
- add event notification to transactions


### Web Browser Code
- **all UX files**
- Add placeholder for notification icon and add placeholder for notification counter.
- **all UX javascript files**
- use subscribe, unsubscribe and notifyMe routines
- **z2b-events.js**
- add event support for alert subscription, notification
- **CSS/pageStyles.css**
- add support for notification icon and text
# ZeroToBlockchain
Tutorial on getting started with Blockchain on IBM Bluemix

Please note that this is not yet ready for public consumption. Comments are welcomed on the idea.

Base concept is:

Chapter 1 What is Blockchain? Concept and Architecture overview

Chapter 2 What's the story we'll implement

Chapter 2.1 Architecture for the Story

Chapter 3 [Creating the Blockchain Development Environment](./Chapter03/README.md)

Chapter 4 [Building your first network](./Chapter04/README.md)

Chapter 5 [Building the Admin User Experience](./Chapter05/README.md)

Chapter 6 [Building the Buyer User Experience](./Chapter06/README.md)

Chapter 7 [Building the Seller User Experience](./Chapter07/README.md)

Chapter 8 [Building the Provider User Experience](./Chapter09/README.md)

Chapter 9 [Building the Shipper User Experience](./Chapter09/README.md)

Chapter 10 [Building the Finance Company User Experience](./Chapter10/README.md)

Chapter 11 [Building the Unified User Experience](./Chapter11/README.md)

Chapter 12 [Events](./Chapter12/README.md)

Chapter 13 Deploying a demo on Bluemix/Kubernetes (available in late November)

Chapter 14 Debugging HyperLedger Composer inside Docker (available in late November)

0 comments on commit 3905eac

Please sign in to comment.