Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Advanced JavaScript/JQuery Design Patterns

What are the best resources on Design Patterns catering specifically to web development with JavaScript and JQuery?

I'm particularly interested in information on programming my own libraries, reusable components, widgets, etc. and the merits of various techniques (for instance in the case of components/widgets comparing those employed in jQuery UI vs. rolling your own).

I'm also curious about the intricacies of JavaScript as a programming language, and the finer points of object-based programming with JavaScript.

Big fan of Douglas Crockford and the Yahoo video series. Looking for additional examples.

like image 768
jverdi Avatar asked Feb 03 '23 05:02

jverdi


1 Answers

One very instructional thing you might do is read over the jQuery source code. It's a treasure-trove of interesting and efficient coding techniques. You might then broaden your horizons by reading over the source for Prototype or some other library.

The nice thing about reading good code and trying to understand it is that it's really real; it is the good code, so you bypass a layer of rhetoric.

like image 162
Pointy Avatar answered Feb 05 '23 20:02

Pointy