Instant Sinatra Starter

Joe Yates

  • 出版商: Packt Publishing
  • 出版日期: 2013-05-26
  • 售價: $760
  • 貴賓價: 9.5$722
  • 語言: 英文
  • 頁數: 70
  • 裝訂: Paperback
  • ISBN: 1782168214
  • ISBN-13: 9781782168218
  • 下單後立即進貨 (約1~2週)

相關主題

商品描述

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

Overview

  • 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

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.

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.

What you will learn from this book

  • 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

Approach

Get to grips with a new technology, understand what it is and what it can do for you, and then get to work with the most important features and tasks. Written as a practical guide, Instant Sinatra Starter will help you create a simple web app in no time at all.

Who this book is written 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.