Instant Sinatra Starter

Your practical guide to getting started with Sinatra to quickly create simple web applications

Instant Sinatra Starter

Starting
Joe Yates

Your practical guide to getting started with Sinatra to quickly create simple web applications
$12.99
RRP $12.99
eBook
$12.99 p/month

Get Access

Get Unlimited Access to every Packt eBook and Video course

Enjoy full and instant access to over 3000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Code Files
+ Collection

Book Details

ISBN 139781782168218
Paperback70 pages

About This Book

  • Learn something new in an Instant! A short, fast, focused guide delivering immediate results
  • Set up a Sinatra project
  • Deploy your project to the Web
  • Learn about the advanced features of Sinatra

Who This Book Is For

Instant Sinatra Starter is great if you are looking to get started with Sinatra for web development. Some previous experience with Ruby would be beneficial though not necessary for this step-by-step exploration of Sinatra and the world of web development.

Table of Contents

Chapter 1: Sinatra Starter
So, what is Sinatra?
Installation
Quick start – your first Sinatra application
Top 18 features you need to know about
People and places you should get to know

What You Will Learn

  • Set up a development environment for Sinatra
  • Set up a Sinatra project
  • Create a Git repository for a Sinatra project
  • Create HTML templates with Slim
  • Deploy a Sinatra project to Heroku
  • Handle requests for different formats (HTML and JSON)
  • Receive file uploads and store them
  • Keep your application secure from common attacks

In Detail

Sinatra is a free and open source software web application library and domain-specific language written in Ruby. It provides both the beginner and the experienced professional with a tool for creating simple, yet powerful web applications.

Instant Sinatra Starter is a practical, hands-on guide that provides you with the necessary knowledge to get started from scratch.Including all the necessary steps to put together a Sinatra application and get it online, we will also learn all that you need to know to make your application all it can and should be.

We'll learn how a web request is received, pre-processed by Rack and Sinatra middleware, then handed to the application. Learn how to build a response via templates, then hand the response back to be sent to the client.L

Later we will learn to configure your application for your specific needs and handle more complex requests and responses. With Instant Sinatra Starter, we’ll explore the essentials to get our first Sinatra application online.

Authors

Table of Contents

Chapter 1: Sinatra Starter
So, what is Sinatra?
Installation
Quick start – your first Sinatra application
Top 18 features you need to know about
People and places you should get to know

Book Details

ISBN 139781782168218
Paperback70 pages
Read More