jQuery vs MooTools Nightly Benchmark


MooTools team suprised us by releasing 1.3 beta. One of the most notable features was Slick – very fast selector engine. It does not use MooTools code, so finally we can use it without attaching whole MooTools Core. On other side, as everybody knows, jQuery seems to have fastest selector engine among JavaScript libraries – SizzleJS . So include SizzleJS or Slick? Check our benchmarks and decide yourself.

Read entire post »


Add to Del.cio.us

RSS Feed

Add to Technorati Favorites

Stumble It!


Digg It!

        www.sajithmr.com

Unit Testing in JavaScript: Selenium


I’ve described tools like QUnit or JSSpec. They allow us to test JavaScript functions, classes, generally things that works without refreshing the page. But what if we need to check existance of “Log in” page, whether navigation works properly or user is able to modify settings of his account. These actions require loading several pages on different browsers and systems. Here comes Selenium. Suite of tools to automate web app testing across many platforms.

Read entire post »


Add to Del.cio.us

RSS Feed

Add to Technorati Favorites

Stumble It!


Digg It!

        www.sajithmr.com

Mobile Application Development using JavaScript


JavaScript is not only for webpages and web applications. Among other things, You can create realtime applications, serverside solutions, desktop and mobile applications. There are two types of moble applications: running in browser and native ones. These latter are often faster and more powerful. That’s because they have access to filesystem, accelometer, camera and et ceatera. Native applications are usually written in phone-specific language like Objective-C or Java, hence stanalone programmers generally choose HTML+CSS+JavaScript solutions. Happily, thanks to lastest technology, we are able to easily transform browser application into truly native one.

Read entire post »


Add to Del.cio.us

RSS Feed

Add to Technorati Favorites

Stumble It!


Digg It!

        www.sajithmr.com

HTML5 JavaScript API. What’s new?


HTML5 has a lot of new features. There’s new HTML, CSS and, of course, JavaScript. Officially HTML5 specification and implementation won’t be ready until 2022. Personally I don’t believe in this. Majority of JavaScript features described further are already implemented in modern browsers (e.g. Sarafi, Chrome, Firefox, Opera). Even Internet Explorer gained capability to render canvas and other stuff (supposing we use ExplorerCanvas or Chrome Frame). Take a closer look at what’s going to make your live better and happier :

Read entire post »


Add to Del.cio.us

RSS Feed

Add to Technorati Favorites

Stumble It!


Digg It!

        www.sajithmr.com

Event Delegation with JavaScript


Event delegation involves attaching event handler to parent DOM element. Reason is simple: when an event is triggered on an element, the same event is also triggered on all of that element’s ancescors. Event bubbles up from the most nested element (e.g. button) to the root of the DOM (e.g. window); this process is known as event bubbling.

Read entire post »


Add to Del.cio.us

RSS Feed

Add to Technorati Favorites

Stumble It!


Digg It!

        www.sajithmr.com

10 steps to make your site cacheable


If your startup is relatively new and doesn’t take much network traffic, there’s probably no reason to be interested in caching. The problem arises when users begin to complain about the time to load several pages. Well, users hate waiting. If you care about their convenience or you are curious about caching this article is especially for you. Read entire post »


Add to Del.cio.us

RSS Feed

Add to Technorati Favorites

Stumble It!


Digg It!

        www.sajithmr.com