Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 916 Bytes

README.md

File metadata and controls

24 lines (20 loc) · 916 Bytes

i-promised-in-js

Experimenting with Promises and Generators

Motivation

Understanding the Difference between Anonymous Callback, Named Callbacks, Promises, Promises with generators and Async/Await methods

Technologies Used

  • Javascript with ES6 Features and Vanilla templating
  • jQuery
  • Babel Standalone and Babel Polyfill for generator functions
  • Bootstrap
  • PrettifyJS
  • BluebirdJS for Promise Coroutine( Alternative co, q)

Design Patterns Used

  • Object Literal Pattern
  • Revealing Module Pattern

Demos

  1. Anynonymous callbacks (https://legndery.github.io/i-promised-in-js/#basic1)
  2. Named Callbacks (https://legndery.github.io/i-promised-in-js/#basic2)
  3. Promises (https://legndery.github.io/i-promised-in-js/#promise1)
  4. Promises with Generators using BluebirdJS (https://legndery.github.io/i-promised-in-js/#promise2)
  5. Async/Await (https://legndery.github.io/i-promised-in-js/#promise3)