RSS

Posts Tagged ‘JavaScript’

JSMin – The JavaScript Minifier

Saturday, April 9th, 2011

JSMin is a filter which removes comments and unnecessary whitespace from JavaScript files. It typically reduces filesize by half, resulting in faster downloads. It also encourages a more expressive programming style because it eliminates the download cost of clean, literate self-documentation. [...]

Heresy & Heretical Open Source: A Heretic’s Perspective

Saturday, April 9th, 2011

Douglas Crockford presents a debate existing around XML and JSON, and the negative effect of the Intellectual Property laws on open source software. [...]

What is OpenFaces?

Sunday, February 13th, 2011

OpenFaces is an open-source library of AJAX-powered JSF components, an Ajax framework and a client-side validation framework. OpenFaces is based on the set of JSF components formerly known as QuipuKit. It contains fully revised codebase of QuipuKit and introduces many new components and features.

Read more here: http://www.openfaces.org/

JS Mobile Redirection

Monday, January 24th, 2011

In some cases the user wants to access to the Desktop version of the site from a mobile device (sometimes the desktop version has more functionality).

The script handles this situation as well, it checks if the previous page hit was one from the mobile site (we can assume the user is trying to access to the “desktop” version from a mobile device) or if the url contains a specific parameter.In these case the redirection won’t occur.

To keep the user in the desktop version for the whole session, sessionStorage object has been used, specifically an item will be stored to distinguish if we’re browsing through the desktop site. There is a fallback for old browsers that don’t support sessionStorage, and a cookie will be used. The cookie that makes the access to the desktop version from a mobile device possible will expiry in one hour or you configure the expiry time.

More about this here: https://github.com/sebarmeli/JS-Redirection-Mobile-Site/

Extjs quick start guide for jQuery Developers

Monday, January 24th, 2011

I’ve seen many people (including myself) trying out the power of jQuery for once and then getting stuck with it. Why not? It’s one of the coolest and smartest JavaScript library out there. However, I have broken out from the circle and found that Extjs is another great mentor in the field of JavaScript libraries. Especially, I think it’s UI components are unbeatable (Dojo can be a nearest candidate).

More about this here.