{"id":27980,"date":"2014-04-07T22:57:16","date_gmt":"2014-04-07T22:57:16","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/go-simple-db\/"},"modified":"2014-04-08T18:25:04","modified_gmt":"2014-04-08T18:25:04","slug":"go-simple-db","status":"closed","type":"plugin","link":"https:\/\/de.wordpress.org\/plugins\/go-simple-db\/","author":72725,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"","stable_tag":"trunk","tested":"3.6.1","requires":"3.6.1","requires_php":"","requires_plugins":"","header_name":"GO Simple DB","header_author":"GigaOM","header_description":"","assets_banners_color":"","last_updated":"2014-04-08 18:25:04","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"http:\/\/gigaom.com\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":964,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[32699],"plugin_category":[],"plugin_contributors":[85748,77674],"plugin_business_model":[],"class_list":["post-27980","plugin","type-plugin","status-closed","hentry","plugin_tags-amazon-simple-db","plugin_contributors-methnen","plugin_contributors-zbtirrell","plugin_committers-methnen","plugin_committers-misterbisson","plugin_committers-zbtirrell"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/go-simple-db.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Establish a connection to Amazon Simple DB. Uses the awesome <a href=\"https:\/\/github.com\/g-g\/php-sdb2\">php-sdb2<\/a> SDB library.<\/p>\n\n<h3>Usage<\/h3>\n\n<ol>\n<li>Load simple db class\n\n<ul>\n<li><code>$go_simple_db = go_simple_db( \nYOUR_SDB_DOMAIN,\nYOUR_KEY,\nYOUR_SECRET\n);<\/code><\/li>\n<li>The SDB Domain value is analagous to an SQL Table. If the SDB Domain doesn't exist yet Gigaom Simple DB will create it for you.<\/li>\n<li>See: <a href=\"http:\/\/docs.aws.amazon.com\/AmazonSimpleDB\/latest\/GettingStartedGuide\/Welcome.html\">Amazon Simple DB Getting Started Guide<\/a> for more information on getting your Key and Secret values.<\/li>\n<li>Also see: <a href=\"http:\/\/docs.aws.amazon.com\/AmazonSimpleDB\/latest\/DeveloperGuide\/SDBLimits.html\">SDB Limits<\/a> to get an idea of what Amazon Simple DB allows as it's not going to be the same as other databases you've worked with before.<\/li>\n<\/ul><\/li>\n<li>Write a row to the your SDB Domain: <code>$go_simple_db-&gt;putAttributes( YOUR_SDB_DOMAIN, array( 'post_id' =&gt; array( 'value' =&gt; '1234' ) ) )<\/code><\/li>\n<li>Query your SDB Domain: <code>$go_simple_db-&gt;select( 'SELECT * FROM `' . YOUR_SDB_DOMAIN . '` LIMIT 100, NULL );<\/code>\n\n<ul>\n<li>In the case where you are getting the next chunk of results from you SDB Domain the NULL value in the code above would be replaced with a SDB Next Token (which essentially triggers an offset in the query) see the <a href=\"http:\/\/docs.aws.amazon.com\/AmazonSimpleDB\/latest\/DeveloperGuide\">Developer Guide<\/a> for more info on that. <\/li>\n<li>Queries are quite different in SDB and you'll need to familiarize yourself with those differences.<\/li>\n<li>Did I mention the <a href=\"http:\/\/docs.aws.amazon.com\/AmazonSimpleDB\/latest\/DeveloperGuide\">SDB Developer Guide<\/a>?<h3>Contributing<\/h3>\nThis plugin is developed and <a href=\"https:\/\/github.com\/GigaOM\/go-simple-db\">available on GitHub<\/a>. Contributions and questions are welcome!<\/li>\n<\/ul><\/li>\n<\/ol>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>go-simple-db<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate 'Gigaom Simple DB' through the 'Plugins' menu in WordPress<\/li>\n<\/ol>","raw_excerpt":"Establish a connection to Amazon Simple DB. Uses the awesome php-sdb2 SDB library.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/27980","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=27980"}],"author":[{"embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/misterbisson"}],"wp:attachment":[{"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=27980"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=27980"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=27980"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=27980"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=27980"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=27980"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}