What Is Ajax?

  Рет қаралды 321,307

WebConcepts

WebConcepts

8 жыл бұрын

In this video we take a look at how Twitter uses AJAX to refresh their timeline and spend some time talking about the javascript XMLHttpRequest object. Then we add an AJAX refresh to an application which pulls images from instagram. Finally when we hit a snag due to the browser same-origin policy we explore JSONP as an alternative to XHR.
The code used in this video is available here: github.com/jelled/geogram/tre...
Outro music:
"Rollin at 5 - electronic" Kevin MacLeod (incompetech.com)
Licensed under Creative Commons: By Attribution 3.0
creativecommons.org/licenses/b...

Пікірлер: 280
@andrewfacchiano5117
@andrewfacchiano5117 7 жыл бұрын
It's so refreshing to find programming videos that are more then a powerpoint or a raw screen-cast. Thank you for putting this together, I really enjoyed it and feel it's very useful.
@Dexter101x
@Dexter101x 6 жыл бұрын
Oh I like the pun
@JenniferStewart100
@JenniferStewart100 4 жыл бұрын
Andrew Facchiano Amen to that!
@jorgelionel4241
@jorgelionel4241 2 жыл бұрын
i know Im randomly asking but does any of you know a tool to get back into an Instagram account? I was stupid forgot my account password. I would appreciate any tips you can offer me.
@markuslinke9206
@markuslinke9206 2 жыл бұрын
@@jorgelionel4241 this question is so insanely stupid
@za012345678998765432
@za012345678998765432 4 жыл бұрын
the beginning was really helpful, i lost you once you started writing code
@youvanced6593
@youvanced6593 3 жыл бұрын
word
@mopiko9742
@mopiko9742 3 жыл бұрын
😂😂😂😂😂i was ...
@fernandoventilari839
@fernandoventilari839 3 жыл бұрын
Yeah
@sunkeehong356
@sunkeehong356 5 жыл бұрын
You made SO MUCH SENSE. You have no idea how hard it is to find software tutorials that actually tries to understand the viewers and try to teach them. Thank you. Liked and subscribed.
@garthtee
@garthtee 8 жыл бұрын
Your videos get straight to the point, unlike any other tutorial ever! Keep them coming 😃
@namenone8387
@namenone8387 7 жыл бұрын
I liked the way you teach and not just a boring talk like other on the internet. I am happy that I found your channel. please keep it coming. :)
@aman7555
@aman7555 8 жыл бұрын
Thank you for the video. So excited to see you you back. I really am a fan of the quality videos covering so much so quickly and yet keeping it simple. It's a great help.
@krishnamohan2351
@krishnamohan2351 8 жыл бұрын
I request you to do more of such videos. I know this might not pay you so much as your other occupations. But it really helps beginners like me all over the world... The way you explain everything is so neat. Please do more!
@joaoooteixeira
@joaoooteixeira 5 жыл бұрын
I like short and straight content and that's exactly what you just delivered to us! Hoping to see this channel grow !
@kockgunner
@kockgunner 8 жыл бұрын
I love these videos! It's hard to find tutorials for people who are familiar with the terminology, but don't have experience putting it all together.
@mubeeninamdar6573
@mubeeninamdar6573 8 жыл бұрын
Brilliant tutorial. The most simple yet complete introduction to Ajax I have ever come across.
@MoeFateh
@MoeFateh 8 жыл бұрын
You need to make more tutorials! Yours are great and so easy to understand. You're able to demonstrate the concept super fast with clarity. Thank you!
@ebragimovic
@ebragimovic 8 жыл бұрын
Welcome back mate, glad to see more videos from you glorious channel =)
@ComeAllYouWeary92
@ComeAllYouWeary92 8 жыл бұрын
Happy to see you uploading again! Been looking every now and again by more from you. Great content, you really break stuff down until its easy to get.
@ManonHc
@ManonHc 7 жыл бұрын
Man you're awesome ! I'm student in development and I love all video's you've made. Rest Api also great !
@aldialfarnando6813
@aldialfarnando6813 6 жыл бұрын
It's so refreshing to find programming videos that are more then a powerpoint or a raw screen-cast. Thank you for putting this together, I really enjoyed it and feel it's very useful. (2) ✌️
@adamhughes4496
@adamhughes4496 3 жыл бұрын
This is such a high value video to me, thanks! I spent hours today debugging prod issues related to XHR without really knowing what they were. I've read/watched so much about how they work, but only here did you explain the "what/why". They are just requests that go out without being in the URL and changing the page shown in the browser. So simple - why did I have to search so long to find this!?
@b0lasater
@b0lasater 7 жыл бұрын
These are really helpful videos -- at the right level of detail and easy to understand. Thanks for the effort it took to make these.
@sumanthburla1703
@sumanthburla1703 4 жыл бұрын
best way of explanation man !! love to hear more from you : )
@LordShaxe
@LordShaxe 8 жыл бұрын
glad to see you back! your videos are awesome. Keep it up.
@AndredeWerdt
@AndredeWerdt 7 жыл бұрын
Very nice video. Usual i skip ahead to get avoid the info for noobs but this video actually got me rewind a few times. Great Job !!!!!! Happy coder!!
@PetterBruland
@PetterBruland 6 жыл бұрын
Besides my drink being a bit warm, since I did not have ice cubes, which was a bit annoying, I had a great time watching this video. Thank you for your excellent communications skills.
@jonfortner3167
@jonfortner3167 7 жыл бұрын
This has a lot of content and flies by pretty fast making it hard to absorb. Maybe it needs split up or you need less coffee before presenting :-) Your REST API video was paced a lot better.
@Coreysnightout
@Coreysnightout 6 жыл бұрын
I agree, pretty fast paced.
@TheLolgee
@TheLolgee 6 жыл бұрын
Yeah I had a bit of a hard time keeping up as well, but I think that's due to my lack of knowledge with AJAX as a whole. With practice this may be a lot easier to process
@drhboers
@drhboers 6 жыл бұрын
're absolutely right. The idea and info are ok but the speed is driving me nuts
@justinmaxwell4199
@justinmaxwell4199 5 жыл бұрын
Use the pause key
@rhidlor8577
@rhidlor8577 5 жыл бұрын
This video was surprisingly digestible and informative, thanks!
@DaKLang
@DaKLang 7 жыл бұрын
You've made me so happy today! My learning curve is getting sliced in half!
@DaKLang
@DaKLang 7 жыл бұрын
WHAT? WHY!? I was anxiously waiting on his Part 2 of the "Web Presence"!! His videos were awesome!
@gavinchan4627
@gavinchan4627 7 жыл бұрын
this video is updated on March of last year. So long time, maybe he quitted. :(
@RocketLR
@RocketLR 7 жыл бұрын
I swear to god. If i hear or watch another tutorial with an incomprehensible accent and a potato microphone, I will blow my brains out! This channel is a life saver!
@JustJohnny
@JustJohnny 6 жыл бұрын
Hey man, you did a really good job with your videos. I wish you had kept going. I hope someone is paying you to make this kind of content for them.
@MikeSharov
@MikeSharov 8 жыл бұрын
I hope you continue to make these videos, they are awesome! :)
@tshiamokomane1929
@tshiamokomane1929 7 жыл бұрын
Absolutely fantastic video! Thank you!
@rks2868
@rks2868 7 жыл бұрын
ppl who are saying its too fast..you'd be right , if we didn't have the ability to modify the playback speed. Easy fix, I'd probably hate the teacher if it wasn't for this. Now I love him, he's great. I'll give him the benefit of the doubt that he knew we could slow him down if we needed, and he could thus give an AWESOME presentation clocking in at barely 10 minutes. cheers
@SoulJah876
@SoulJah876 5 жыл бұрын
Gotta give thanks for KZbin allowing me to play this at 0.5 and 0.75 speed. Very informative though.
@ivangodoy4593
@ivangodoy4593 8 жыл бұрын
Upload videos more often! They are great!
@MilesWilsondreamteam
@MilesWilsondreamteam 8 жыл бұрын
Glad you're back
@khuselamphokeli7126
@khuselamphokeli7126 7 жыл бұрын
Great tutorials bro, Congratulations. You have won yourself a new subscriber.
@adecakasio6482
@adecakasio6482 2 жыл бұрын
awesome. thanks for the concise answer. well thought out and structured video - respect!
@_mdan9304
@_mdan9304 4 жыл бұрын
tremendous information density! I'm three years late on seeing this but great presentation
@GhettoYhetti
@GhettoYhetti 7 жыл бұрын
Really helpful especially for beginners (in the "wetting your appetite" sense). But one comment, "Dude decaf!" I think your subscribers would appreciate it if you had follow-on videos that explain this in more depth. But this was really good. I hit pause multiple times and rewind and play again several times. Thanks!
@marcotaub
@marcotaub 8 жыл бұрын
best AJAX tutorial I've ever seen!
@mystickid1
@mystickid1 7 жыл бұрын
You are amazing at explaining web concepts. Thank you for the great vid. I'm in a coding bootcamp and you really helped me understand the concept. Will you be contuninuing to do more web concept videos like on javascript, node, express, reactjs, etc?
@valentindragos2397
@valentindragos2397 8 жыл бұрын
Thank you for the videos! :) You deserve more subs and views!
@alvinlu1512
@alvinlu1512 5 жыл бұрын
Absolutely nailed it! Great explanation :)
@irvinrules
@irvinrules 8 жыл бұрын
you are great at explaining what thing are. thanks
@daviddonadze221
@daviddonadze221 6 жыл бұрын
I like fast paced videos. Thank u
@kurianbenoy9369
@kurianbenoy9369 6 жыл бұрын
It was a bit fast , but also it explained AJAX to me in a real time way using Twitter example and you went on to add on things and we did a program too .Thanks
@enigmareport
@enigmareport 7 жыл бұрын
Great channel, subscribed. Keep making content!
@Harshanalluru_3
@Harshanalluru_3 7 жыл бұрын
you are a rapper..! :)
@iTomAnks
@iTomAnks 5 жыл бұрын
Insanely helpful, thank you!
@AdamDeRidder
@AdamDeRidder 6 жыл бұрын
I disagree with the comment that the pace is too fast. I love the fast pace. I would much rather do my own research on the parts that I don't understand than listen to someone explain something that I already know.
@wpcustomize8070
@wpcustomize8070 8 жыл бұрын
Nice to see you again.
@jonkubik4185
@jonkubik4185 5 жыл бұрын
The way you edit these videos helps me understand this information so much more, thank you for explaining it in the way you do :)
@cassiusspacetrain2852
@cassiusspacetrain2852 6 жыл бұрын
so fast, so accurate, so good !!
@Rbn49
@Rbn49 8 жыл бұрын
Very nice and clear explanation!
@travelblogger7102
@travelblogger7102 6 жыл бұрын
AWESOME EASY EXPLANATION! 🔥THANKS, A LOT!!! 👍🏽
@timtitus7861
@timtitus7861 7 жыл бұрын
I feel like this guy's head might just explode at any moment....especially when he gets to talking super fast.
@TheEmperorFX
@TheEmperorFX 8 жыл бұрын
Great, Your back to making new videos
@soultouchingsongs
@soultouchingsongs 7 жыл бұрын
Great tutorial. just what i was searching.. Thank you soo much.. 👍
@trones9204
@trones9204 6 жыл бұрын
Excellent explanation, but the concept is clear after the first minute and a half -- so that's really all I needed. I got a little lost in the middle (the implementation part) because I didn't have enough time to absorb the modifications you were making to your code. Maybe show us (with text) a short outline of the steps you are going to take so we can better follow along.
@taoli2635
@taoli2635 8 жыл бұрын
Awesome explanations!
@kobuslol
@kobuslol 7 жыл бұрын
Very nice guide. Now I can improve my site ^^
@damonzh1886
@damonzh1886 4 жыл бұрын
pretty clean with demonstration
@AVSbeats
@AVSbeats Жыл бұрын
Woah you are very smart by coming across this method 😮
@martinboom01
@martinboom01 6 жыл бұрын
Just fantastic. Thank you.
@dillonhansen71
@dillonhansen71 7 жыл бұрын
hey, this is good stuff here. yo should consider uploading more frequently.
@macintush
@macintush 7 жыл бұрын
Hey, these are great videos. Wow
@logeshlog1991
@logeshlog1991 7 жыл бұрын
Hi dude, pls keep on upload videos.
@anoopsai2414
@anoopsai2414 4 жыл бұрын
The first few minutes of the video was pretty clear, being a beginner couldn't catch up the speed after the that.
@sandipsubedi2294
@sandipsubedi2294 7 жыл бұрын
Great Explanation !
@user-ec5cl5rz9r
@user-ec5cl5rz9r 7 жыл бұрын
thanks man)) U are really cool orator and teacher+
@dc9026
@dc9026 2 жыл бұрын
Great video! How long did it take you to learn to do things like this? I am just starting and this seems so complex.
@shupesmerga4694
@shupesmerga4694 4 жыл бұрын
definitely not for somebody trying to learn Ajax for the first time. This is more life a refresher for pros. Started about basics, meaning and rough overview of AJax then BOOM!
@license2Bort
@license2Bort 4 жыл бұрын
This video was fantastic! I understood about 30% bc i'm a beginner, but great video nonetheless!!!!
@kobadg
@kobadg 8 жыл бұрын
YES HE IS BACK! SO MUCH HAPPY!
@mahlatsetshehla1801
@mahlatsetshehla1801 6 жыл бұрын
Awesome video
@scottsmyth3251
@scottsmyth3251 3 жыл бұрын
Thanks, super clear
@ranikheir5272
@ranikheir5272 7 жыл бұрын
Have a small side question, the &callback technique you used, where else can we use it? Is it only for APIs that respond back with json data? PS: Already knew what AJAX is, but also had a feeling I'd learn something new if I watched this video, and I did! Which is why I always watch your videos :) Thanks!!
@Competitiveforlolz
@Competitiveforlolz 7 жыл бұрын
Nice, didn't know about JSON P and that it's a way to avoid the x domain issues.
@Gjacolby83
@Gjacolby83 7 жыл бұрын
This video is very nice.
@MonciaakPL
@MonciaakPL 8 жыл бұрын
wow after one year of no response, finally waiting for web presence part 2 and more
@webconcepts
@webconcepts 8 жыл бұрын
+MonciakMax Sorry for the delay. Free time has been at a premium lately. I'll do my best to get those other videos out as soon as I can.
@aparup2515
@aparup2515 8 жыл бұрын
+WebConcepts Hey! What is the text editor you used in this video? Is there anything better?
@stefanaleksik4896
@stefanaleksik4896 7 жыл бұрын
Hey supper tutorial. It helped me to understand the basics of AJAX. I have one question: Why did you put a questionmark for the callback instead of a function name?
@ahmednaser372
@ahmednaser372 6 жыл бұрын
dude how long have you been a web developer? and what languages do u recommend to learn first as a new one? I want to be a developer but with solid foundation to design, so I have learned html+css, and now im learning bootstrap and some javascript, next i was thinking php and maybe jquery? or what do u recommend?
@Mildimage
@Mildimage 6 жыл бұрын
Good video!
@brianbrau4475
@brianbrau4475 4 жыл бұрын
He'll be back any day now
@Rauleetoh
@Rauleetoh 7 жыл бұрын
no silly, Ajax is a cleaning solution I use to clean my toilets.
@Ta9i
@Ta9i 7 жыл бұрын
why ?? it very useful
@mza1409
@mza1409 6 жыл бұрын
its also a name of a dutch football club
@AjaxWallpapers
@AjaxWallpapers 5 жыл бұрын
@@mza1409 En niet zo maar een NL voetbalclub! Dé voetbalclub van Nederland!
@um6091
@um6091 4 жыл бұрын
@@mza1409 and have won 4 CL
@pashapetrosyan7336
@pashapetrosyan7336 7 жыл бұрын
had to watch the "callback=?" part twice to fully understand, feel like I have a good grasp on this workaround. But still don't quite understand why it's so easily bypassed. Is same-origin policy even useful anymore since you can get around it so easily?
@khalidelgazzar
@khalidelgazzar 4 жыл бұрын
Nice video. So your next one is going to be in 2020?🤔🤔
@atabish2
@atabish2 8 жыл бұрын
What does 'p' stands for in jsonp ? Also is it possible to make a post request using ajax ? great tutorial btw..
@MahmoudElaskare
@MahmoudElaskare 8 жыл бұрын
great video
@256k_
@256k_ 7 жыл бұрын
dude your videos are great although sometimes the information and speed of it can be a bit overwhelming but i get that you're trying to cram as much info in the shortest video length possible. i was trying to make a simple ajax post request to post to my twitter page, and it worked fine in postman but it gave me the allow origin thing error, though when i added the callback part like in your video nothing changed. (im trying to do it on codepen btw) so i dont really know wussup with that... i thought i understood ajax but holy molly was i mistaken!
@aparup2515
@aparup2515 8 жыл бұрын
What is the text editor you used in this video? Is there a better alternative?
@webconcepts
@webconcepts 8 жыл бұрын
+Apu B PhpStorm. Its built in debugger makes alternatives such as sublime text or vim a non starter in my opinion.
@aparup2515
@aparup2515 8 жыл бұрын
***** Thank u. Will use it
@amreshgiri4933
@amreshgiri4933 7 жыл бұрын
WebConcepts isn't it intellij JavaScript ide ?
@SimandanAdrian
@SimandanAdrian 8 жыл бұрын
Hi like your tutorials. Please make more. Maybe on SharePoint and Angular? Cheers from Romania!
@zanereeder125
@zanereeder125 5 жыл бұрын
Very informative thanks! Going 1000mph though so maybe bringing it down just a tad would help some. Thanks again!
@AnotherKentPaul
@AnotherKentPaul 6 жыл бұрын
What editor are you using here?
@HeribertoRoman
@HeribertoRoman 7 жыл бұрын
I thought AJAX was an old old wooden ship? lol JK great vid thanks!
@mahdikarimi6467
@mahdikarimi6467 5 жыл бұрын
Wow awesome
@Akshay190196
@Akshay190196 6 жыл бұрын
Can you help us out with the smaller facts mentioned in this video like.. callback parameter ... api getting added to the page as script tag... Just for beginners.?
@bqrkhn
@bqrkhn 8 жыл бұрын
You should mention your Facebook and twitter links in the description.
@anounTT
@anounTT 7 жыл бұрын
Are you using Emmet in Visual Studio?
@antoniodesousa1731
@antoniodesousa1731 6 жыл бұрын
Excellent video tutorial, but a tad fast... wish you would create a series targeted for beginners at a slower pace... thanks!
@dwidwidwi210
@dwidwidwi210 7 жыл бұрын
what text editor do u use for this video?
@gauravpoudel7288
@gauravpoudel7288 6 жыл бұрын
you man! you are awesome
@thomasjameson5761
@thomasjameson5761 7 жыл бұрын
I'd like to note your missing a / in the closing script tag around 8:29. Not a big deal for the purposes of this vid though. Great tutorial!
REST API concepts and examples
8:53
WebConcepts
Рет қаралды 6 МЛН
Async JavaScript Part 1: What is AJAX?
21:25
Code with Ania Kubów
Рет қаралды 116 М.
Como ela fez isso? 😲
00:12
Los Wagners
Рет қаралды 33 МЛН
Indian sharing by Secret Vlog #shorts
00:13
Secret Vlog
Рет қаралды 60 МЛН
Китайка и Пчелка 4 серия😂😆
00:19
KITAYKA
Рет қаралды 2 МЛН
Шокирующая Речь Выпускника 😳📽️@CarrolltonTexas
00:43
Глеб Рандалайнен
Рет қаралды 11 МЛН
You don't need a frontend framework
15:45
Andrew Schmelyun
Рет қаралды 90 М.
The Blazor Competitor is Here!
15:08
Nick Chapsas
Рет қаралды 26 М.
BREAKING: jQuery V4 Is Here (YES REALLY)
12:30
Theo - t3․gg
Рет қаралды 183 М.
JSON Crash Course
24:49
Traversy Media
Рет қаралды 1 МЛН
JSON and AJAX Tutorial: With Real Examples
40:45
LearnWebCode
Рет қаралды 1,8 МЛН
Learn JSON in 10 Minutes
12:00
Web Dev Simplified
Рет қаралды 3,1 МЛН
What is a REST API?
9:12
IBM Technology
Рет қаралды 1,4 МЛН
Fetch API in JavaScript for AJAX Developers
11:25
dcode
Рет қаралды 26 М.
Creating an SPA Router in Vanilla JS
3:42
Mitch Dev
Рет қаралды 69 М.
😱НОУТБУК СОСЕДКИ😱
0:30
OMG DEN
Рет қаралды 3,2 МЛН
Где раздвижные смартфоны ?
0:49
Не шарю!
Рет қаралды 485 М.
как спасти усилитель?
0:35
KS Customs
Рет қаралды 529 М.