Sunday, November 25, 2007

Cross domain XHR

W3C has proposed a draft that allows cross domain XHR

To facilitate clear and controlled read access to resources, this specification defines a read access control mechanism that enables a Web resource to permit access to its content from external domains when such access would otherwise be prohibited by a same origin policy. The defined mechanism only works in conjunction with other specifications that are using the read access control mechanism to enable read access.


Read more

Difference between URI, URL

A URI identifies a resource either by location or name. More often than not, most of us use URIs that defines a location to a resource. However, a URI does not have to specify the location of a specific representation. Citing and example of a W3C URI for their home image, they use the following URI: http://www.w3.org/Icons/w3c_home. Note the absence of a file extension. The URI for the w3c_home image is still universally unique, but it does not specify the specific representation of the image (either a GIF, PNG, or JPG). The selection of the representation can be determined by the web server through HTTP content negotiation. The Apache HTTPD server has had excellent support for content negotiation for many years. Oddly, few sites take advantage of HTTP content negotiation. The W3C is one web application that makes heavy use of URIs and content negotiation.

URL

A URL is a URI but a URI is not a URL. A URL is a specialization of URI that defines the network location of a specific representation for a given resource. Taking the same W3C example, there are actually 2 representations available for the w3c_home resource:

* http://www.w3.org/Icons/w3c_home.gif
* http://www.w3.org/Icons/w3c_home.png

These URIs also define the file extension that indicates what content type is available at the URL. Through content negotiation, the web server will forward the user agent to the proper type, depending on the client’s capabilities, when the URI http://www.w3.org/Icons/w3c_home is accessed.

More often than not, URI is the correct term to use when referring to the location of resources on the WWW.

Via Ajaxian

Friday, November 09, 2007

iTunes Alternatives

Looking for iTunes alternatives ?

DownloadSquad has compiled a nice list of the options you have to overcome the buggy and memory hog iTunes

Demonoid Dead ?

Demonoid - the popular Bittorrent sharing site may be gone forever

Currently the site displays this message

"The CRIA threatened the company renting the servers to us, and because of this it is not possible to keep the site online. Sorry for the inconvenience and thanks for your understanding."

Alicia Keys MySpace page hacked



One of the most popular major music artist on MySpace - Alicia Keys' has been hacked

If you visit the infected page, it will install a malware and then you are prompted to install a Fake Codec to view the video

How to write a Resume

Looking to write/update your resume ?

The Simple Dollar has tips on how to write a resume to sell yourself

Read more here

Thursday, November 08, 2007

Beautiful HTML Code

See here

Via Digg