Window phone concept
Is it a window, is it a phone? No. Actually, it’s Window phone and this is the part where you are saying “Whaaat? What are you talking about?”. The phone is actually a concept with extraordinary features. Surely if this could be actually put into production, it would set a new standard for the term “cool”.
Addy Osmani, a very well known JavaScript Guru, and a few other developers maintain a project called TodoMVC. The purpose of this project is to expose sample “todo” applications in every JavaScript MV* framework, and ultimately help you pick which one is right for your project.
They have examples in all of the major frameworks (Backbone.js, Spine, Ember.js, etc) as well as some up and comers. As of this writing, there are 23 projects currently in progress. Contributors are welcome, just make sure you read their contribution guidelines.
View the live demos or browse the source at GitHub.
Craig Campbell, who we covered in a previous article, has released a library for handling JavaScript keyboard shortcuts.
It is small (~2kb minified), has no external dependencies, and is very simple to use:
Mousetrap.bind("$", function(){ console.log("Like a gentleman!"); });It also has support for gmail-style sequences and key combinations:
Mousetrap.bind("g i", function(){ console.log("Sequences!"); }); Mousetrap.bind("command+shift+k", function(){ console.log("Key combinations!"); });Checkout the examples to see some more features, or browse the source at GitHub.
Important PSA