Browsing articles from "December, 2009"
Dec
22

Video: Multi-Touch JS demo in the wild

Using Multi-Touch Events in Firefox and processing.js, you can create quite cool stuff:

More here.


Dec
22

jQTouch HTML5 database api extension

If you want to dive in mobile website and you are a good jQuery developer, you will love jQTouch. It’s one of the best mobile web framework out there.

However, one thing I found it was missing, was some database api. In webkit you now have access to one database per website address. Think of it as a better cookie. You could for example easily create a To do list with this feature.

Webkit is touchy about its database

You don’t mess with the webkit database, if you do, there is a good chance it will crash. Building this script, I never saw so much crash in Safari! so be careful using it. This script creates an abstraction of the webkit database api, it will enable you…


Dec
7

Video: High Performance at Massive Scale – Lessons learned at Facebook

An interesting video explaining how Facebook faced the scaling problem

The Video
(Windows media player only)


Dec
1

Demystifying jQuery .live() and why it’s generally faster than .bind()

Live() is kind of an odd method. Most people use it for binding an event to a selector injected in the DOM in a loaded page. It does its magic but how?

Event delegation and bubbling

The concept behind .live() is pretty ingenious. Basically there is a feature in javascript called event bubbling, when you click on a html tag the event is triggered to all its ancestors including the page document itself. What .live() does is bind 1 event to the document, from there when you click on your html tag it uses the event bubbling and determines if what you clicked on corresponds to your live selector and executes your binded function accordingly.

However it has one big drawback, if you are using event bubbling on…


Dec
1

JSconf2010 announced with a new website and an interesting concept

Jsconf is coming back this year and has a pretty interesting concept. They are looking to get some more talks, but it’s not just as easy as sending it to an email.

If you are interested, first you need to understand how the website works, there is a hidden json in the website (ppsstt: use the DOM tab of firebug), from there you will have access to some commands (use javascript:jsconf.theCommand() in the address bar). Once you have find the form, you will need to encode your submission in json to get accepted! It will certainly reduce the amount of talks idea sent, which is certainly not a bad idea, if you can’t figure it out, you should probably attend the event rather than do a talk.

Anyways,…


RSSSome Tweets