RESTful Rails Development: Building Open Applications and Services (Paperback)
內容描述
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 hypermediaGet to know Rails and Ruby on RailsLearn about API development and create an APITake a thorough look at REST, including Asynchronous REST and testing RESTful servicesWork with data streams as you map them onto an application UI and integrate external APIs in your applicationLearn about device-independent developmentUse data analytics to recognize important events, develop key metrics, and track themExplore various tools you can use to build your own data analytic platformLearn how to scale a Rails application successfullyExamine privacy and security issues and the implications of handling and collecting user data