Web Platform Docs

So here you have on place for everything WEB. A community driven portal/wiki which will someday make the web more Standardized; as its what they say.

And Adobe is one of the founding fathers, or mother or what ever..
Get over to webplatform.org and see for your self.

Processing multiple ajax requests Simultaneously

So i had this requirement where i have to send multiple service calls and have to process the data from all these calls together.
The trouble is, the data returned; even though is of the same format; have various lengths. Means one request might have too much data
and the other might have too little. Depending upon this, the duration of the request/response will also vary.

So i had to make sure that the requests where sent simultaneously and had to trigger a callback when all the responses have been received successfully.

CSS3 Rotating CUBE

So i setoff on a quest to make a BOX out of CSS alone and make it rotate.

And here i am making some SPANs and DIVS move like a CUBE

Quick Closure. How to write closures for simple Javascript Functions

This is a quick Example of usage of Closure in Javascript.
For this i am going to take the case of a small function which helps you convert Time stamps into Dates

CSS3 Bouncing Ball, Multiple keyframe animation method

Earlier i had posted an experiment for making a ball bounce inside a playground, using 2 divs. That went quiet well.
So now we will try to do the same using just one element and giving it 2 key-frame animation.

CSS3 Bouncing Balls

We have had a lot of fun making balls bounce off walls in HTML5 Canvas or even just by using DIVS and some JavaScript code.
So now i have set myself up for a challenge to make it happen without using JavaScript but using CSS3 alone.

Ofcourse animations can be done pretty easily using CSS3. But it is not possible to check for collisions and wall impacts.
So i had to think differently.

I started off by making a div (ball) bounce Vertically. That's fairly simple in CSS3, aint it ??

The demo below does just that.

A Thousand Nodes : Intro to Drupal Module Development on GoogleHangout

I will be taking about some basics of Drupal Module development on a Google Hangout session
https://plus.google.com/u/0/events/cjil1el9r896qa3b64ufdsfueoc

BAD CANVAS!! canvas.toDataURL() Exception [SOLVED]

So I was working on this site which has its images hosted on Amazon S3.
And it also needs to be able to edit those images using an HTML5 Canvas.
Was fun building it and things went pretty well. Until we moved the images to Amazon. Amazon S3 gives a subdomained url for the media starting with the Bucket name.
That was good enough, atleast if things were not breaking.

Passing objects to setTimeout and setInterval timed functions.

For JavaScript timed events we always rely on setTimeout and setInterval to execute a bit of code after a time period or at regular intervals.
They also have a very simple syntax. Generally the code to execute is run inside an anonymous function.

Updating Node.js, NPM and express.jS

I has been some time since i had played around with express.js and the node version that i was using was also outdated. So i decided to update them all; and figured out it was not that difficult to do it in the first place.

First of all i had got my node installed at /home/user/. I had to move it from here. So i started off by removing node

Pages

Subscribe to a thousand nodes... RSS
Go Home Doodle, You are drunk