APIs on Rails: Building REST APIs with Rails

APIs on Rails: Building REST APIs with Rails

简介:

本书的目标是提供一个关于如何按照最佳实践开发RESTful API的答案,以及作者自己的经验。当你完成API的Rails时,你应该能够构建自己的API并将其与任何客户端 (如web浏览器或下一个移动应用程序) 集成。

这本书是关于如何用Rails构建下一个API的类固醇教程。本书的目标是提供一个关于如何按照最佳实践开发RESTful API的答案,以及作者自己的经验。

本书的目的不仅仅是教如何使用Rails构建API,而是教你如何使用Rails构建可扩展和可维护的API,这意味着在使用这种方法时,将你当前的Rails知识提高到一个新的水平。

英文简介:

Welcome to APIs on Rails a tutorial on steroids on how to buid your next API with Rails. The goal of this book is to provide an answer on how to develop a RESTful API following the best practices out there, along with my own experience. By the time you are done with API’s on Rails you should be able to build your own API and integrate it with any clients such as a web browser or your next mobile app. The code generated is built on top of Rails 4 which is the current version, for more information about this check out http://rubyonrails.org/. The most up-to-date version of the API's on Rails can be found on http://apionrails.icalialabs.com; don’t forget to update your offline version if that is the case.

The intention with this book it’s not teach just how to build an API with Rails rather to teach you how to build scalable and maintanable API with Rails, which means taking your current Rails knowledge to the next level when on this approach. In this journey we are going to take, you will learn to:


  • Build JSON responses
  • Use Git for version controlling
  • Testing your endpoints
  • Optimize and cache the API


书名
APIs on Rails: Building REST APIs with Rails
译名
Rails 上的 API:使用 Rails 构建 REST API
语言
英语
页数
205页
大小
699.08 kB
标签
  • Ruby
  • 下载
    pdf iconAPIs on Rails: Building REST APIs with Rails.pdf
    密码
    65536

    最后更新:2025-04-12 23:57:58

    ←Working with Web APIs

    →An Operating Systems Vade Mecum, Second Edition