Restful rails development building open applications and services

This book serves as a practical guide to developing RESTful applications, designing RESTful architectures, and deploying RESTful services using Ruby on Rails. By the end of each chapter, the reader will have key takeaways for how to build and extend a multi-service platform spanning different device...

Descripción completa

Detalles Bibliográficos
Otros Autores: Puglisi, Silvia, author (author)
Formato: Libro electrónico
Idioma:Inglés
Publicado: Sebastopol, CA : O'Reilly 2015.
Edición:First edition
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009629861306719
Tabla de Contenidos:
  • Copyright; Table of Contents; Preface; Why Rails and Not Node.js; Why (I Think) You Should Read This Book; What You Will Find in This Book; What You Will Not Find in This Book (And Where You Can Go for Answers); Resources; Coding Style; Conventions Used in This Book; Using Code Examples; How to Contact Us; Acknowledgments; Chapter 1. From Hypertext to Hyperdata; REST and HTTP; Architectural Abstractions; Introducing REST; RESTful Programming and Hypermedia; Design Concepts; RESTful Architectures; RESTful Interfaces: Hypermedia and Action Controls; Wrapping Up
  • Chapter 2. Getting Started with Ruby on RailsGetting to Know Ruby on Rails; Setting Up Ruby and Rails; RVM; rbenv; Using an Installer; The Architecture of a Rails App; Model-View-Controller; Object-Relational Mapping; Bundler; Choosing an Editor; Hello Rails; Test-Driven Development; Wrapping Up; Chapter 3. First Adventures in API Design; Application Programming Interfaces; Dos of API Development; Do KISS and DRY; Do URI Design; Why You Should Use Rails to Build APIs; The WikiCat API; Preparing the Database; Scaffolding the Models; Coding Controllers and Serializers; Testing; Wrapping Up
  • Chapter 4. The REST of the WorldLife Is CRUD; RESTful Rails; Testing RESTful Routing in Rails; HTTP Semantics; GET; HEAD; POST; PUT; DELETE; Wrapping Up; Chapter 5. Designing APIs in RoR; Hypermedia and Adaptable APIs; REST Patterns; Creating Hypermedia Interfaces; Resource-Oriented Thinking; Designing Explorable Resources; HATEOAS; The WikiCat Hypermedia API; Wrapping Up; Chapter 6. Asynchronous REST; Asynchronous RESTful Operations; Asynchronous REST in Rails; Rails Workers and Background Jobs; Creating an Application Skeleton in Three Easy Steps; Uploading Images Through an API Call
  • Creating Workers and a Jobs QueueCreating a Resource Queue; Callbacks; WebSockets; Wrapping Up; Chapter 7. Testing RESTful Services; Testing in Rails; Mocks, Stubs, Doubles, and Dummies; Testing RESTful Services; Wrapping Up; Chapter 8. Microservices and Microapplications; Basics of SOA and Distributed Systems Design; Legacies; Heterogeneity; Complexity; Redundancy; Microservices Paradigms; The Evolutionary Approach; Thinking in Terms of Microapplications and Services; The Thematic Walks API; The Wikipin API; The Citywalks API; Discovering the /lib Directory; Defining the Models
  • Building the ControllersWrapping Up; Chapter 9. Mapping Data Streams onto an Application UI; Wanderings in Frontend Land; Rendering and Templating in Rails; Ember.js: A Framework for Creating Ambitious Web Applications; Designed for Application Development; MVC Paradigm of Frontend; Rails MVC Versus Ember.js MVC; Planning the Application; Getting Started with Ember.js; Modeling Data; Routing in Ember.js; Defining the Templates; Writing a Component; Exploring Walks Through Categories; Wrapping Up; Chapter 10. Deploying an API; How Is an API Deployed?; API Management; PaaS Solutions
  • Deploying the Wikipin API on OpenShift