Learning Sinatra Front Cover

Learning Sinatra

  • Length: 164 pages
  • Edition: 1
  • Publisher:
  • Publication Date: 2016-04-27
  • ISBN-10: B01EJNS1AO
  • Sales Rank: #1909397 (See Top 100 Books)
Description

Key Features

  • Exploit Sinatra to design a web application
  • Integrate external, internal, and inline CSS and use some popular CSS frameworks
  • Deploy an application onto your own server or on a cloud application platform

Book Description

Sinatra is a Ruby framework that is widely used in the Industry. You can use it to make a single-page web app or a large-scale one. With the increased online footprint, you can create and deploy your own application.

Whether you are brand-new to online learning or a seasoned expert, this book will provide you with the skills you need to successfully create, customize, and deploy a Sinatra application. Starting from the beginning, this book will cover how to install Ruby and Sinatra, construct the back-end, design and customize the front-end layout, and utilize the innovative and user-friendly features of ORMs. By sequentially working through the steps in each chapter, you will quickly master Sinatra’s features to create your own application.

With ample screenshots and code that offers a play-by-play account of how to build an application, Learning Sinatra will ensure your success with this cutting-edge framework.

What you will learn

  • Install and set up Ruby and Sinatra
  • Work with layouts and template routes
  • Extend the code to include CSS in different ways
  • Create projects and understand MVC
  • Design the front-end with Twitter Bootstrap
  • Use the MySQL/SQLite gem to communicate with databases
  • Implement sessions that can be used across multiple pages
  • Utilize the innovative and user-friendly features of ORMs

About the Author

Sudeep Agarwal is a site reliability engineer at Inmobi with a total of four years of experience in the industry. He was with Directi for 3 years right after finishing his education from NIT Trichy. At Directi, he was a part of the team that wrote one of the most widely used in-house web-based applications; this is where his interest in Sinatra started and he used it to write some of his personal projects. Although he is not writing a lot of web applications at Inmobi, he is still contributing to one of the ORMs—Ruby Object Mapper.

Manoj Sehrawat is an enthusiastic software developer who loves coding and learning new things. He has around 5 years of experience in software development. Manoj holds an MCA from KIIT, Gurgaon and a BCA from IGNOU. Currently, he is the associate technical lead at TravelTriangle. TravelTriangle is India’s first full stack holiday marketplace that connects travelers with verified travel agents. Before joining TravelTriangle, Manoj was working with StudyPad and Fizzy Software Pvt Ltd as a senior software developer. His primary focus is the design and construction of scalable and optimized web applications and APIs using a Ruby-based development stack with frameworks such as Ruby on Rails, Sinatra, and others. He is passionate about refactoring, optimizing code, and building scalable solutions with simplicity.

Table of Contents

Chapter 1. Introduction To Sinatra
Chapter 2. Introduction To Ruby
Chapter 3. Hello World
Chapter 4. Modeling The Backend
Chapter 5. Handling Http Requests
Chapter 6. Designing The Frontend Layout
Chapter 7. Handling User Data
Chapter 8. Connecting To A Database
Chapter 9. Authentication And Authorization
Chapter 10. Deploying The App

To access the link, solve the captcha.