Skip to content

legndery/i-promised-in-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

experimenting with Promises and Generators

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published