All language subtitles for 1. Vuex introduction

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fr French Download
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranî)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:00,120 --> 00:00:05,670 In the last election, we talked about every activity in these, like continue with a completely new 2 00:00:05,670 --> 00:00:06,270 concept. 3 00:00:06,480 --> 00:00:08,340 We will introduce the UX. 4 00:00:09,690 --> 00:00:14,190 OK, let's start and let's clean about a cold from the previous lecture, we'll be talking about this 5 00:00:14,190 --> 00:00:15,600 in the next lectures a lot. 6 00:00:15,900 --> 00:00:19,340 So let's remove it this entry counter contained there. 7 00:00:20,280 --> 00:00:21,060 Let's get rid of it. 8 00:00:21,840 --> 00:00:24,020 Alright, let's just leave here pagination. 9 00:00:24,110 --> 00:00:26,580 So let's remove this item of the wrap. 10 00:00:26,580 --> 00:00:27,350 It will need it. 11 00:00:27,540 --> 00:00:29,160 We don't need this here. 12 00:00:29,970 --> 00:00:30,560 All right. 13 00:00:30,950 --> 00:00:32,360 Another account we can remove. 14 00:00:32,380 --> 00:00:33,750 We'll just leave your exchange. 15 00:00:33,750 --> 00:00:35,300 Yes, OK. 16 00:00:36,300 --> 00:00:37,440 Properties we don't need. 17 00:00:37,440 --> 00:00:39,150 And also methods we don't need. 18 00:00:41,740 --> 00:00:45,190 OK, so devoted to have you have you act as a solution? 19 00:00:46,140 --> 00:00:55,350 That Villa very well integrated with the villages that we keep your data separate from your pages of 20 00:00:55,350 --> 00:00:56,220 email components. 21 00:00:56,790 --> 00:01:02,550 OK, so with a view, we can completely separate our data management into its own component and we can 22 00:01:02,550 --> 00:01:05,100 react with a view to the functions. 23 00:01:06,020 --> 00:01:12,650 To ask for a data, and they can also update that data in very reactive fashion as you are already used 24 00:01:12,740 --> 00:01:13,940 in the villages. 25 00:01:14,510 --> 00:01:18,110 So all of these here are what we have data exchanges we don't really need to have here. 26 00:01:18,830 --> 00:01:23,270 We just can integrate the view and it'll ask viewers for this data. 27 00:01:23,630 --> 00:01:25,430 As you will see, it will be very simple. 28 00:01:25,790 --> 00:01:31,610 So data management and data updates and all of this stuff can be handled separately. 29 00:01:31,640 --> 00:01:33,920 That's the strong part of The View. 30 00:01:34,010 --> 00:01:41,150 So let's imagine a scene here, so we will integrate this view. 31 00:01:41,270 --> 00:01:48,650 So here are pages our view of the O.j.'s Futures page. 32 00:01:48,650 --> 00:01:51,740 Let's say here I want to display the data. 33 00:01:53,270 --> 00:01:53,930 All right. 34 00:01:54,980 --> 00:01:59,380 All right, we do need to really keep that data in our padded cell, I should say it is a component 35 00:01:59,380 --> 00:02:00,000 or a page. 36 00:02:00,820 --> 00:02:10,540 Com Paul NAND We do need to handle data here, but simply will be integrating this View X component, 37 00:02:10,540 --> 00:02:12,190 which will handle a data. 38 00:02:13,660 --> 00:02:14,920 Data data changes. 39 00:02:16,010 --> 00:02:17,060 Data changes. 40 00:02:18,300 --> 00:02:22,800 And so, OK, so it be detecting that change as well, handling the data. 41 00:02:23,070 --> 00:02:26,090 They'll be handling the data mutations, data updates. 42 00:02:26,100 --> 00:02:29,730 So say here's a meal they mute a. 43 00:02:30,960 --> 00:02:38,820 Mutations or data, data changes, mutations and all of this stuff will be handled to viewers and it 44 00:02:38,820 --> 00:02:44,610 will be two value relationships, so if the data will get updated, we can get them here. 45 00:02:44,640 --> 00:02:47,370 You can also ask for a data should fade like this. 46 00:02:48,830 --> 00:02:49,430 OK. 47 00:02:51,870 --> 00:02:53,370 OK, and here. 48 00:02:55,170 --> 00:02:55,590 Here. 49 00:02:57,430 --> 00:03:03,550 OK, so here what you'll be doing is you will see later and you want to you want to call something from 50 00:03:03,550 --> 00:03:05,110 the component to the view a little bit. 51 00:03:05,640 --> 00:03:09,790 You'll be using the old building code, something called dispatch to execute function. 52 00:03:09,880 --> 00:03:16,180 This in a view and a view to be able to provide our data very reactively back to the state. 53 00:03:18,010 --> 00:03:18,580 All right. 54 00:03:18,730 --> 00:03:21,670 And the vehicles will be sharing the state and they'll begin accepting the states here. 55 00:03:23,800 --> 00:03:29,380 OK, so that's these are relationships of of day to keep all of the functionalities in the villages, 56 00:03:29,380 --> 00:03:32,140 but they have this nice separation here in between. 57 00:03:33,360 --> 00:03:36,120 OK, so I will clear it out. 58 00:03:38,660 --> 00:03:40,130 And we are going straight away to the view. 59 00:03:40,490 --> 00:03:44,020 Open a browser and YouTube, and let's review for a viewer. 60 00:03:45,110 --> 00:03:47,650 The US does what I think you need to search for. 61 00:03:49,380 --> 00:03:50,880 View, do jazz talk. 62 00:03:50,900 --> 00:03:52,530 I guess that's what they're looking for. 63 00:03:52,560 --> 00:03:54,780 I hope so now that some explanation of their view. 64 00:03:56,040 --> 00:03:57,990 Let me search here for V2X. 65 00:03:59,630 --> 00:04:00,540 The ex for. 66 00:04:02,270 --> 00:04:02,810 OK. 67 00:04:05,000 --> 00:04:06,180 Centralised state management. 68 00:04:06,530 --> 00:04:09,800 That's what they are looking for, giddyup, view, view as the UX. 69 00:04:11,430 --> 00:04:12,420 Let's go down here. 70 00:04:14,040 --> 00:04:20,070 Here is the installation, no, that's not what that's not what I am looking for. 71 00:04:21,270 --> 00:04:21,810 OK. 72 00:04:21,850 --> 00:04:24,870 Vucic's and PM, I hope so I will find it there. 73 00:04:26,080 --> 00:04:28,360 Let's click here and the PM. 74 00:04:30,450 --> 00:04:33,650 And here we have it and proving something around. 75 00:04:33,790 --> 00:04:35,220 Yeah, that's the same thing, what we have. 76 00:04:37,020 --> 00:04:42,390 But they have had in a good hub, but here is a documentation, OK, it's yeah, oh, actually, I was 77 00:04:42,390 --> 00:04:43,530 in the first place. 78 00:04:43,890 --> 00:04:44,640 I'm sorry. 79 00:04:44,640 --> 00:04:47,040 I was confused by this video here from Dubai. 80 00:04:47,940 --> 00:04:49,590 I was wondering what this is doing here. 81 00:04:49,740 --> 00:04:50,130 OK. 82 00:04:50,280 --> 00:04:51,810 I'm sorry that that was the view. 83 00:04:51,810 --> 00:04:56,340 It's official that that's not the official view of your view website. 84 00:04:57,630 --> 00:05:00,300 OK, what are we going to get here is get to get installation. 85 00:05:01,320 --> 00:05:04,220 He also called out here having to find the installation for Buicks. 86 00:05:05,520 --> 00:05:09,780 Please make sure you're a veteran for actually I don't on the version three, as you can see in the 87 00:05:09,780 --> 00:05:11,660 top left corner top right corner. 88 00:05:11,700 --> 00:05:13,260 Please check your view for. 89 00:05:14,860 --> 00:05:17,470 OK, so maybe I'll love you export and we'll go to installations. 90 00:05:19,200 --> 00:05:22,170 So here's a current installations with the NPR, I copy this. 91 00:05:23,940 --> 00:05:28,680 Terminal can open a new tap here and you can install it into the car and directly. 92 00:05:30,770 --> 00:05:35,430 OK, and then we'll integrate a view which is integrated the same as that out there. 93 00:05:35,450 --> 00:05:41,870 It's a plug in, so let's first create an actual implementation and then let's register it. 94 00:05:42,380 --> 00:05:43,460 So go to your code. 95 00:05:44,880 --> 00:05:51,210 Let's close here everything and go to the base folder on the SIRC here in your folder, in the inside 96 00:05:51,210 --> 00:05:53,940 of the SLC folder, please and let's call it store. 97 00:05:55,460 --> 00:06:02,380 Store, they'll they'll be out of the store inside of this violence, the index dog is very variable. 98 00:06:02,390 --> 00:06:08,810 Initialize initializes store lets you import color brackets, create a store like this from the UX. 99 00:06:10,910 --> 00:06:16,220 OK, not evil expert default till you create a separate variable again, sort of expert default here, 100 00:06:16,940 --> 00:06:23,150 but I'll call here creates aura like these evil parts of the object inside, which will be a representation 101 00:06:23,150 --> 00:06:23,720 of our story. 102 00:06:23,720 --> 00:06:28,940 But we can save a data, we can execute the functions, we kill mutated data and so on. 103 00:06:30,680 --> 00:06:35,450 Here, why the excellence excellence is something like a efforts in the components of excellence are 104 00:06:35,450 --> 00:06:42,700 your functions, which we can execute as testing function so we can see that we are getting hit or something. 105 00:06:42,710 --> 00:06:44,090 And let's just it here. 106 00:06:45,080 --> 00:06:47,150 Hello, Vucic's hello. 107 00:06:47,270 --> 00:06:50,240 The UX, OK, and that's our basic story. 108 00:06:50,250 --> 00:06:52,640 That's that's only thing we need to have for now. 109 00:06:53,210 --> 00:06:56,750 Now we are going to install this plug in, so we go. 110 00:06:57,960 --> 00:07:06,330 We go to Armando Dodges and we will import this story here, so right here, your import store from 111 00:07:06,960 --> 00:07:07,450 store. 112 00:07:08,760 --> 00:07:10,710 Now we can use it here, Abdul the Dios. 113 00:07:10,950 --> 00:07:12,090 And we can register here. 114 00:07:12,090 --> 00:07:12,870 Also store. 115 00:07:14,460 --> 00:07:14,820 OK. 116 00:07:14,860 --> 00:07:18,750 Rather than store, they can also chain it into the wall function. 117 00:07:18,780 --> 00:07:23,490 So can the name of the girl with a semicolon, and I can just call her like this. 118 00:07:24,240 --> 00:07:24,840 I put to use. 119 00:07:26,120 --> 00:07:26,510 OK. 120 00:07:26,790 --> 00:07:29,660 And actually, I would like to have it the other way around, I would like to have a first store and 121 00:07:29,660 --> 00:07:31,040 then initialize that out there. 122 00:07:31,910 --> 00:07:33,560 There won't be any change, guys in the code. 123 00:07:33,830 --> 00:07:34,310 OK. 124 00:07:35,960 --> 00:07:38,810 I don't think it is available either on the on the order of this here. 125 00:07:39,230 --> 00:07:41,770 OK, so let's update the store and there out there. 126 00:07:42,320 --> 00:07:43,400 You can also buy it like this. 127 00:07:47,150 --> 00:07:48,500 OK, guys, let's save it now. 128 00:07:48,560 --> 00:07:53,240 Their view should be initialized, and now we can actually integrate put they're out there, we can 129 00:07:53,240 --> 00:07:59,670 access the global injectors properties through the Vita store as the remember, we have a good access 130 00:07:59,670 --> 00:08:01,700 drought path in our page. 131 00:08:01,850 --> 00:08:06,290 In our components, we can also do the same thing or a similar thing with the View X. 132 00:08:08,150 --> 00:08:11,750 Let's go to let's go to our page homepage. 133 00:08:13,850 --> 00:08:18,860 And it will create here a button to execute the function we have defined in the view this this function. 134 00:08:18,980 --> 00:08:21,890 I want to execute it from inside of our home homeland view. 135 00:08:23,120 --> 00:08:29,810 In our view, it doesn't really matter where to create a button which will be calling this this function. 136 00:08:32,660 --> 00:08:41,720 But then, OK, and all that here test the UX, and here will right click OK, so it's cyclic. 137 00:08:42,650 --> 00:08:43,850 Now, how can it be? 138 00:08:44,840 --> 00:08:45,620 How can they call you? 139 00:08:47,030 --> 00:08:50,900 I wrote in a diagram that you can call dispatch function. 140 00:08:52,010 --> 00:08:57,950 OK, so they can call her this page, but what we can call it is picture as if they're out there. 141 00:08:58,010 --> 00:09:00,380 We have the we had the lawyers and they're out. 142 00:09:00,860 --> 00:09:07,250 We have here in the case of a Buick's dollar, a sign star that they can access globally, also in our 143 00:09:07,250 --> 00:09:12,410 courts or in our court, and able to access also these galleries and store. 144 00:09:13,040 --> 00:09:13,460 OK. 145 00:09:13,490 --> 00:09:20,960 The same thing I can do, the same thing I can do here in my template so I can call, I can access your 146 00:09:20,960 --> 00:09:23,840 store and I can go here dispatch function like this. 147 00:09:24,380 --> 00:09:26,480 And what you want to dispatch will be this string. 148 00:09:27,640 --> 00:09:32,350 And you specify the name of the function in this case, they are calling it a function test. 149 00:09:33,230 --> 00:09:34,370 So I like this page to the. 150 00:09:34,880 --> 00:09:37,450 But I want to execute test function like this. 151 00:09:39,110 --> 00:09:41,240 Of course, it has to be also brought into the. 152 00:09:42,520 --> 00:09:43,990 And then the little brackets here in this case. 153 00:09:45,700 --> 00:09:50,470 OK, we've gone to this specialist function, I have it in the or function like this. 154 00:09:50,620 --> 00:09:52,820 So then we'll click the click on the button. 155 00:09:52,840 --> 00:09:57,610 I would like to dispatch a test, so this will call the test for me. 156 00:09:58,120 --> 00:09:58,460 Let's see. 157 00:09:58,480 --> 00:09:58,900 Let's see. 158 00:09:58,990 --> 00:09:59,500 Let's save it. 159 00:09:59,500 --> 00:10:02,470 Let's go back to our browser here. 160 00:10:02,740 --> 00:10:05,920 You should have your button test view on the left side, you can see. 161 00:10:07,450 --> 00:10:09,520 Let's clear his button and you should see a hell of you. 162 00:10:09,820 --> 00:10:13,780 And every time I click this, I display here, hell of you. 163 00:10:13,980 --> 00:10:17,080 That's that's coming from our index story. 164 00:10:17,080 --> 00:10:19,660 As one of you explore, this action is executed. 165 00:10:22,500 --> 00:10:22,980 OK. 166 00:10:23,550 --> 00:10:28,050 Interesting thing in the villages that vote and there are, for example, work in the area that I can 167 00:10:28,050 --> 00:10:34,170 actually execute their function as I am providing into the click does very interesting thing for me. 168 00:10:34,170 --> 00:10:39,600 It's quite confusing, but you get your data, provide functional reference to the function, but you 169 00:10:39,600 --> 00:10:42,660 can simply provide your this and the villagers will handle this for you. 170 00:10:43,290 --> 00:10:46,320 Very interestingly, so they will go over here very fresh. 171 00:10:46,890 --> 00:10:49,440 I can normally call it here the function. 172 00:10:51,730 --> 00:10:58,260 But I still from the reactors, I have this tendency to ride here at all functions, they elected more 173 00:10:58,270 --> 00:10:58,750 this way. 174 00:11:01,470 --> 00:11:04,590 OK, so that's how you can dispatch how you can communicate that story. 175 00:11:04,620 --> 00:11:06,750 Of course, we don't have any data on a story yet. 176 00:11:06,750 --> 00:11:11,010 I just want to I want to show you how you can initialize the story and how you can communicate in a 177 00:11:11,010 --> 00:11:11,850 dispatch function. 178 00:11:11,890 --> 00:11:15,720 Remember this story here or this virus? 179 00:11:15,720 --> 00:11:20,850 And so now you have available in all of your future components, and this way you can communicate with 180 00:11:20,850 --> 00:11:25,530 the star, get a data widget, muted data, updated data and so on. 181 00:11:25,740 --> 00:11:28,350 And about this, you will be learning in the next. 182 00:11:29,350 --> 00:11:35,170 In an entire chorus that gets it all to go, OK, so we'll finish the here and let's go to the next 183 00:11:35,170 --> 00:11:35,340 one. 16643

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.