Advanced Rails - Building Industrial-Strength Web Apps in Record Time
RESTful Rails | 225 We can now enter details for a sample product, which we then see as part of the list. This process is shown ...
226 | Chapter 7: REST, Resources, and Web Services We now have a basic CRUD application that uses a RESTful interface. The tem- ...
RESTful Rails | 227 Note that the Rails convention is to create a resource byPOSTing to its parent (collec- tion) resource; this ...
228 | Chapter 7: REST, Resources, and Web Services Therender :jsonvariant renders the given text and sets the response’s content ...
RESTful Rails | 229 Now we have to fix a small glitch due to differences between ActiveRecord and ActiveResource. Unlike ActiveR ...
230 | Chapter 7: REST, Resources, and Web Services We can examine the client’s log to find a fairly standard-looking request and ...
Case Study: Amazon S3 | 231 Action Web Service Action Web Service (AWS) is a client and server library for SOA Pand XML-R PC web ...
232 | Chapter 7: REST, Resources, and Web Services Buckets cannot be nested. There is one level of buckets, which contain objec ...
Case Study: Amazon S3 | 233 Another option, which can be incredibly useful, is to delegate access control by including the authe ...
234 | Chapter 7: REST, Resources, and Web Services DELETE bucket Deletes the specified bucket. Only the bucket’s owner may delet ...
Further Reading | 235 The s3fuse project (http://sourceforge.net/projects/s3fuse/) is an implementation of an S3 client using FU ...
236 Chapter 8CHAPTER 8 i18n and L10n 8 Wer fremde Sprachen nicht kennt, weiß nichts von seiner eigenen. (He who ignores foreign ...
Character Encodings | 237 These differences are encapsulated in the concept oflocale. A locale is usually defined as a language ...
238 | Chapter 8: i18n and L10n Extended ASCII Although ASCII defines 128 characters and a 7-bit encoding, most computers pro- ce ...
Unicode | 239 within one document, and the CJKV languages had their own independently devel- oped character sets and encodings. ...
240 | Chapter 8: i18n and L10n In UTF-8, text that only uses standard ASCII characters is byte-for-byte identical to its ASCII ...
Rails and Unicode | 241 Rails and Unicode Ruby 1.8 has less-than-ideal Unicode support, when compared to its contemporaries such ...
242 | Chapter 8: i18n and L10n ActiveSupport::Multibyte In lieu of complete multibyte character support in Ruby 1.8, Rails has c ...
Rails and Unicode | 243 Unicode Normalization As with any increasingly complicated encoding, normalization and canonicalization ...
244 | Chapter 8: i18n and L10n To canonicalize sequences of code points, we must first determine what our notion of equivalence ...
«
8
9
10
11
12
13
14
15
16
17
»
Free download pdf