WEBVTT

1
00:00:01.500 --> 00:00:05.020
<v Instructor>So after a couple of very long videos,</v>

2
00:00:05.020 --> 00:00:07.900
let's now take a breath and take a minute

3
00:00:07.900 --> 00:00:12.593
to discuss our next step in implementing this project.

4
00:00:14.710 --> 00:00:18.170
So at this point, we have implemented all the features

5
00:00:18.170 --> 00:00:22.290
from one to seven, and now all that is left to do

6
00:00:22.290 --> 00:00:25.160
is steps eight, nine, and 10,

7
00:00:25.160 --> 00:00:27.990
which are all about the user being able

8
00:00:27.990 --> 00:00:30.860
to upload their own recipes.

9
00:00:30.860 --> 00:00:34.750
So, whenever the user clicks the ad recipe button,

10
00:00:34.750 --> 00:00:37.540
that's in the menu bar, all we want to do

11
00:00:37.540 --> 00:00:40.460
is to display a recipe editor.

12
00:00:40.460 --> 00:00:43.920
So that's like a model window which will pop up

13
00:00:43.920 --> 00:00:45.910
and which contains a form.

14
00:00:45.910 --> 00:00:50.160
Then on that form, we will have to bind an event handler

15
00:00:50.160 --> 00:00:53.030
so that when the user submits that form.

16
00:00:53.030 --> 00:00:55.530
So here in this diagram that means

17
00:00:55.530 --> 00:00:58.650
when the user creates a new recipe

18
00:00:58.650 --> 00:01:01.230
then of course we want to asynchronously

19
00:01:01.230 --> 00:01:04.440
upload that recipe to the API.

20
00:01:04.440 --> 00:01:07.550
And we will also want to render that recipe

21
00:01:07.550 --> 00:01:11.200
and also edit to the user's bookmarks.

22
00:01:11.200 --> 00:01:14.700
And so that is a feature number nine here

23
00:01:14.700 --> 00:01:16.090
in our feature lists.

24
00:01:16.090 --> 00:01:18.860
So basically that all our own recipes

25
00:01:18.860 --> 00:01:21.390
are automatically bookmarked.

26
00:01:21.390 --> 00:01:25.050
Finally, all this is going to be set up in a way

27
00:01:25.050 --> 00:01:28.240
that only the user that uploaded the recipe

28
00:01:28.240 --> 00:01:31.240
will be able to see that recipe.

29
00:01:31.240 --> 00:01:35.200
So for example, if I upload my own pizza recipe

30
00:01:35.200 --> 00:01:38.180
then if you search for pizza afterwards

31
00:01:38.180 --> 00:01:41.500
you will not be able to see that recipe.

32
00:01:41.500 --> 00:01:45.580
So these recipes are really gonna belong to you.

33
00:01:45.580 --> 00:01:47.060
And as I mentioned before,

34
00:01:47.060 --> 00:01:50.373
we will do that by using an API developer key.

35
00:01:51.370 --> 00:01:54.470
So, these are the last steps that we need to take

36
00:01:54.470 --> 00:01:56.800
in order to finish our application.

37
00:01:56.800 --> 00:01:59.980
And so let's start by doing that in the next lecture,

38
00:01:59.980 --> 00:02:02.310
starting with the simple functionality

39
00:02:02.310 --> 00:02:06.490
of displaying the window, when the user clicks add recipe

