Introduction to JavaScript and Browser DOM

Поделиться
HTML-код
  • Опубликовано: 26 авг 2024

Комментарии • 36

  • @HaithemOpeth
    @HaithemOpeth 7 лет назад +2

    Very good talk about the basics of Javascript. 7 years later and it's still relevant.
    Thank you Miško.

  • @DanielVorhauer
    @DanielVorhauer 8 лет назад +2

    My respect to the „crazy guy“. This video is a classic now - in context of latest releases of angular. Here Misko really goes into the basics. Object === Hash! Nice insight to Javascript and oo concepts!

  • @YadabRajOjha
    @YadabRajOjha 10 лет назад +3

    Great presentation! Very concise and informative point by point. Now I am feeling like I can understand lots of JavaScript frameworks code clear. Thanks for it.

  • @evhwolfgang2003
    @evhwolfgang2003 13 лет назад +1

    thanks for talking about the actual programming language without using alert() boxes within the first 15 seconds. Its a RUclips first!

  • @abdulrashid2023
    @abdulrashid2023 Год назад

    #2022 Loved How far Javascript world came so far.

  • @win32mfc
    @win32mfc 13 лет назад +1

    Strange. He talks about "__proto__" and "prototype". I've been reading JavaScript: The Definitive Reference (O'Reilly, 2007) and it does not mention "__proto__" at all. It explains that "prototype" is a property of ALL objects; whereas Misko states in the video that "prototype" is only defined for functions. In reading "JavaScript: The Good Parts", page 21, the first sentence under the heading "Prototype" says "Every object is linked to a prototype object from which it can inherit properties"

  • @mukeshsoni
    @mukeshsoni 11 лет назад +1

    Also saying 'this' can never be null or undefined, even using apply(null) or call(null) is incorrect. In strict mode, it's actually true.
    In non strict mode, this goes to Object(this) transformation, so passing null or undefined result in this pointing to global object.

  • @ajgubi19
    @ajgubi19 10 лет назад

    This felt like a solid review of everything I learned in past month!! I'll never forget 'this'! (pun indended!) :P

  • @bertobertoberto3
    @bertobertoberto3 11 лет назад

    very nice. it seems like everytime I look at javascript, i see something different. that's the biggest difficulty in learning js properly. as the speaker states, convention is a huge part of js development...there's the language itself, the dom api and then the conventions.

  • @davea0511
    @davea0511 13 лет назад

    @webr3
    No, you're right that "this" isn't always "window", but it is the root environment variable whatever that is. For a browser it's windows. for server js frameworks it's "process" or "server" etc ... depending on the framework.

  • @smlasdhaosf7764
    @smlasdhaosf7764 7 лет назад

    around 40:00, the difference between __proto__ and prototype, good explanation

  • @dasten123
    @dasten123 10 лет назад +1

    great information, very helpful!

  • @davea0511
    @davea0511 13 лет назад

    @Raizdecimal
    "Someone please tell him javascript ain't supposed to be Java."
    I couldn't agree more. He kept calling certain things "problems" where in fact the problem was that he expected JS to behave like Java. His "workarounds" are actually the way it's supposed to be done in JS. I could say the same thing about Java, calling the massive code just to create a binding a problem ... but I don't because there's a reason why it's done that way in Java, & a reason why JS is done differently.

  • @NTCco
    @NTCco 11 лет назад

    Question for Google developers, the official jQuey website used to list Google as one of the companies that uses the jQuery javascript library, but not anymore, does that mean Google developed its own library to achieve the same tasks, is it done for better performance or just reinvent the wheel because we can afford to? thanks

  • @SudeepMakwana
    @SudeepMakwana 9 лет назад +2

    awesome talk i m fan of angular.js & Miško Hevery Thanks for talk

  • @yugiugiuu
    @yugiugiuu 10 лет назад

    From a beginners type of view..."What are you saying???" I'm trying to learn though. Any good suggetions on how to learn this stuff without spending a lot of $$

  • @suconnottu64
    @suconnottu64 12 лет назад

    a useful, for free, lesson thank you

  • @davea0511
    @davea0511 13 лет назад

    @webr3
    "if you think of a function as a class, then __proto__ is on the instance and prototype is on the class"
    I think that's what he meant by saying only functions have prototypes ... all objects have prototypes but only functions requires you to associate the prototype.__proto__ with the .prototype of the class. I think he spent way too much time of __proto__ since the "new" constructor takes care of it for you and it's better practice to avoid __proto__ due to dependencies.

  • @RhexGomez
    @RhexGomez 10 лет назад +1

    Hi Can you use laser Pen sometimes.

  • @vikikamath
    @vikikamath 11 лет назад

    awesome!!!

  • @anshumanya
    @anshumanya 12 лет назад

    thank you !

  • @DeepakAnand1
    @DeepakAnand1 12 лет назад

    is __proto__ a JavaScript language construct like the speaker makes it seem

  • @02minutesvideography20
    @02minutesvideography20 7 лет назад

    Watching after 7 years :)

  • @coolworx
    @coolworx 7 лет назад

    1:38 This is the problem with Angular. It's a Java programmers API instead of a JavaScript programmers API.
    He himself admits he conceived of Angular as a javascript neophyte.
    And Angular 2? Why that's just trying to catch up with React.
    But my suggestion is Vue.

  • @mukeshsoni
    @mukeshsoni 11 лет назад

    I think the explanation of 'this' was not correct.
    A function is an object which has a property named 'this' which will point to the object whose property this function is (which can be changed by using call and apply). In your case, var fn = circle.area; meant fn is an object which is a property of the global object which is the window. So 'this' points to window.

  • @colinrickels201
    @colinrickels201 10 лет назад +1

    pretty fast intro around 18:05 got pretty mind f***** but provoked some real thinking good mindrace...i say mindrace cause thats what this is not a tutorial or an intro

  • @MegF142857
    @MegF142857 12 лет назад

    5:28 "Does that make sense?" Uh... no.

  • @JavascriptHacker
    @JavascriptHacker 12 лет назад







    Oops my finger slipped.

  • @AdobadoFantastico
    @AdobadoFantastico 10 лет назад +1

    Crap is a bit strong, but definitely mediocre.

  • @ThunderAppeal
    @ThunderAppeal 10 лет назад +1

    So many things wrong with this guy and the way he describes how javascript works. He's so friggin condescending its unbearable. At 10:07 when he asks if volvo.powered changes vehicle.powered as well in a room full of people who are supposed to be programmers. As if no one there understands the concept of references, pointers, inheretence, static properties in OO programming. At 2010, that video was made in a time when OO programming concepts have already been used on a large scale for about 10 years. Saying 'youre covering up the property' is so condescending and he tries to put himself in a superior position 'above' the others. Fucking turd.

    • @demisx
      @demisx 10 лет назад +8

      This guy is the creator of AngularJS Javascript framework and what kind go bug are you???

    • @ThunderAppeal
      @ThunderAppeal 9 лет назад +1

      frusfromus Have you ever actually worked with angular? Or are you just a typical ignorant fan boy?

  • @doug65536
    @doug65536 11 лет назад

    Seriously? No, w3schools is NOT a reference. w3schools is crap.