Skip to content

Alex : Asynchronous programming : 3 weeks #174

@alex-maletskyi

Description

@alex-maletskyi

my fork of module repository

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.

Week 2

I Need Help With:

  • Nothing at the moment.

What went well?

  • Went over the previous concepts from last weeks.

What went less well?

  • Not enough time to go over everything for now, but will catch up on the reading and practice in the future.
  • Difficult to grasp the understanding of how promises work and in what cases should we be using them. I think I just need more practice.

Lessons Learned


Sunday Prep Work


Week 3

I Need Help With:

  • Nothing at the moment.

What went well?

  • Practiced working with promises and got a better understanding of them.
  • Used external resources to read on promises.

What went less well?

  • Just lacking in time to finish assignments on time.

Lessons Learned


Sunday Prep Work


Metadata

Metadata

Labels

check-inYou can use the check-in template to track your module learning objectives, your weekly progresschecked-1After review, we add the checked labelchecked-2checked-3individual

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions