- jQuery - The de-facto library for the modern age. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers.
- Backbone - Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface.
- AngularJS - Conventions based MVC framework for HTML5 apps.
- Underscore - Underscore is a utility-belt library for JavaScript that provides a lot of the functional programming support that you would expect in Prototype.js (or Ruby), but without extending any of the built-in JavaScript objects.
- lawnchair - Key/value store adapter for indexdb, localStorage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
https://speakerdeck.com/addyosmani
#large scale javascript application architecture http://speakerdeck.com/u/addyosmani/p/large-scale-javascript-application-architecture http://addyosmani.com/largescalejavascript/
mediator pattern
facebook flux unidirectional dataflow (instead of pub/sub)
facebook reactjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Emmet cheatsheet](http://docs.emmet.io/cheat-sheet/) | |
##html | |
- press tab after line | |
- div>ul>li | |
- ! => (=html5 template) | |
- script:src | |
- style => | |
- a => | |
- a:mail => | |
- img => |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://speakerdeck.com/addyosmani/ | |
https://developers.google.com/web/starter-kit/ | |
[writing modular javascript](http://code.tutsplus.com/tutorials/writing-modular-javascript--net-14746) | |
google material design | |
grunt | |
gulp | |
sass | |
js boilerplate | |
polymer (web components) | |
aurajs (todo: testen) (web components) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
zsh (oh-my-zsh) | |
antigen (manage shell scripts) | |
solarized theme | |
http://www.bash2zsh.com/zsh_refcard/refcard.pdf | |
http://grml.org/zsh/zsh-lovers.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from: http://stackoverflow.com/questions/9329446/how-to-do-for-each-over-an-array-in-javascript | |
For Actual Arrays | |
(See "For Array-Like Objects" below for array-like objects.) | |
You currently have three options and will soon have two more: | |
Use forEach and related (ES5+) | |
Use a simple for loop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://github.com/vanslambrouckd/marionette_test/blob/master/js/region_modal.js | |
<div class="ui modal" id="modal-region"> | |
<i class="close icon"></i> | |
<div class="header"> | |
<%= title %> | |
</div> | |
<div class="content"> | |
<div class="ui medium image"> | |
<img src="/images/avatar/large/chris.jpg"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Regions are areas taht will remain displayed (semi-) permanently as the user navigates (example: nav menu) | |
Layouts: behave like views, but in addition have areas where you can display subviews. | |
Layouts are meant to disappear when a user navigates somewhere else and that view is no longer necessary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"title":"Anonymous Gistbook","author":"vanslambrouckd","pages":[{"pageName":"","sections":[{"type":"javascript","source":"var test = 'david';\nalert('test');"},{"type":"text","source":"Welcome to Gistbook!"},{"type":"html","source":"<html>\n <body>\n jfdlksqjflkdqsjflqdks\n </body>\n</html>"}]}],"public":true} |
OlderNewer