Bin-Blog logoBin-Blog

Learn about the latest in Web Development – as soon as I do.

Posts Tagged ‘JavaScript’

JSL – a New JavaScript Library

By Binny V A • Jul 20th, 2008

Yesterday, I published a new JavaScript Library – JSL. It borrows many ideas from the famous jQuery library.
Download

Packed Version – 13 KB
Source – 38 KB

Features
The Standard Stuff…

CSS DOM Selectors
Ajax Functions
Event Handling is abstracted
Ability to change style of an element.
Extendable by Plugins
Supports all Modern Browsers
And more…

And then some…

Function Chainability
Entire Library is 13 KB(un-gzipped)
Special handlers [...]



Hello Script For JavaScript

By Binny V A • May 22nd, 2008

The next language to get the Hello Script treatment is JavaScript – my favorite language. Before we go any further, here is the definitions for Hello Script and JavaScript – just to make sure that we are on the same page…

Hello Script
‘Hello Script’ is a file that contains the most commonly used elements of a [...]



Alertle Launched

By Binny V A • Feb 10th, 2008

I am one of the geeks behind Alertle. Its a web based RSS Reader. I am responsible for a good amount of the JavaScript areas of this app
Features

Single Page Application
The entire application is contained in a single page – everything is done through Ajax. I will not advice that you make something like [...]



Keyboard Shortcuts JavaScript Library

By Binny V A • Jul 21st, 2007

I have created the second version of the JavaScript Shortcut Library. It is one of my more popular scripts. This script eases the work involved in making shortcuts in JavaScript.
Despite the many JavaScript libraries that are available today, I cannot find one that makes it easy to add keyboard shortcuts(or accelerators) to your javascript app. [...]



Success/Error Design Pattern For Ajax

By Binny V A • Jun 22nd, 2007

‘Success/Error’ design pattern for Ajax requests is a JSON encoded string in a specific format – each response has a minimum of two elements in it – ie ’success’ and ‘error’ – like this…
{
“success”:”Task done successfully”,
“error”:false
}
OR
{
“success”:false,
“error”:”Database Connection Error!”
}
This method is used extensivly in Nexty. Almost all Ajax response in Nexty ares in this format.
Since this [...]