AlexSexton.com $('human#alex thoughts').filter(':not(.bs)');

8Mar/106

Superclassy Inheritance with Javascript Video

Here is the uncut director's edition of my talk given on February 20th, 2010 concerning Inheritance patterns in Javascript. Please forgive the rambling, and the bit of extra footage on either end of the talk.

Superclassy Inheritance with Javascript - Alex Sexton - NCJS 02/20/10 from yayQuery on Vimeo.

<3z

  • Jon

    Hey, I was just wondering if you might post the demo referenced in your talk. Being new to understanding the benefits of inheritance, it would be great for me and I’m sure others to look through the three different approaches a little bit slower than it was gone over in the video.

  • http://AlexSexton.com Alex

    Yea, I think I linked it in the related slides, but you can never have enough links!

    http://alexsexton.com/inheritance/demo/

    Let me know if that’s whatchya need :)

  • http://www.doesdanielhaveawebsite.com/ Daniel Lopez

    Thanks for this, great talk and the demo’s are priceless. I’m writing a rather large javascript application and trying to figure out what to use, prototypal or classical. This is definitely going to help me out in that decision!

  • http://www.php.de/javascript-ajax-und-mehr/69465-erledigt-jquery-animate-step-aktuellen-step-und-delay-festlegen-3.html#post526372 [Erledigt] jQuery animate step: aktuellen step und delay festlegen – Seite 3 – php.de

    [...] Prototypal Inheritance extending javascript objects and classes building large jquery applications superclassy inheritance with javascript – podcast Damit haste was vor dir __________________ Kernelnotes: [...]

  • Steve Sperandeo

    @Daniel – That’s an understatement… this is a superb talk

    I’ve been searching for a good explanation or approach for Javascript inheritance for a number of months now. I had read several of the references (module pattern, the good parts, simple inheritance), but hadn’t been able to piece it all together within jQuery. This talk and the previous article were the missing pieces I’d been looking for. I know that you didn’t come up with all the parts, but putting something together to form a cohesive idea and explain it simply is just as brilliant, if not more.

    Thank you for taking the time to share and present a polished description on the subject. Your writing is clear and easy to follow, your code is clean and easy to follow and your talk was natural and didn’t have cluttered slides.

    Cheers,

    PS. I had a crush on Papa Crockford too… :-) Okay… maybe I still do

  • http://twitter.com/RBikwemu Robert Bikwemu

    Hi I’m one of your “Troubled Newbz” and was wounding if pyjamas, which being based in python and thus using a lot of models would still fall short to your inheritance style? Also pyjamas is fuctional and great syntax even for this newb.

    And if this makes no sense then could you tell me what you think of pyjamas? thx

  • Alex S

    Hi Robert,

    I don’t have much experience with pyjamas, but my theory is that if you are happy using it, and things are well separated and make sense, then it’s perfect. I say go for it.