5. Request Life Cycle
CLIENT
Angular
SERVER
Node
Express
COMMERCE
BOARDING
SERVICE
6. HTML & Angular: Client-side
AngularJS is a JavaScript framework used to create dynamic
web apps.
Created new views using HTML & Angular’s ng-model and ng-click
directives
customerLanding.html qualifierLog.html
queryResults.html qualiferResponses.html
appDetails.html persCredReport.html
Created a new controller using Angular and JavaScript
customerLanding.js - external controller used to handle SUBMIT
($scope) and to pass query parameters ($http) to Express using
Angulars HTML Method: $http.get
Internship Program 7
7. Express & Node: Server-side
Express (web application framework for Node)
Receives requests from Angular and passes them to
Node, then returns responses from Node back to
Angular
added code to api.js - /api/custLandingQuery
Node passes request to Commerce Boarding Service
added code to ipc.js - this.custLandingQ
Internship Program 8
19. New Skills
• Experience with the event-driven, non-blocking I/O model
used with web applications
• How to recognize asynchronous code
• The nuts & bolts of Angular, Express, and Node APIs and
HTTP METHODS
• Express & Node - all I/O operations must include a callback
• How to create and use angular.module() & Node
module.exports
• How to pass query params: Angular Express Node
• Structuring queries into acceptable formats for a service
• Balsamiq, GIT and repositories
• The difference between JS object and .json file