From 980ee99d31cee039029bec7c1a18e58cc4b9060b Mon Sep 17 00:00:00 2001 From: lee Date: Mon, 13 Jul 2020 10:02:22 +0100 Subject: [PATCH] adding corrections --- subjects/real-time-forum/README.md | 10 ++++++---- subjects/real-time-forum/audit/README.md | 4 ---- subjects/real-time-forum/typing-in-progress/README.md | 8 +++++--- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/subjects/real-time-forum/README.md b/subjects/real-time-forum/README.md index d3a81feac..51dbc2397 100644 --- a/subjects/real-time-forum/README.md +++ b/subjects/real-time-forum/README.md @@ -1,6 +1,6 @@ ## real-time-forum -Remember the forum you did a while ago? Well it's time to make one even better also using JS, with chat rooms, private messages, real time actions, live sharing video and live screen sharing too. Well, maybe not the last two. To get things straight there is a list below of what you will have to do. +Remember the forum you did a while ago? Well it's time to make one even better also using JS, private messages, real time actions, live sharing video and live screen sharing too. Well, maybe not the last two. To get things straight there is a list below of what you will have to do. ### Objectives @@ -15,7 +15,7 @@ As you already did the first forum you can use part of the code, but not all of - **SQLite**, in which you will store data, just like in the [previous forum](https://public.01-edu.org/subjects/forum/#communication) - **Golang**, in which you will handle data and Websockets (Backend) -- **Javascript**, in which you will handle all the Frontend events +- **Javascript**, in which you will handle all the Frontend events and clients Websockets - **HTML**, in which you will organize the elements of the page - **CSS**, in which you will stylize the elements of the page @@ -56,7 +56,7 @@ Users will be able to send private messages to each other, so you will need to c - A section to show who is online and able to talk to: - This section must be organized by the last message sent (just like discord), if the user is new and does not present messages you must organize it in alphabetic order. - The user must be able to send private messages to the users who are online - - This sections must be visible at all times, in every pages. + - This sections must be visible at all times. - A section that when clicked on the user that you want to send a message, reloads the past messages. Messages that where already sent: - For this you will have to be able to see the previous messages that you had with the user @@ -79,6 +79,8 @@ This project will help you learn about: - DOM - [Go routines](https://golangbot.com/goroutines/) - [Go channels](https://medium.com/rungo/anatomy-of-channels-in-go-concurrency-in-go-1ec336086adb) -- [WebSockets](https://en.wikipedia.org/wiki/WebSocket) +- [WebSockets](https://en.wikipedia.org/wiki/WebSocket): + - Go Websockets + - JS Websockets - SQL language - Manipulation of databases diff --git a/subjects/real-time-forum/audit/README.md b/subjects/real-time-forum/audit/README.md index c074c9e1a..b7b86b363 100644 --- a/subjects/real-time-forum/audit/README.md +++ b/subjects/real-time-forum/audit/README.md @@ -82,10 +82,6 @@ ###### Does it load just 10 messages, without spamming the scroll event (This can be done using the function [Throttle](https://css-tricks.com/debouncing-throttling-explained-examples/#throttle))? -##### Check the project code. - -###### Do you see the usage of WebSockets? - #### Bonus ###### +Does the project runs quickly and effectively? (Favoring recursive, no unnecessary data requests, etc) diff --git a/subjects/real-time-forum/typing-in-progress/README.md b/subjects/real-time-forum/typing-in-progress/README.md index 22626d64b..4160db4c1 100644 --- a/subjects/real-time-forum/typing-in-progress/README.md +++ b/subjects/real-time-forum/typing-in-progress/README.md @@ -6,11 +6,11 @@ You must follow the same [principles](https://public.01-edu.org/subjects/real-ti For this project you must create: -- A Typing in progress engine +- A [Typing in progress](https://i.insider.com/56996788dd0895a06c8b460c?width=1100&format=jpeg&auto=webp) engine ### Instructions -A typing in progress engine is the a way that people can see that a user is typing in real time. Allowing you to see in real time that the other user is replying or sending a message. +A typing in progress engine is a way that people can see that a user is typing in real time. Allowing you to see the other user is replying or sending a message. The typing in progress engine must work in real time! This meaning that if you start typing to a certain user this user will be able to see that you are typing @@ -27,5 +27,7 @@ This project will help you learn about: - [Go routines](https://golangbot.com/goroutines/) - [Go channels](https://medium.com/rungo/anatomy-of-channels-in-go-concurrency-in-go-1ec336086adb) -- [WebSockets](https://en.wikipedia.org/wiki/WebSocket) +- [WebSockets](https://en.wikipedia.org/wiki/WebSocket): + - Go Websockets + - JS Websockets - [Events](https://developer.mozilla.org/en-US/docs/Web/Events)