Page 2 of 2

URL Shortener: Principles, Sample Code And Sources

URL Shortener: Principles, Example Code And Sources

URL Shortener makes a short version of a long given URL. There are many URL shorteners out there like bit.ly, tinyurl or is.gd. Of course we can use their API to create short urls, but it’s not interesting for developers, who want to look into the very deep of the mechanism.

Short url often has structure: , where hash is a string (unique) for a long url. Hash contains only digits and letters. In some cases letters are case sensitive.

Continue reading → URL Shortener: Principles, Sample Code And Sources