Зарегистрироваться
Восстановить пароль
FAQ по входу

Harris A., Haase K. Sinatra: up and running

  • Файл формата pdf
  • размером 6,57 МБ
  • Добавлен пользователем
  • Описание отредактировано
Harris A., Haase K. Sinatra: up and running
Publisher: O’Reilly Media
Released: November 2011
Pages: 120
Take advantage of Sinatra, the Ruby-based web application library and domain-specific language used by Heroku, GitHub, Apple, Engine Yard, and other prominent organizations. With this concise book, you will quickly gain working knowledge of Sinatra and its minimalist approach to building both standalone and modular web applications.
Sinatra serves as a lightweight wrapper around Rack middleware, with syntax that maps closely to functions exposed by HTTP verbs, which makes it ideal for web services and APIs. If you have experience building applications with Ruby, you’ll quickly learn language fundamentals and see under-the-hood techniques, with the help of several practical examples. Then you’ll get hands-on experience with Sinatra by building your own blog engine.
Learn Sinatra’s core concepts, and get started by building a simple application.
Create views, manage sessions, and work with Sinatra route definitions.
Become familiar with the language’s internals, and take a closer look at Rack.
Use different subclass methods for building flexible and robust architectures.
Put Sinatra to work: build a blog that takes advantage of service hooks provided by the GitHub API.
Chapter 1 Taking the Stage
Characteristics of Sinatra
Installation
Up and Running
Rock, Paper, Scissors or The Shape of Things to Come
Chapter 2 Fundamentals
Routing
Static Files
Views
Filters
Handling Errors
Configuration
HTTP Headers
Caching
Sessions
Cookies
Attachments
Streaming
Chapter 3 A Peek Behind the Curtain
Application and Delegation
Helpers and Extensions
Request and Response
Rack It Up
Dispatching
Chapter 4 Modular Applications
Subclassing Sinatra
Better Rack Citizenship
Extensions and Modular Applications
Chapter 5 Hands On: Your Own Blog Engine
Workflow Concept
The Implementation
  • Чтобы скачать этот файл зарегистрируйтесь и/или войдите на сайт используя форму сверху.
  • Регистрация