HTML5 introduces custom data attributes for tags - these are attributes that starts with "data-". These will be treated as a storage area for private data.If you rely on element class names or rel attributes to store arbitrary snippets of metadata and still look for "hooks", these data attributes will come as a relief.Prefixing the custom attributes with data- ensures that they will be completely ignored by the user agent. As far as the browser and indeed the website’s end user are concerned, this data does not exist.Every HTML element may have...
Tuesday, 30 October 2012
Friday, 26 October 2012
My favorite articles on building responsive/adaptive web pages
Posted on 11:25 by Unknown
As the Tablet wars get fiercer and accessing the Web moves beyond desktop browsers, web developer face the challenge of making web pages they create work on all kinds of devices. Thanks to CSS3, there can just be a single web page that can be made to work on a variety of screen resolutions.While there are a bunch of ready-made templates and frameworks like Twitter Bootstrap to build responsive pages, understanding how they work is important...
Wednesday, 24 October 2012
Read this if you shop online with credit/debit cards
Posted on 12:04 by Unknown

Brick & mortar companies face a tough competition from online shopping sites as they offer greater convenience & cheaper prices. But should you trust these websites with your credit or debit cards?Here are some interesting question (& links to answers) from online technical forums to help you take better decisions -How are Cleartrip & PayTM able to store the credit/debit card details of the customers for future purchases...
Sunday, 21 October 2012
Wordament - Tips, Tricks & Trivia
Posted on 10:42 by Unknown
Wordament is an addictive free 4×4 grid MMOWPG or Massively Multiplayer Online Word Playing Game, available for users of Windows Phone 7+ & Windows 8.Here are some tips drawn from others & my own (limited) experience to score better -Hunt for patterns, not words. Practice looking for common letter combinations and roots, which can help you quickly rack up points. A nugget like EAD, for example, can lead to BEAD, DEAD, HEAD, LEAD, MEAD,...
Wednesday, 17 October 2012
HOW TO extract Wikipedia content through its API using jQuery
Posted on 21:00 by Unknown
Wikipedia's API or more appropriately MediaWiki API, lets you programmatically fetch content & metadata related to thousands of its articles.I built a small custom Wikipedia search application - Q-Wikipedia, to get just the first paragraph of a Wikipedia article using jQuery with help from online resources.The REST-based Wikipedia API has many configurable options. It's easy to select the options you require using the Wikipedia API SandboxAs I need only the first paragraph I set the value of the sections...
Sunday, 14 October 2012
Windows 8 App Development Questions and Answers
Posted on 19:26 by Unknown
This list of Q & A is compiled from multiple resources (see links at the bottom). I have edited, added links and paraphrased original content at some places to provide context & improve readability1. If we make an application for WinRT, how much work will be required to get it to work whenever Windows phone 8 comes out? Will WP8 support WinRT at all?Jeff Brand: First, I am not a WP8 expert. You will need to do some rework, most of it centered...
Thursday, 11 October 2012
Geolocation spoofing with Windows 8 Simulator
Posted on 21:43 by Unknown

While working on a geo-location application, you would want to see how your app works for different coordinates.Windows 8 has a very helpful simulator that makes testing your geolocation based web application or Windows 8 Store app, easy.The Windows 8 Simulator exe can be found at this path (assuming your system files are in the C Drive): C:\Program Files\Common Files\microsoft shared\Windows Simulator\11.0The Simulator can also be invoked through...
Wednesday, 10 October 2012
Interesting stats on JavaScript libraries
Posted on 21:29 by Unknown
PPK, a JS guru, published a public poll to know the popularity of JavaScript libraries. Among 3200+ votes cast, 91% said yes to the question "Do you use any JavaScript library in more than 50% of your projects" and the same percentage of people who participated in the poll said they have used jQuery in the last year.Popular JavaScript libraries can be accessed from Google's & Microsoft's CDNs. CloudFlare's CDN offers 158 JavaScript libraries that you can include in your code (for improved performance) instead of having a local copy. For...
HOW TO quickly find if a site/service is available as a Windows 8 app
Posted on 10:41 by Unknown
Considering that there is currently no official Windows 8 app directory, how do you search for apps related to a keyword?Let's say, you wanted to know about Twitter or FourSquare client apps. Type in the following queries into Google or Bing to see what related apps are already in the Microsoft Store & get more information about them -site:apps.microsoft.com foursquare site:apps.microsoft.com twitterThe root site, apps.microsoft.com, currently throws a "403 - Forbidden: Access is denied" error message. A Windows 8 Store directory...
Tuesday, 9 October 2012
A rant on WebPlatform.org
Posted on 10:05 by Unknown
Yesterday W3C announced the creation of a new website WebPlatform.org as a "place to come for answers to your trickiest (and simplest) development and design questions about the Open Web Platform."Microsoft, Opera, Google, Facebook, Mozilla, Nokia, Adobe and W3C will contribute content.The Web Platform Docs (WPD) Getting Started page loftily announces that "Anyone can contribute to WPD. To get started, you'll first need to register and verify your email address....The community is friendly and welcoming to newcomers..."When I tried to register...
Saturday, 6 October 2012
Get fresh news fast from Twitter and Google News JSONP feeds using jQuery
Posted on 06:11 by Unknown
Twitter is a good source for raw local news. Google News aggregates content from publishers around the world. Both of these services provide JSONP feeds.Try out my search application written in JavaScript that gets the latest tweets and news from these JSONP feeds. As it is all in JavaScript, you can view the HTML source to see how it works.Resources you may need if you want to adapt it for your requirement -Infinite scrolling with JQuery, AJAX & TwitterGoogle News Search JSON API Developer's GuideTwitter Search API ReferenceUsing JSON to Exchange...
Thursday, 4 October 2012
Windows 8 - Rant #1
Posted on 07:39 by Unknown

Forget the Start Button, there are no pre-installed games either in Windows 8 (basic RTM edition) unlike all previous versions of Windows.The Minesweeper game is now a free install-able app - a whooping 100 MB download!As there is no proper progress indicator, just a message "Installing Microsoft Minesweeper...", there is no way of knowing if there is anything happening at all and how long you'll have to wait for it to finish installing....
Monday, 1 October 2012
The State Of HTML5 Video
Posted on 11:20 by Unknown
Key points from the The State Of HTML5 Video report by LongTailVideo (last updated on April 19, 2012):75% of the desktop & mobile browsers can play HTML550% supports either WebM or MP4. Firefox doesn't support MP4 as it has "no plans to support patent encumbered codecs"90% of tag attributes (poster, preload, autoplay, controls) are supported. Mobile browsers ignore preload (video is never preloaded) and autoplay (video is never played upon page load).80% of API features (loading, buffering, playback, seeking, volume) work...
Subscribe to:
Posts (Atom)