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

alexanderism55: asynchronous programming, 3 weeks #400

Open
alexanderism55 opened this issue Sep 1, 2022 · 4 comments
Open

alexanderism55: asynchronous programming, 3 weeks #400

alexanderism55 opened this issue Sep 1, 2022 · 4 comments

Comments

@alexanderism55
Copy link
Contributor

alexanderism55 commented Sep 1, 2022

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.
@alexanderism55
Copy link
Contributor Author

alexanderism55 commented Sep 1, 2022

Week 3

I Need Help With:

  • The whole idea of asynchronous programming.

What went well?

  • Fetch and promises.

What went less well?

  • The concept of post and put

Lessons Learned

  • The basics of interaction with a server sort of. Im getting the hang of it

Sunday Prep Work

---- END CHECK-IN TEMPLATE ---->

@alexanderism55
Copy link
Contributor Author

alexanderism55 commented Sep 1, 2022

Me

What was not clear, where did you get stuck?

  • Post and put. This module is the most challenging aspect of this course by far.

What was clear, what did you master?

  • Promises

Where can you still use some help?

  • Post and put

Where can you help others moving forwards?

  • Im afraid to say that i do not feel like i can help anyone on this model yet.

The Course

What can there be more of?

  • Mini projects

What can there be less of?

What material were most helpful (from HYF or elsewhere)?

  • Bunch of websites, not exactly one.

What HYF material was least helpful?

Any suggestions for future classes?

  • More mini projects

---- END RETRO TEMPLATE ---->

@danielhalasz
Copy link
Contributor

  • The whole idea of asynchronous programming.

hm, any specific reason for the confusion?

  • The concept of post and put

POST is usually for sending new data to a server and PUT is for changing an already existing data and PATCH is for updating only one detail about an existing data

@danielhalasz
Copy link
Contributor

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