O'Reilly logo

Seven Web Frameworks in Seven Weeks by Frederic Daoud, Jack Moffitt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Day 1: HTTP Request as State Machine

Webmachine excels at making complex HTTP processing simple, and its sweet spot is very much on the back end of web systems. It is used to power APIs such as Opscode’s Chef Server API as well as HTTP interfaces to distributed systems like Basho’s Riak database. We’ll look at Webmachine through the lens of a link-shortening service, and by the end of today, you’ll be ready to make your very own link shortener.

Link shorteners have proliferated since they first appeared around 2002,[35] turning lengthy URLs into compressed sequences of alphanumerics that fit in limited space or require less typing. They work by redirecting from the shortened link to the destination by using a big lookup table. They don’t ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required