generated from HYF-Class20/home
-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
check-inYou can use the check-in template to track your module learning objectives, your weekly progressYou can use the check-in template to track your module learning objectives, your weekly progresschecked-1After review, we add the checked labelAfter review, we add the checked labelchecked-2week-2week-3week_1
Milestone
Description
Learning Objectives
- You understand the JavaScript Event Loop, and can demonstrate this by using
setTimeoutandsetIntervalto 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
fetchdata 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.
- dependent tasks: The return value from one task is required to start the next task, these must be completed in a specific order -
- You can fetch data from an API and render it into the DOM using
/api-calls,/handlersandasync/awaitsyntax. - You can write unit tests for functions that return promises using
async/awaitsyntax.
Week 1
- Chronometer my fork of exercises repo
I Need Help With:
- Everything is good for now.
What went well?
- Understood stack queue concepts.
- Could tell the difference between synchronous and asynchronous processes.
- Understood the call stack mechanism and how it serves a great purpose when calling functions asynchronously.
- At the same time used them for this week project.
What went less well?
- Took a long time to understand these concepts as they can be confused with past concepts (listeners, handlers).
- Have to put them in practice which was difficult outside
Lessons Learned
- Once we use these concepts in a backend environment they'll become clearer.
Sunday Prep Work
- Keep working on the project
Week 2
- [My fork ] User Fetch (https://github.com/jialvaradob/asynchronous-programming-template)
I Need Help With:
- I'm struggling to use functions inside promises as I don't understand the structure very well.
What went well?
What went less well?
Lessons Learned
Sunday Prep Work
Finishing the project.
Doing as many exercises as possible.
Week 3
- [My fork ] Joke fetch (https://github.com/jialvaradob/joke-thingy)
I Need Help With:
- Nothing so far.
What went well?
- I could do the basic function of the project.
- Understood what is the difference between two ways of writing the same promise handling.
- Uses of async and await
- general syntax of promises and how they work,
What went less well?
- Time constraints were keeping me from polishing the project and adding test cases.
- The scope was to make at least 2 apps and i only finished one.
- The functionality could be better.
Lessons Learned
- Keep practicing the best way to make fetching more readable.
- Study more the GET, REQUEST
Sunday Prep Work
Courage
---- END CHECK-IN TEMPLATE ---->
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
check-inYou can use the check-in template to track your module learning objectives, your weekly progressYou can use the check-in template to track your module learning objectives, your weekly progresschecked-1After review, we add the checked labelAfter review, we add the checked labelchecked-2week-2week-3week_1