Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: b6e5b6b4fe
Fetching contributors…

Cannot retrieve contributors at this time

60 lines (44 sloc) 2.249 kB
layout title author categories
post
Lawnchair, 91 Icons, Charts
Alex Young
graphics
storage

I like to keep Friday informal here on DailyJS, so here is my latest set of loosely game-development-related links.

Lawnchair

    .____                                 .__            .__         
    |    |   _____  __  _  ______   ____  |  |__ _____   |__|_______ 
    |    |   \__  \ \ \/ \/ /    \_/ ___\ |  |  \\__  \  |  |\_  __ \
    |    |___ / __ \_\     /   |  \  \___ |   Y  \/ __ \_|  | |  | \/
    |_______ (____  / \/\_/|___|  /\___  >|___|  (____  /|__| |__|   
            \/    \/ Lawnchair! \/     \/      \/     \/             

I keep mentioning HTML5 storage solutions in our “useful game-related junk” posts because sophisticated games are much more palatable when they take advantage of local storage. Lawnchair is an interesting project — it’s like a very simple ORM library that relies on JSON.

It supports iteration and has several ways of iterating over collections:

{% highlight javascript %}
people.each(function®{
console.log®;
});

// Classic with terse shorthand syntax
people.each(‘console.log®’);

// Iterate documents conditionally!
// The first function is a conditional. The second is a callback to execute on records returned by the first
people.find(
function® {
return r.name == brian;
},
function® {
console.log®;
}
);
{% endhighlight %}

91 Icons

I really like these SVG icons by the Raphael author: 91 Icons. Click an icon to see the path string used to generate the vector.

Campaign Monitor’s New Charts

Campaign Monitor have dropped Flash for charts and switched to a JavaScript solution. What’s cool about this is they’ve written up a blog post explaining how they did it: Say goodbye to Flash with our all new charts.

They’ve used the Highcarts library and added touch support so devices like the iPad will work with events properly.

Jump to Line
Something went wrong with that request. Please try again.