What Is Ajax?

Sdílet
Vložit
  • čas přidán 3. 03. 2016
  • 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...
  • Věda a technologie

Komentáře • 280

  • @andrewfacchiano5117
    @andrewfacchiano5117 Před 8 lety +296

    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 Před 6 lety +2

      Oh I like the pun

    • @JenniferStewart100
      @JenniferStewart100 Před 4 lety

      Andrew Facchiano Amen to that!

    • @jorgelionel4241
      @jorgelionel4241 Před 2 lety

      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 Před 2 lety

      @@jorgelionel4241 this question is so insanely stupid

  • @za012345678998765432
    @za012345678998765432 Před 4 lety +60

    the beginning was really helpful, i lost you once you started writing code

  • @sunkeehong356
    @sunkeehong356 Před 5 lety +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.

  • @krishnamohan2351
    @krishnamohan2351 Před 8 lety +1

    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!

  • @garthtee
    @garthtee Před 8 lety +7

    Your videos get straight to the point, unlike any other tutorial ever! Keep them coming 😃

  • @kockgunner
    @kockgunner Před 8 lety +1

    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 Před 8 lety +1

    Brilliant tutorial. The most simple yet complete introduction to Ajax I have ever come across.

  • @namenone8387
    @namenone8387 Před 7 lety +3

    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. :)

  • @joaoooteixeira
    @joaoooteixeira Před 5 lety +1

    I like short and straight content and that's exactly what you just delivered to us! Hoping to see this channel grow !

  • @MoeFateh
    @MoeFateh Před 8 lety +1

    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!

  • @aman7555
    @aman7555 Před 8 lety +1

    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.

  • @ebragimovic
    @ebragimovic Před 8 lety +3

    Welcome back mate, glad to see more videos from you glorious channel =)

  • @PetterBruland
    @PetterBruland Před 6 lety

    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.

  • @adamhughes4496
    @adamhughes4496 Před 3 lety

    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!?

  • @aldialfarnando6813
    @aldialfarnando6813 Před 6 lety

    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) ✌️

  • @ComeAllYouWeary92
    @ComeAllYouWeary92 Před 8 lety

    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.

  • @MilesWilsondreamteam
    @MilesWilsondreamteam Před 8 lety +12

    Glad you're back

  • @ManonHc
    @ManonHc Před 7 lety +1

    Man you're awesome ! I'm student in development and I love all video's you've made. Rest Api also great !

  • @b0lasater
    @b0lasater Před 7 lety

    These are really helpful videos -- at the right level of detail and easy to understand. Thanks for the effort it took to make these.

  • @RocketLR
    @RocketLR Před 7 lety

    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!

  • @LordShaxe
    @LordShaxe Před 8 lety

    glad to see you back! your videos are awesome. Keep it up.

  • @AndredeWerdt
    @AndredeWerdt Před 7 lety

    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!!

  • @rhidlor8577
    @rhidlor8577 Před 5 lety

    This video was surprisingly digestible and informative, thanks!

  • @JustJohnny
    @JustJohnny Před 6 lety

    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.

  • @GhettoYhetti
    @GhettoYhetti Před 7 lety

    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!

  • @sumanthburla1703
    @sumanthburla1703 Před 5 lety +2

    best way of explanation man !! love to hear more from you : )

  • @DaKLang
    @DaKLang Před 7 lety +3

    You've made me so happy today! My learning curve is getting sliced in half!

    • @DaKLang
      @DaKLang Před 7 lety +1

      WHAT? WHY!? I was anxiously waiting on his Part 2 of the "Web Presence"!! His videos were awesome!

    • @gavinchan4627
      @gavinchan4627 Před 7 lety

      this video is updated on March of last year. So long time, maybe he quitted. :(

  • @rks2868
    @rks2868 Před 7 lety

    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

  • @_mdan9304
    @_mdan9304 Před 4 lety

    tremendous information density! I'm three years late on seeing this but great presentation

  • @tshiamokomane1929
    @tshiamokomane1929 Před 7 lety +1

    Absolutely fantastic video! Thank you!

  • @MikeSharov
    @MikeSharov Před 8 lety

    I hope you continue to make these videos, they are awesome! :)

  • @ivangodoy4593
    @ivangodoy4593 Před 8 lety

    Upload videos more often! They are great!

  • @AdamDeRidder
    @AdamDeRidder Před 6 lety

    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.

  • @kurianbenoy9369
    @kurianbenoy9369 Před 7 lety

    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

  • @adecakasio6482
    @adecakasio6482 Před 2 lety

    awesome.
    thanks for the concise answer.
    well thought out and structured video - respect!

  • @Harshanalluru_3
    @Harshanalluru_3 Před 7 lety +46

    you are a rapper..! :)

  • @khuselamphokeli7126
    @khuselamphokeli7126 Před 8 lety

    Great tutorials bro, Congratulations. You have won yourself a new subscriber.

  • @jonfortner3167
    @jonfortner3167 Před 8 lety +129

    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 Před 6 lety +4

      I agree, pretty fast paced.

    • @TheLolgee
      @TheLolgee Před 6 lety +5

      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 Před 6 lety +2

      're absolutely right. The idea and info are ok but the speed is driving me nuts

    • @justinmaxwell4199
      @justinmaxwell4199 Před 5 lety +3

      Use the pause key

  • @wpcustomize8070
    @wpcustomize8070 Před 8 lety

    Nice to see you again.

  • @timtitus7861
    @timtitus7861 Před 7 lety +31

    I feel like this guy's head might just explode at any moment....especially when he gets to talking super fast.

  • @SoulJah876
    @SoulJah876 Před 5 lety +9

    Gotta give thanks for CZcams allowing me to play this at 0.5 and 0.75 speed. Very informative though.

  • @enigmareport
    @enigmareport Před 7 lety

    Great channel, subscribed. Keep making content!

  • @iTomAnks
    @iTomAnks Před 5 lety +1

    Insanely helpful, thank you!

  • @irvinrules
    @irvinrules Před 8 lety +1

    you are great at explaining what thing are. thanks

  • @mystickid1
    @mystickid1 Před 7 lety +2

    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 Před 8 lety

    Thank you for the videos! :) You deserve more subs and views!

  • @daviddonadze221
    @daviddonadze221 Před 6 lety

    I like fast paced videos. Thank u

  • @alvinlu1512
    @alvinlu1512 Před 5 lety

    Absolutely nailed it! Great explanation :)

  • @cassiusspacetrain2852
    @cassiusspacetrain2852 Před 6 lety

    so fast, so accurate, so good !!

  • @Rbn49
    @Rbn49 Před 8 lety

    Very nice and clear explanation!

  • @Akshay190196
    @Akshay190196 Před 6 lety +1

    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.?

  • @pashapetrosyan7336
    @pashapetrosyan7336 Před 7 lety

    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?

  • @dwidwidwi210
    @dwidwidwi210 Před 7 lety

    what text editor do u use for this video?

  • @damonzh1886
    @damonzh1886 Před 4 lety

    pretty clean with demonstration

  • @trones9204
    @trones9204 Před 6 lety

    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.

  • @robertvonzalaburg2934
    @robertvonzalaburg2934 Před 4 lety

    The becomes $('#images').data('url'), is it due to the hyphen?

  • @marcotaub
    @marcotaub Před 8 lety

    best AJAX tutorial I've ever seen!

  • @travelblogger7102
    @travelblogger7102 Před 6 lety

    AWESOME EASY EXPLANATION! 🔥THANKS, A LOT!!! 👍🏽

  • @anoopsai2414
    @anoopsai2414 Před 4 lety

    The first few minutes of the video was pretty clear, being a beginner couldn't catch up the speed after the that.

  • @AnotherKentPaul
    @AnotherKentPaul Před 6 lety

    What editor are you using here?

  • @dc9026
    @dc9026 Před 2 lety

    Great video! How long did it take you to learn to do things like this? I am just starting and this seems so complex.

  • @taoli2635
    @taoli2635 Před 8 lety

    Awesome explanations!

  • @dillonhansen71
    @dillonhansen71 Před 8 lety

    hey, this is good stuff here. yo should consider uploading more frequently.

  • @kobuslol
    @kobuslol Před 8 lety

    Very nice guide. Now I can improve my site ^^

  • @anounTT
    @anounTT Před 7 lety

    Are you using Emmet in Visual Studio?

  • @AVSbeats
    @AVSbeats Před rokem

    Woah you are very smart by coming across this method 😮

  • @martinboom01
    @martinboom01 Před 6 lety

    Just fantastic. Thank you.

  • @stefanaleksik4896
    @stefanaleksik4896 Před 7 lety

    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 Před 6 lety

    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?

  • @TheEmperorFX
    @TheEmperorFX Před 8 lety

    Great, Your back to making new videos

  • @kobadg
    @kobadg Před 8 lety

    YES HE IS BACK! SO MUCH HAPPY!

  • @logeshlog1991
    @logeshlog1991 Před 7 lety +4

    Hi dude,
    pls keep on upload videos.

  • @AnotherKentPaul
    @AnotherKentPaul Před 6 lety

    What's the Editor's name you're working with?

  • @soultouchingsongs
    @soultouchingsongs Před 7 lety +1

    Great tutorial. just what i was searching.. Thank you soo much.. 👍

  • @rinjinl3520
    @rinjinl3520 Před 7 lety

    Is a instagram api needs a special permission to fetch a data for my instagram app id.? because my data array is empty.

  • @jonkubik4185
    @jonkubik4185 Před 5 lety

    The way you edit these videos helps me understand this information so much more, thank you for explaining it in the way you do :)

  • @license2Bort
    @license2Bort Před 4 lety

    This video was fantastic! I understood about 30% bc i'm a beginner, but great video nonetheless!!!!

  • @mahlatsetshehla1801
    @mahlatsetshehla1801 Před 6 lety

    Awesome video

  • @sandipsubedi2294
    @sandipsubedi2294 Před 7 lety

    Great Explanation !

  • @ranikheir5272
    @ranikheir5272 Před 8 lety

    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!!

  • @scottsmyth3251
    @scottsmyth3251 Před 4 lety

    Thanks, super clear

  • @user-ec5cl5rz9r
    @user-ec5cl5rz9r Před 7 lety +1

    thanks man))
    U are really cool orator and teacher+

  • @macintush
    @macintush Před 7 lety

    Hey, these are great videos. Wow

  • @shupesmerga4694
    @shupesmerga4694 Před 4 lety

    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!

  • @atabish2
    @atabish2 Před 8 lety

    What does 'p' stands for in jsonp ?
    Also is it possible to make a post request using ajax ?
    great tutorial btw..

  • @Competitiveforlolz
    @Competitiveforlolz Před 7 lety

    Nice, didn't know about JSON P and that it's a way to avoid the x domain issues.

  • @Gjacolby83
    @Gjacolby83 Před 8 lety

    This video is very nice.

  • @MrRobot-mb6rq
    @MrRobot-mb6rq Před 3 lety

    Is that instagram API still available??

  • @zanereeder125
    @zanereeder125 Před 6 lety

    Very informative thanks! Going 1000mph though so maybe bringing it down just a tad would help some. Thanks again!

  • @256k_
    @256k_ Před 7 lety

    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!

  • @SimandanAdrian
    @SimandanAdrian Před 8 lety

    Hi like your tutorials. Please make more. Maybe on SharePoint and Angular? Cheers from Romania!

  • @aparup53
    @aparup53 Před 8 lety +1

    What is the text editor you used in this video? Is there a better alternative?

    • @webconcepts
      @webconcepts  Před 8 lety +1

      +Apu B PhpStorm. Its built in debugger makes alternatives such as sublime text or vim a non starter in my opinion.

    • @aparup53
      @aparup53 Před 8 lety

      ***** Thank u. Will use it

    • @amreshgiri4933
      @amreshgiri4933 Před 7 lety

      WebConcepts isn't it intellij JavaScript ide ?

  • @MahmoudElaskare
    @MahmoudElaskare Před 8 lety

    great video

  • @antoniodesousa1731
    @antoniodesousa1731 Před 6 lety

    Excellent video tutorial, but a tad fast... wish you would create a series targeted for beginners at a slower pace... thanks!

  • @khalidelgazzar
    @khalidelgazzar Před 4 lety

    Nice video. So your next one is going to be in 2020?🤔🤔

  • @chrischoir3594
    @chrischoir3594 Před 3 lety

    Hi great video, is the source still available?

  • @Mildimage
    @Mildimage Před 6 lety

    Good video!

  • @ThePunisherBabi
    @ThePunisherBabi Před 8 lety +9

    i don't know if you were very fast so i couldn't understand, or i'm too beginner in order to understand all :v

  • @thomasjameson5761
    @thomasjameson5761 Před 7 lety

    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!

  • @lindascoon4652
    @lindascoon4652 Před 3 lety +1

    So is ajax client side rendering or server side rendering