Everybody knows that crate a good looking – usefull – fast – email is a pain, well there is a solution!
Check html bilerplate email

For an easy and flexible site building just use Backbone.js.
They say:
“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.”
I can tell you, they are right!

Look some examples here

Excellent tips about efficiency in javascript from the Dev Opera Team.

Link here.

 

09
Dec
stored in:

ajax, css

and tagged:

, ,

Build your own ajax loader in pure CSS (you know, without images…)

Link here.

MrDoob.com is a web site that show us funny (and useless) stuff built in javascript and webGl.

Just look around and enjoy it!.

Twitter hosts this cool jsonp interface that enables you to pull down all kinds of twitter data to your client application, jsonp enables us to get around XSS, so the application does not need a serverside component at all.
Script here.

Today we’re going to take a look at sprite animation. There’s been a lot of talk this year about the future of technologies like Adobe’s Flash and for good reason – with the performance of JavaScript frameworks having come so far since they were first conceived, it’s now possible to create equally as powerful animations and effects without needing to use any third party plugins.In today’s screencast I’m going to show you what a sprite is and just how easy it can be to create an entire animated scene using jQuery, CSS & Sprites.

Explication here.

Demo Source Code

Edit: the old page is offline, check here
Liquid Columns

“Liquid columns do not leave any excess white space and fits perfectly within its layout, only downside of this is that we are restricted to having a fixed number of columns per row.”

Script and explication here.

Many times we need split a list in lists of N elements, here is the fastest python code:


def chunks(l, n):
""" Yield successive n-sized chunks from l.
"""
for i in xrange(0, len(l), n):
yield l[i:i+n]

 

Excellent tutorial I am going to show you how to create a jsonp rating stars , the idea is just to get the rating values from the server using a jsonp call, after that the stars will appear below the items according to the values received from the server.

Demo Direct Download