Learning Sinatra


Learning Sinatra
by Sudeep Agarwal and Manoj Sehrawat
pages 页数: 164 pages
Publisher Finelybook 出版社: Packt Publishing (27 April 2016)
Language 语言: English
ISBN-10 书号: 1849519307
ISBN-13 书号: 9781849519304
B01EJNS1AO


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.
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
主要特征
利用Sinatra设计Web应用程序
集成外部,内部和内联CSS并使用一些流行的CSS框架
将应用程序部署到您自己的服务器或云应用程序平台上
图书说明
Sinatra是一个广泛应用于行业的Ruby框架。您可以使用它来制作单页网络应用程序或大型Web应用程序。随着在线足迹的增加,您可以创建和部署自己的应用程序。
无论您是全新的在线学习还是经验丰富的专家,本书将为您提供成功创建,自定义和部署Sinatra应用程序所需的技能。从一开始,本书将介绍如何安装Ruby和Sinatra,构建后端,设计和定制前端布局,并利用ORM的创新和用户友好的功能。通过按照每一章的步骤,您可以快速掌握Sinatra的功能来创建自己的应用程序。
通过丰富的屏幕截图和代码,可以提供如何构建应用程序的游戏帐户,Learning Sinatra将确保您在此前沿框架下取得成功。
你会学到什么
安装和设置Ruby和Sinatra
使用布局和模板路线
以不同的方式扩展代码以包含CSS
创建项目并了解MVC
用Twitter Bootstrap设计前端
使用MySQL / SQLite gem与数据库通信
实现可跨多个页面使用的会话
利用ORM的创新和用户友好的功能
关于作者
Sudeep Agarwal是Inmobi的现场可靠性工程师,共有四年的行业经验。在NIT Trichy完成他的教育后,他与Directi一起工作了3年。在Directi,他是团队中的一员,他是最广泛使用的内部基于Web的应用程序之一;这是他对Sinatra的兴趣开始,他用它来写他的一些个人项目。虽然他并没有在Inmobi上编写很多的Web应用程序,但他仍然在为其中一个ORM - Ruby对象映射器做出贡献。
Manoj Sehrawat是一位热心的软件开发人员,喜欢编写和学习新事物。他有5年的软件开发经验。 Manoj持有KIIT,Gurgaon的MCA和IGNOU的BCA。目前,他是TravelTriangle的助理技术主管。 TravelTriangle是印度第一个全套假期市场,将旅行者与经过验证的旅行社联系起来。加入TravelTriangle之前,Manoj正在与StudyPad和Fizzy Software Pvt Ltd一起担任高级软件开发人员。他的主要重点是使用Ruby on Rails,Sinatra等框架的基于Ruby的开发栈来设计和构建可扩展和优化的Web应用程序和API。他热衷于重构,优化代码,并以简单的方式构建可扩展的解决方案。
目录
第一章Sinatra介绍
第2章Ruby简介
第3章你好世界
第四章建模后端
第5章处理Http请求
第6章设计前端布局
第7章处理用户数据
第8章连接到数据库
第九章认证和授权
第10章部署应用程序

下载地址 Download
打赏
未经允许不得转载:finelybook » Learning Sinatra

相关推荐

  • 暂无文章

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

觉得文章有用就打赏一下

您的打赏,我们将继续给力更多优质内容

支付宝扫一扫打赏

微信扫一扫打赏