Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Amazon SimpleDB Developer Guide

You're reading from  Amazon SimpleDB Developer Guide

Product type Book
Published in Jun 2010
Publisher Packt
ISBN-13 9781847197344
Pages 252 pages
Edition 1st Edition
Languages

Table of Contents (16) Chapters

Amazon SimpleDB Developer Guide
Credits
Foreword
About the Authors
About the Reviewers
1. Preface
1. Getting to Know SimpleDB 2. Getting Started with SimpleDB 3. SimpleDB versus RDBMS 4. The SimpleDB Data Model 5. Data Types 6. Querying 7. Storing Data on S3 8. Tuning and Usage Costs 9. Caching 10. Parallel Processing

XML-restricted characters


All interaction with SimpleDB is in the form of XML documents that contain the requests. The underlying libraries that are used for communicating with SimpleDB will usually take care of the creation and parsing of these XML documents and present the results to you in a format specific to the library. In our case, boto is translating the XML responses from SimpleDB into simple Python objects that can be consumed by our application. The use of XML implies that you cannot send across any Unicode characters as a part of your data values that are invalid XML characters. You can insert invalid XML characters using the ReST API and they will be stored in SimpleDB, and will be automatically encoded as base64 strings when retrieved. If you do need to store these characters in SimpleDB, a simple way of doing that would be to encode these characters using a base64 encoding, and then store them in SimpleDB. You will, of course, need to decode them after retrieval before use...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}