Sunday, November 20, 2011 - by

I had been working with jQuery quite a lot and develop quite some interactive widgets and AJAX rich modules never got a chance to actually develop my code into a jQuery plugin. Until last week had been reading various articles and books on jQuery plugin development and the patterns associated with those. Read more »

Friday, November 18, 2011 - by

There are a set of 14 rules given by Steve Sounders in his book “High Performance Websites – Essential knowledge for Front-End Engineers“. The book is worth reading and gives in detail description of each of the 14 rules and how to achieve goals mentioned in each rule listed below:

  1. Make Fewer HTTP Requests
  2. Use a Content Delivery Network
  3. Add an Expires Header
  4. Gzip Components
  5. Put Stylesheets at the Top
  6. Put Scripts at the Bottom
  7. Avoid CSS Expressions
  8. Make JavaScript and CSS External
  9. Reduce DNS Lookups
  10. Minify JavaScript
  11. Avoid Redirects
  12. Remove Duplicate Scripts
  13. Configure ETags
  14. Make Ajax Cacheable
Friday, November 11, 2011 - by

Popcorn.js is a nifty JavaScript library developed by Mozilla that eases the manipulation of a webpage based on the video playback.

Popcorn.js utilizes the native HTMLMediaElement properties, methods and events, normalizes them into an easy to learn API, and provides a plugin system for community contributed interactions.

Popcorn has dozens of plugins for common services and APIs, ranging from Twitter, to Maps, to media events, and more. But if it doesn’t do what you need right now, you can write your own plugins quickly and easily.


Friday, October 28, 2011 - by

Sometimes we need to create JSON in a text file with extension .json, however by default IIS 7 or any of the IIS are not configure to handle .json extension. So below is a very simple method to do that. You can apply the method on the root of IIS so .json can be handled by every site or virtual folder in the IIS or just to the specific site.

  1. Open IIS Manager
  2. Display properties for the IIS Server
  3. Click MIME Types and then add the JSON extension:
    • File name extension: .json
    • MIME type: application/json
  4. Go back to the properties for IIS Server
  5. Click on Handler Mappings
    • Add a script map
    • Request path: *.json
    • Executable: C:\WINDOWS\system32\inetsrv\asp.dll
    • Name: JSON
Thursday, October 27, 2011 - by

Nokia Kinetic device demo from Nokia world 2011

This is a concept device from Nokia. The UI overlay allows you use the phone by bending and twisting the device. The amazing part is the flexible AMOLED screen that we have been seeing quite much in demos.

Read more »