addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscontroller-playcrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1light-bulblinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonprintShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

JSChannel BLR :: Meetup 12 - JavaScript Promises (By Pulak)

Contents 

1. What are Promises? 

2. How do Promises Work? 

3. When to use Promises? 

4. When not to use Promises? 

5. What are the Promise terminologies? 

6. Examples

• How Angular has implemented promise? 

• How jQuery has implemented promise? 

• Promise Libraries 

a) Bluebird

7. The Future of Promises 

8. Wrapping Up

Join or login to comment.

  • sakthivel

    Got solution for the problems what i was looking for. Thanks team.

    1 · August 25, 2014

    • Pulak Kanti B.

      That's wonderful!!!! Happy that you liked it.

      August 25, 2014

  • Bharath

    Great session Pulak.... I dont think i would have to learn/read about it again about Promises. Its imprinted with me now... Although the session was long :P

    1 · August 25, 2014

  • Santhosh

    Very good session Pulak! Lot of effort has gone in to come up with those range of examples and with all the different frameworks - jQuery, Q, Angular & Node!. Very informative. Thank you!

    And thanks to Ramnique for giving us a brief about generators. Another topic on my list to explore :)

    1 · August 24, 2014

    • Pulak Kanti B.

      Thanks a lot for your kind words Santosh!!!!

      August 24, 2014

  • Dilip K.

    Hi Pulak, Great session. Could you please share the slide or at least the links you had on last slide.

    1 · August 24, 2014

    • Pulak Kanti B.

      I have already sent a mail to the group with all the links. Please check your mail once and let me know

      August 24, 2014

    • Pulak Kanti B.

      BTW i am happy that u liked the session

      August 24, 2014

  • Samar P.

    Thanks Pulak & Ramnique for the "Promise" session. It was fantastic. @Ramnique : Could you please share files?

    1 · August 24, 2014

    • Dilip K.

      @Ramnique: please share any links related to content you like to suggest.

      1 · August 24, 2014

  • Naresh s.

    superb session by Pulak! Loved it!

    1 · August 24, 2014

    • Pulak Kanti B.

      Thanks a lot Naresh!!! I am glad that you liked it

      August 24, 2014

    • Pulak Kanti B.

      @Naresh please upload the pics if have any

      August 24, 2014

  • A former member
    A former member

    it was really a long session, but it was extremely fruitful, the concept of 'Promises' as i understood through so many examples, simplifies the life of developer specifically for front-end ajax call functions. Thanks Pulak

    1 · August 23, 2014

    • Pulak Kanti B.

      I am very happy that you found the session very useful.

      August 23, 2014

  • Pulak Kanti B.

    Thank you all for coming on a Saturday morning and have been engaged in more than 4 hour long Javascript discussions. YOU guys are awesome!!!. Thanks to HolidayIQ for hosting the meetup and showing such wonderful enthusiam. Guys please share your feedbacks with us so that we can improve of what we all are doing. Cheers...

    August 23, 2014

    • Pulak Kanti B.

      Further, a very very big thanks to Ramnique for taking a wonderful session on ES6 generators, Promises, thunks, Co and their implementation in Node.js

      Ramnique, you really made me interested in looking into whatever you have taught us and i will get back to you in future if i face any doubts/difficulties.

      August 23, 2014

  • Aditya B.

    thanks to the organizers, holidayIQ, Pulak and Ramnique. I had a great time! learnt stuf.

    1 · August 23, 2014

  • A former member
    A former member

    superb

    1 · August 23, 2014

  • Srinivas G.

    For any visual learners out there, who are new to the concept of promises in AngularJS here is a nice article I stumbled upon that explains this in cartoons..

    http://andyshora.com/promises-angularjs-explained-as-cartoon.html

    4 · August 23, 2014

  • Rajan C.

    I'm facing a node.js/sails.js promises issue. Any pointers would be useful. Thanks in advance.

    https://stackoverflow.com/questions/25429495/waterline-sails-0-10rc8-0-10rc9-beforecreate-not-executing-in-sequence

    August 21, 2014

    • Pulak Kanti B.

      Sure i will check

      1 · August 22, 2014

    • Naresh s.

      it'll also be great if you can start a discussion thread on this topic at this meetup site, so folks can respond to it.

      1 · August 23, 2014

  • bhardwaj

    thankyou will read that file now

    1 · August 23, 2014

  • bhardwaj

    Hi, I am new to ui development,I have downloaded all the examples of pulkits urls as zip and installed node.js runtime environment how do I configure the examples?

    August 22, 2014

    • Srinivas G.

      Easy way would be to install the dependencies through "bower install" or just hang in there till tomorrow and the guys at the meetup will teach you all about it

      1 · August 22, 2014

    • Pulak Kanti B.

      You can read the README file where i have written the instructions in that github link

      August 22, 2014

  • Aditya B.

    govt. has announced that schools and offices be closed tomorrow. Is this still on?

    August 22, 2014

    • Pulak Kanti B.

      We don't have such information. So this meetup is still on.

      Can you please share the link where you got this info?

      August 22, 2014

    • Aditya B.

      it came on a local news channel; but anyways here, https://twitter.com/nd...­

      August 22, 2014

  • Pulak Kanti B.

    Requirements on your machine:

    1. Node.js (for running Node examples)

    2. Grunt, Bower, Yeoman (for Angular examples)

    Clone the following repository for examples:
    https://github.com/pulakb/JavaScript-Promises.git

    August 20, 2014

    • Pulak Kanti B.

      It will be helpful for all if you have the examples downloaded and configured before attending the session.

      If you face any issue running those examples, do let me know so that i can suggest you possible solutions.

      August 22, 2014

  • Prashant N.

    This would be my first meetup..pretty excited!!!
    Heard about Promise here itself,so are there any prerequisites to attend this session?

    1 · August 8, 2014

    • Pulak Kanti B.

      No problem Prashant, we will discuss all to understand the topic

      August 8, 2014

    • Prashant N.

      I am comfortable with callback methods.Thanks for the reply.Hope to see you all soon.Cheers!!!

      August 21, 2014

  • Abhishek N.

    Ok at sharp 10 AM on Saturday 23th Aug.

    August 19, 2014

  • Pulak Kanti B.

    Hello All,

    HolidayIQ will be hosting this event at their office.

    Please be there on time for the meetup.

    1 · August 11, 2014

    • Pulak Kanti B.

      Guys, we will start the meetup 10 am sharp since we need to cover lot many items.

      August 18, 2014

  • Pulak Kanti B.

    Guys,

    Start putting your queries here for the topic so that I can try to cover all of them during my presentation.

    August 2, 2014

    • Pulak Kanti B.

      No queries posted till date, wow!!!!

      August 17, 2014

    • A former member
      A former member

      Pulak please do a hangouts so we can all watch and learn? :)

      August 17, 2014

  • Pulak Kanti B.

    @Adarsh: I do not know why have you changed the location.

    I will request all the group members not to change the location without consulting the organizers.

    We will update the location of this meetup in coming days as we are already in talks with one company.

    August 9, 2014

  • adarsh­ changed the location to Flipkart Internet Private Limited,

    August 8, 2014

  • Pulak Kanti B.

    Who are all using JavaScript Promises in their project?

    May 27, 2014

  • Pulak Kanti Bhattacharyya changed the date and time from Saturday, September 20, 2014 at 10:00 AM to Saturday, August 23, 2014 at 10:00 AM

    May 12, 2014

  • Pulak Kanti B.

    This will be my second talk after Unit Testing Angular.js using Jasmine and Karma discussion at JSChannel Bengaluru.

    Hope to meet you there at this very important JavaScript topic.

    Cheers,
    Pulak

    1 · May 12, 2014

Our Sponsors

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy