Consuming a Web Service
About This Space
This app consumes a web service and display the information in a grid
Last updated on June 28, 2019
Public Permissions: View Open/Fork Run Comment
Consuming a Web Service Template
This template is a simple demonstration of how to consume a Web Service using Node.js. It retrieves currency exchange data and presents it in a sortable grid.
Async with No Callbacks
To simplify development, NodeRun provides pjs API to make asynchronous requests without having to code callbacks. These API reduce complexity allowing you to code business application logic in a straightforward top-down manner.
pjs API
- pjs.sendRequest() - Send a Web Services request from Node.js server-side code
- display.grid.replaceRecords() - Clear and add records to a Rich Display Grid
- pjs.defineDisplay() - Create a Rich Display object from json definition
- display.screen.execute() - Display a screen and wait for user to respond
More Spaces By misodle (@misodle)
- 1
- 2
A demo of how to build Rich Displays in the Visual Designer that integrate with external CSS and JavaScript file
2354
0
0
2217
0
0
2340
0
0
Stateless demo app, where the mobile client or the browser would control the flow of the application
2163
0
0
This is a simple demo of Fibers! Fibers simplifies code by avoiding messy code known as "callback hell", "promises hell", or "async/await hell". Once Fibers is setup, you never have to think about callbacks or promises (they are handled automatically for you).
2308
0
0
2241
0
0
- 1
- 2
Be the first to comment:
Comments