什么是好的JavaScript OOP资源? [英] What are good JavaScript OOP resources?

查看:114
本文介绍了什么是好的JavaScript OOP资源?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

JavaScript是一种轻量级和强大的语言,但它经常被误解和难以学习(尤其是面向对象的编程)。



学习JavaScript OOP的好材料(博客,屏幕录像和书籍)是什么?



此外,你是如何学习函数式编程,闭包,对象,继承和设计模式的。这些主题可以是任何东西,但现在不包括浏览器,AJAX和库。在JavaScript?个人我想看到更多的代码示例,因为我上面提到的一些书保持了这个例子最小。



(编辑: ,请帮助维护并开发以下资源列表!)



图书 >


  • JavaScript:好的零件 by Douglas Crockfond,这是大多数Javascripters在堆栈溢出时推荐的书。我观察到,人们已经提高了他们的技能在java脚本与这本书。访问他的网站: crockford.com 了解详情。

  • < a href =http://rads.stackoverflow.com/amzn/click/1847194141 =nofollow noreferrer>面向对象的JavaScript:创建可扩展的,可重复使用的高质量JavaScript应用程序和库 Stoyan Stefanov ,经历了许多OOP主题,例如对象,原型,继承和一些模式。

  • Pro JavaScript Design Patterns ,由Ross Harmess和Dustin Diaz讨论,着名的设计模式在JavaScript中的应用。



视频





堆栈溢出





其他

/ en / Introduction_to_Object-Oriented_JavaScriptrel =nofollow noreferrer>面向对象JavaScript简介 - Mozilla Dev
  • Dummies的JavaScript闭包

  • JavaScript闭包

  • JavaScript Closures 101

  • JavaScript中的私人会员 by Douglas Crockfond

  • JavaScript中的古典继承 by Douglas Crockfond

  • Prototypal Inheritance in JavaScript by Douglas Crockfond

  • JavaScript,时间到grok闭包


  • 解决方案

    您可以在主流图书馆中看到很好的代码示例,比如 jQuery 。我学到了很多只是阅读它的源代码。没有什么比阅读在数百万网站上工作的来源更好,并且关注最佳做法。


    JavaScript is a lightweight and powerful language, but it's often misunderstood and hard to learn (especially about its object oriented programming).

    What are the good materials (blogs, screencasts and books) to learn JavaScript OOP? The topics can be anything, but let's not include browsers, AJAX and libraries for now.

    Also how did you learn the functional programming, closure, object, inheritance and design patterns in JavaScript? Personally I would like to see more code examples because some of the books I mentioned above keep the example minimal.

    (EDIT: As this post is now community effort, please help maintain and develop the following list of resources!)

    Books

    Videos

    On Stack Overflow

    Others

    解决方案

    You can see great code examples of Javascript in mainstream libraries like jQuery. I've learned a lot just reading it's source code. There's nothing better than reading sources that are working in millions of websites and are concerned about best practices.

    这篇关于什么是好的JavaScript OOP资源?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

    查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆