Practical REST on Rails 2 Projects by Ben Scofield

By Ben Scofield

Practical relaxation on Rails 2 Projects is a consultant to becoming a member of the burgeoning international of open net functions. It argues that establishing up your program provides major merits and consists of you within the complete process―from constructing your program, to making consumers for it, to dealing with good fortune and all its attendant difficulties.

  • This publication is the fundamental source for somebody who desires to make their net program an entire player within the new Internet
  • This ebook is meant for intermediate–to–advanced Rails developers―people who use Rails usually for websites and purposes extra advanced than the prototypical roll–your–own blog
  • In specific, it is exact at Rails builders who are looking to be reliable net 2.0 citizens―sharing the performance in their app with different websites to the betterment of everyone
  • Application tasks comprise iPhone, fb, and relaxation for the enterprise

Show description

Read Online or Download Practical REST on Rails 2 Projects PDF

Best web programming books

Learning Ext JS 3.2

The booklet presents lots of enjoyable instance code and screenshots to lead you thru the production of examples to aid with studying. by way of taking a chapter-by-chapter examine every one significant point of the Ext JS framework, the e-book helps you to digest the to be had good points in small, simply comprehensible chunks, permitting you to begin utilizing the library on your improvement wishes instantly.

Foundation Flex for Developers: Data-Driven Applications with PHP, ASP.NET, ColdFusion, and LCDS

Flex is an important and flexible expertise for growing internet program front-ends. yet what each solid internet software wishes is a strong facts resource, be it XML, or a database. Flex is particularly adaptable when it comes to connecting to info resources, and that's the major concentration of this e-book. In origin Flex for builders, writer Sas Jacobs assumes that you have got the fundamentals of Flex down already, and explores intimately the right way to create specialist data-centric Flex 2 and Flex three purposes.

Dynamic Web programming and HTML5

With corporations and contributors more and more depending on the internet, the necessity for efficient, well-trained net builders and maintainers is starting to be. assisting readers grasp internet improvement, Dynamic net Programming and HTML5 covers particular internet programming languages, APIs, and coding suggestions and offers an in-depth knowing of the underlying suggestions, concept, and rules.

Beginning HTML5 Media: Make the most of the new video and audio standards for the Web

Starting HTML5 Media, moment version is a entire creation to HTML5 video and audio. The HTML5 video general allows browsers to aid audio and video parts natively. This makes it really easy for internet builders to put up audio and video, integrating either in the normal presentation of websites.

Extra resources for Practical REST on Rails 2 Projects

Sample text

REST and HTTP REST and HTTP are often spoken of together, but it is important to note that nothing requires that REST be implemented only on systems that use HTTP. REST is, after all, a style of system architecture, and as such it could potentially be used in the design of any sort of communication system. This distinction is, however, a bit esoteric for the purposes of this book. We are Rails developers, building web applications that use HTTP. Given that, and that the specific implementation of REST in Rails 2 is in fact tightly linked to HTTP (as you’ll see in the next chapter) —we can be forgiven for ignoring the distinction for now.

POST: Sends data to create a resource when the eventual URI is unknown. • PUT: Sends data to update a resource with a known URI. • DELETE: Destroys a resource at a known URI. RESTful services need not expose all of these methods on all resources; you might very well want to protect PUT and DELETE on user records, for instance—or at the very least restrict them to authenticated administrators. I will go into greater detail on this topic in Chapter 3. The Basics of REST It is important to reiterate that REST is itself just a philosophy of system design (Fielding calls it an architectural style)—it is not a technology to be compared directly with XML-RPC, SOAP, or the other enablers of web services.

Qxd 3/28/08 10:47 AM Page 17 CHAPTER 1 ■ WHY REST? frameworks in the past. In fact, REST is so thoroughly integrated into Rails 2 today that you get a RESTful interface automatically when you generate scaffold code. I’ll go into much greater depth on how REST is implemented in Rails in the next chapter, but suffice it to say that you are essentially reinventing the wheel if you decide to open up your Rails application and you do not use REST. 0 world and opening your data up to the Internet community at large means that you can benefit from the work of third-party developers and discover new, unexpected uses for your data.

Download PDF sample

Rated 4.18 of 5 – based on 3 votes