javascript

AngularJS has been out there for quite a while now and is getting increasingly popular. It is a very powerful Javascript MVC framework for building well-structured and maintainable web applications. This tutorial is not an introduction to AngularJS but to demonstrate how quickly one can build a simple well-structured web application. This is targeted towards…

Read More Building a Simple Quiz App using AngularJS

A trie, or prefix tree, is a multi-way tree structure useful for storing strings over an alphabet. It is very efficient and handy and can be used for various purposes like auto-complete, spell-check, dictionary search, etc. The basic idea of a Trie goes as below: We have a root node which represents an empty string.…

Read More Trie implementation in Javascript

Today I read about YUI 3 Caching Utility. It allows to cache frequently used data in javascript memory (Basic caching) or HTML5 localStorage object (Offline caching). Although we can implement our own caching mechanism in javascript, the YUI caching is general purpose and also provides a set of events. Moreover it can be easily integrated…

Read More Caching in Javascript (YUI Cache)

Recently I have been reading about YQL. YQL is a great idea that came out of Yahoo! and is an awesome tool for developers. Basically YQL allows you to fetch information from the web using SQL like syntax. Yahoo! provides a good number of open data tables and many more are contributed by the open…

Read More YQL – Yahoo! Query Language

While working on my last project (Floating Cart for Yahoo! stores) at Yahoo!, I came across an application called Lightbox. The reason it drew my attention was incompatibility with our application. Our customers who had lightbox were facing issues using the Floating Cart. The problem was not with the lightbox application, but the javascript framework…

Read More YUI Lightbox