Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minju: Asynchronous Programming , 3 Weeks #396

Open
minjupgeorge opened this issue Aug 19, 2022 · 3 comments
Open

Minju: Asynchronous Programming , 3 Weeks #396

minjupgeorge opened this issue Aug 19, 2022 · 3 comments

Comments

@minjupgeorge
Copy link
Contributor

Asynchronous Programming

Learning Objectives

  • 🥚 You understand the JavaScript Event Loop, and can demonstrate this by using setTimeout and setInterval to schedule simple tasks.
  • 🥚 You can explain why Asynchronous Programming is important for programs that have blocking and non-blocking tasks.
  • 🥚 You can explain the basics of the Client/Server model and HTTP requests and can fetch data from RESTful APIs.
  • 🐣 You can break down an asynchronous problem into smaller tasks and solve it using promises. This includes identify which tasks depend on each other and which are independent:
    • dependent tasks: The return value from one task is required to start the next task, these must be completed in a specific order - .then
    • independent tasks: These tasks do not use each other's return values, they can be completed at the same time - Promise.allsystem.
  • 🐣 You can fetch data from an API and render it into the DOM using /api-calls, /handlers and async/await syntax.
  • 🐣 You can write unit tests for functions that return promises using async/await syntax.
@minjupgeorge
Copy link
Contributor Author

Week 1

I Need Help With:

  • I clearly understood the difference between Asynchronous and Synchronous Programming.
  • so far all good

What went well?

  • Js Event loops, setInterval, setTimeOut and clearInterval are practiced and understood.

  • I have started doing the stopwatch and is yet to complete.

What went less well?

  • This week I was busy with kids so I was not able to concentrate much. Still I will try to complete exercises by Sunday.

Sunday Prep Work

  • Started doing the exercises .

@minjupgeorge
Copy link
Contributor Author

I have completed stopwatch needs to do separation.
MyStopwatch

@minjupgeorge
Copy link
Contributor Author

Week 2

I Need Help With:

  • Earlier I was confused with promises but after doing User-API project understood the concept well.

What went well?

  • so far all good.
  • I have tried User-API . still separation is pending. will complete soon
    User-API

What went less well?

  • I have spend lot of time to display users in an ordered list for User-API project .Unfortunately it was not properly displayed.
  • still DOM manipulation feeling difficult.

Sunday Prep Work

  • Completed few exercises and need to prepare for next class

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants