By Sudeep Agarwal,Manoj Sehrawat
- Exploit Sinatra to layout an internet application
- Integrate exterior, inner, and inline CSS and use a few well known CSS frameworks
- Deploy an software onto your personal server or on a cloud software platform
Sinatra is a Ruby framework that's standard within the undefined. you should use it to make a single-page internet app or a large-scale one. With the elevated on-line footprint, you could create and installation your individual application.
Whether you're brand-new to on-line studying or a pro specialist, this ebook offers you the abilities you want to effectively create, customise, and set up a Sinatra software. ranging from the start, this booklet will disguise how one can set up Ruby and Sinatra, build the back-end, layout and customise the front-end format, and make the most of the leading edge and hassle-free beneficial properties of ORMs. by means of sequentially operating in the course of the steps in each one bankruptcy, you are going to speedy grasp Sinatra's gains to create your personal application.
With considerable screenshots and code that provides a play-by-play account of ways to construct an program, studying Sinatra will determine your good fortune with this state of the art framework.
What you are going to learn
- Install and organize Ruby and Sinatra
- Work with layouts and template routes
- Extend the code to incorporate CSS in numerous ways
- Create tasks and comprehend MVC
- Design the front-end with Twitter Bootstrap
- Use the MySQL/SQLite gem to speak with databases
- Implement periods that may be used throughout a number of pages
- Utilize the cutting edge and undemanding good points of ORMs
About the Author
Sudeep Agarwal is a domain reliability engineer at Inmobi with a complete of 4 years of expertise within the undefined. He used to be with Directi for three years correct after completing his schooling from NIT Trichy. At Directi, he was once part of the crew that wrote probably the most normal in-house web-based purposes; this can be the place his curiosity in Sinatra begun and he used it to put in writing a few of his own tasks. even if he isn't writing loads of internet functions at Inmobi, he's nonetheless contributing to at least one of the ORMs—Ruby item Mapper.
Manoj Sehrawat is an enthusiastic software program developer who loves coding and studying new issues. He has round five years of expertise in software program improvement. Manoj holds an MCA from KIIT, Gurgaon and a BCA from IGNOU. at present, he's the affiliate technical lead at TravelTriangle. TravelTriangle is India's first complete stack vacation industry that connects tourists with confirmed shuttle brokers. sooner than becoming a member of TravelTriangle, Manoj was once operating with StudyPad and Fizzy software program Pvt Ltd as a senior software program developer. His fundamental concentration is the layout and building of scalable and optimized internet functions and APIs utilizing a Ruby-based improvement stack with frameworks comparable to Ruby on Rails, Sinatra, and others. he's keen about refactoring, optimizing code, and development scalable options with simplicity.
Table of Contents
- Introduction to Sinatra
- Introduction to Ruby
- Hello World
- Modeling the Backend
- Handling HTTP Requests
- Designing the Frontend Layout
- Handling person Data
- Connecting to a Database
- Authentication and Authorization
- Deploying the App
Read Online or Download Learning Sinatra PDF
Similar application development books
Google App Engine makes it effortless to create an online program that may serve thousands of individuals as simply as serving 1000s, with minimum up-front funding. With Programming Google App Engine, Google engineer Dan Sanderson presents useful counsel for designing and constructing your software on Google’s great infrastructure, utilizing App Engine’s scalable companies and easy improvement version.
In DetailElasticSearch is an open resource seek server equipped on Apache Lucene. It was once equipped to supply a scalable seek resolution with integrated help for close to real-time seek and multi-tenancy. leaping into the realm of ElasticSearch by means of establishing your personal customized cluster, this publication will provide help to create a quick, scalable, and versatile seek answer.
Detect the secrets and techniques of net software pentesting utilizing Burp Suite, the simplest device for the jobAbout This BookAcquire and grasp the abilities of a pro Burp person to accomplish every kind of safeguard checks in your net applicationsIntegrate and use various parts of Burp Suite jointly similar to Proxy, Intruder, Scanner, and RepeaterStep-by-step directions protecting the wide variety of positive factors of Burp Suite together with information and tips to use them effectivelyWho This booklet Is ForIf you have an interest in studying the way to attempt net purposes and the net a part of cellular functions utilizing Burp, then this can be the publication for you.
Boost vision-aware and clever Android functions with the powerful OpenCV libraryAbout This BookThis is the main up to date publication on OpenCV Android programming out there in the mean time. there is not any direct pageant for our identify. in accordance with a know-how that's expanding in acceptance, confirmed through job in boards on the topic of this subject.
- AngularJS Deployment Essentials
- Web Standards: Mastering HTML5, CSS3, and XML
- Ext JS Application Development Blueprints
- Node Cookbook
- Mastering Structured Data on the Semantic Web: From HTML5 Microdata to Linked Open Data
- Apache Maven Cookbook
Extra info for Learning Sinatra
Learning Sinatra by Sudeep Agarwal,Manoj Sehrawat