Discover millions of ebooks, audiobooks, and so much more with a free trial

Only $11.99/month after trial. Cancel anytime.

Amazon SimpleDB: LITE
Amazon SimpleDB: LITE
Amazon SimpleDB: LITE
Ebook198 pages1 hour

Amazon SimpleDB: LITE

Rating: 0 out of 5 stars

()

Read preview

About this ebook

This focused book is an extracted LITE version of Packt’s full: Amazon SimpleDB Developer Guide. It concentrates on getting a grounding in the value of SimpleDB, and shows how to set up an AWS account, enable a SimpleDB service for the account, and install and set up libraries for Java, PHP, and Python. 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.
LanguageEnglish
Release dateMay 19, 2011
ISBN9781849683692
Amazon SimpleDB: LITE
Author

Prabhakar Chaganti

Prabhakar Chaganti is the founder and CTO of Ylastic, a start-up that is building a single unified interface to architect, manage, and monitor a user's entire AWS Cloud computing environment: EC2, S3, RDS, AutoScaling, ELB, Cloudwatch, SQS, and SimpleDB. He is the author of Xen Virtualization and GWT Java AJAX Programming, and is also the winner of the community choice award for the most innovative virtual appliance in the VMware Global Virtual Appliance Challenge. He hangs out on Twitter as @pchaganti.

Related to Amazon SimpleDB

Related ebooks

Information Technology For You

View More

Related articles

Reviews for Amazon SimpleDB

Rating: 0 out of 5 stars
0 ratings

0 ratings0 reviews

What did you think?

Tap to rate

Review must be at least 10 words

    Book preview

    Amazon SimpleDB - Prabhakar Chaganti

    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

    Amazon SimpleDB: LITE


    Amazon SimpleDB: LITE

    Copyright © 2011 Packt Publishing

    All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.

    Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.

    Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.

    First published: April 2011

    Production Reference: 1120411

    Published by Packt Publishing Ltd. 32 Lincoln Road Olton Birmingham, B27 6PA, UK.

    ISBN 978-1-849683-68-5

    www.packtpub.com

    Cover Image by Tina Negus ( <tina_manthorpe@sky.com> )

    Credits

    Authors

    Prabhakar Chaganti

    Rich Helms

    Reviewers

    Deepak Anupalli

    Anders Samuelsson

    Ashley Tate

    Acquisition Editor

    James Lumsden

    Technical Editor

    Pallavi Kachare

    Indexer

    Rekha Nair

    Production Coordinator

    Alwin Roy

    Shantanu Zagade

    Cover Work

    Alwin Roy

    About the Authors

    Prabhakar Chaganti is the founder and CTO of Ylastic, a startup that is building a single unifed interface to architect, manage, and monitor a user's entire AWS Cloud computing environment: EC2, S3, RDS, AutoScaling, ELB, Cloudwatch, SQS, and SimpleDB. He is the author of Xen Virtualization and GWT Java AJAX Programming, both by Packt Publishing, and is also the winner of the community choice award for the most innovative virtual appliance in the VMware Global Virtual Appliance Challenge. He hangs out on Twitter as @pchaganti.

    It's never been done is a call to action for Rich Helms. He has built a career on breaking new ground in the computer field. He developed CARES (Computer Assisted Recovery Enhancement System) for the Metropolitan Toronto Police in Canada. CARES was the first computer system in the world for aging missing children. CARES has been internationally recognized as pioneering work in child aging. Rich has also created several generations of e-learning platforms including Learn it script and most recently Educate Press.

    Rich can be reached at http://webmasterinresidence.ca.Rich is a seasoned software developer with over 30 years of experience. He spent 22 years in various positions at IBM including Chief Image Technology Architect. His credentials range from deep technical work (fve patents in hardware and software) to running multinational R&D.

    About the Reviewers

    Deepak Anupalli is Architect for the Server Engineering group at Pramati Technologies. He has deep insight into various Java/J2EE technologies. He represents Pramati on the EJB and JPA expert groups and has led the Java EE 5 certification effort of Pramati Server. He is currently leading the effort to build a standards-based web-scale Application server. He is a visiting faculty member with IIT-Hyderabad for a course on middleware and also speaks at various technology conferences. He holds a graduate degree in Computer Science and Engineering from National Institute of Technology (NIT Warangal, India).

    Anders Samuelsson has over 25 years of experience in the computing industry. The main focus during this time has been with computer security. He currently

    Enjoying the preview?
    Page 1 of 1