当前位置:网站首页>图书 > 正文 >>

Amazon SimpleDB: LITE

图书信息

作者Prabhakar Chaganti
出版社Packt Publishing
ISBN9781849683692
出版时间2011-05-19
字数40.4万
分类进口书,外文原版书,电脑,网络

读书简介

If you are a developer wanting to get to grips with a primer into SimpleDB, then this book is for you. You do not need to know anything about SimpleDB to read and learn from this book, and no basic knowledge is strictly necessary.

目录

Amazon SimpleDB: LITE

Table of Contents

Amazon SimpleDB: LITE

Credits

About the Authors

About the Reviewers

Preface

What this book covers

What you need for this book

Who this book is for

Conventions

Reader feedback

Customer support

Errata

Piracy

Questions

1. Getting to Know SimpleDB

Experimenting with SimpleDB

How does SimpleDB work?

Domain

Item

Attributes

Values

How do I interact with SimpleDB?

How is SimpleDB priced?

Free tier

Why should I use SimpleDB?

Make your applications simpler to architect

Build flexibility into your applications

Create high-performance web applications

Take advantage of lower costs

Scale your applications on demand

Architect for the cloud

Summary

2. Getting Started with SimpleDB

Creating an AWS account

Enabling SimpleDB service for AWS account

Query API and authentication

SimpleDB libraries

SDBtool — Firefox plugin

Sample outline — performing basic operations

Basic operations with Java

Exploring SimpleDB with Java

Creating a domain with Java

Listing domains with Java

Manipulating items with Java

Deleting a domain with Java

Basic operations with PHP

Exploring SimpleDB with PHP

Creating a domain with PHP

Listing domains with PHP

Manipulating items with PHP

Deleting a domain with PHP

Basic operations with Python

Introducing boto

Exploring SimpleDB with Python

Creating a domain with Python

Retrieving a domain with Python

Creating items with Python

Summary

3. SimpleDB versus RDBMS

No normalization

No joins

No schemas

Simpler SQL

Only strings

Eventual consistency

Flash: February 24, 2010 — consistent read added

Scalability

Low maintenance

Advantages of the SimpleDB model

Disadvantages of the SimpleDB model

Summary

4. The SimpleDB Data Model

Domains

Domains with Java

Domains with PHP

Domains with Python

Exploring the metadata for a domain and costs

Retrieving domain metadata

Retrieving domain metadata with Java

Retrieving domain metadata with PHP

Retrieving domain metadata with Python

Components of a domain's metadata

SimpleDB domain constraints

Items

Adding attributes to an item with Java

Adding attributes to an item with PHP

Adding attributes to an item with Python

Constraints on SimpleDB items

Attributes

Attributes with Java

Attributes with PHP

Attributes with Python

Constraints on SimpleDB item attributes

Values

Storing multiple values in a single attribute with Java

Storing multiple values in a single attribute with PHP

Storing multiple values in a single attribute with Python

Constraints on values of a SimpleDB item

Consistent Read and Conditional Put / Delete announcement

ConsistentRead = true for getAttributes and Select

Conditional Put / Delete

Summary

Index