Librería Portfolio Librería Portfolio

Búsqueda avanzada

TIENE EN SU CESTA DE LA COMPRA

0 productos

en total 0,00 €

RESTFUL RAILS DEVELOPMENT. BUILDING OPEN APPLICATIONS AND SERVICES
Título:
RESTFUL RAILS DEVELOPMENT. BUILDING OPEN APPLICATIONS AND SERVICES
Subtítulo:
Autor:
PUGLISI, S
Editorial:
O´REILLY
Año de edición:
2015
Materia
RUBY
ISBN:
978-1-4919-1085-6
Páginas:
304
35,50 €

 

Sinopsis

The Web is slowly but surely changing from a model in which a human reader browses content on web pages to a model in which services and clients (not necessarily humans) exchange information. And because of this, author Silvia Puglisi explains, it makes more sense to build platforms instead of just products or applications. Platforms are like ecosystems interconnecting different applications, services, users, developers, and partners, and offer many benefits.

In this book, you´ll learn how to design and develop Representational State Transfer (REST) platforms in Rails. You´ll begin with an introduction to Ruby on Rails, and then move quickly through new concepts. At the end of each chapter, you´ll have learned something new about building and organically extending a multi-service platform spanning different devices-and will have had some fun in the process. By the end of the book you´ll know how to build an architecture composed of different services accessing shared resources through a set of collaborating APIs and applications.

Explore the basics of REST and HTTP, including REST architecture and the role of hypermedia
Get to know Rails and Ruby on Rails
Learn about API development and create an API
Take a thorough look at REST, including Asynchronous REST and testing RESTful services
Work with data streams as you map them onto an application UI and integrate external APIs in your application
Learn about device-independent development
Use data analytics to recognize important events, develop key metrics, and track them
Explore various tools you can use to build your own data analytic platform
Learn how to scale a Rails application successfully
Examine privacy and security issues and the implications of handling and collecting user data



Chapter 1From Hypertext to Hyperdata
REST and HTTP
RESTful Programming and Hypermedia
Wrapping Up
Chapter 2Getting Started with Ruby on Rails
Getting to Know Ruby on Rails
Setting Up Ruby and Rails
The Architecture of a Rails App
Wrapping Up
Chapter 3First Adventures in API Design
Application Programming Interfaces
Dos of API Development
Why You Should Use Rails to Build APIs
The WikiCat API
Wrapping Up
Chapter 4The REST of the World
Life Is CRUD
RESTful Rails
HTTP Semantics
Wrapping Up
Chapter 5Designing APIs in RoR
Hypermedia and Adaptable APIs
REST Patterns
Resource-Oriented Thinking
HATEOAS
The WikiCat Hypermedia API
Wrapping Up
Chapter 6Asynchronous REST
Asynchronous RESTful Operations
Asynchronous REST in Rails
Callbacks
WebSockets
Wrapping Up
Chapter 7Testing RESTful Services
Testing in Rails
Mocks, Stubs, Doubles, and Dummies
Testing RESTful Services
Wrapping Up
Chapter 8Microservices and Microapplications
Basics of SOA and Distributed Systems Design
Microservices Paradigms
The Evolutionary Approach
Thinking in Terms of Microapplications and Services
The Thematic Walks API
Wrapping Up
Chapter 9Mapping Data Streams onto an Application UI
Wanderings in Frontend Land
Rendering and Templating in Rails
Ember.js: A Framework for Creating Ambitious Web Applications
Planning the Application
Modeling Data
Routing in Ember.js
Defining the Templates
Writing a Component
Exploring Walks Through Categories
Wrapping Up
Chapter 10Deploying an API
How Is an API Deployed?
Deploying the Wikipin API on OpenShift
Meet Jenkins
Wrapping Up
Chapter 11Managing an App Ecosystem
API Management
Managing Your Community's Happiness
Data Management and Analytics
Wrapping Up
Chapter 12Consuming Data Streams: Integrating External APIs in Your Application
Creating a Weather Service
If This Then Something
Adhering to the Terms of Service
Asynchronous REST
Wrapping Up
Chapter 13Device-Independent Development
Web Development Is a Broad Term
Streaming Data into a Firefox OS App
Developing an Internet of Things App
Wrapping Up
Chapter 14Data Analytics
Data Comes from Everywhere
Monolithic Versus Microapplication Architectures
Monitor, Optimize, and Enhance
Actions and Events
Wrapping Up
Chapter 15Scaling Gracefully
Scaling Rails
Creating a Middleware for Different APIs to Communicate
Configuring a Reverse Proxy with Nginx
Meet Lua
Bundle Things Together
Caching
Scaling Is Not Necessarily Difficult and Painful
Wrapping Up
Chapter 16Privacy and Security
How to Protect User Privacy
Is My Data Safe?
Is Rails Secure?
Conclusions
Appendix HTTP Quick Reference
Everything Started with Hypertext
Creating an HTTP Server in Ruby, Quickly
The HTTP Protocol