Simple play icon Course
Skills Expanded

Meet Sinatra

by Dan Benjamin

Learn the basics of Sinatra: configuration, handlers, blocks, and templates.

What you'll learn

As a developer, you're always looking for ways to write faster applications with less code. The Sinatra framework hits a sweet spot for writing small, fast web applications and web services with Ruby. In this course, Dan Benjamin teaches the basics of Sinatra: configuration, handlers, blocks, and templates. You'll master these techniques by writing a simple ad server to manage and deliver images, Javascript, and HTML. You'll enhance the application to track clicks using DataMapper and Sqlite3 to store and manage the data.

About the author

Dan is a broadcaster, writer, software developer, designer, and ex-corporate stooge. He is the founder of 5by5, an Internet broadcasting and podcast network where he hosts a handful of shows with people like Merlin Mann, John Siracusa, Marco Arment, and Jeffrey Zeldman. He is the author of Bacon Method and Hivelogic, and has written for A List Apart and O'Reilly. Many of Dan's screencasts live at PeepCode. He has been coding for almost two decades, making things like the Email Address Enkoder, t... more

Ready to upskill? Get started