matthew
2010-09-08 20:16:31 UTC
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[framework-svn][22926] laboratory/Zend_Cloud/trunk: File renaming for CS and clarity</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg > ul, #logmsg > ol { margin-left: 0; margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd>22926</dd>
<dt>Author</dt> <dd>matthew</dd>
<dt>Date</dt> <dd>2010-09-08 13:16:29 -0700 (Wed, 08 Sep 2010)</dd>
</dl>
<h3>Log Message</h3>
<pre>File renaming for CS and clarity
- Library/tests/documentation:
- Renamed SimpleDB to SimpleDb to conform to CS
- Examples:
- Renamed action "addoc" to "addDocument" ("add-document" on the URI)
- Renamed action "deletedoc" to "deleteDocument" ("delete-document" on the URI)</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#laboratoryZend_Cloudtrunkdocumentationmodule_specsZend_Cloud_DocumentServicexml">laboratory/Zend_Cloud/trunk/documentation/module_specs/Zend_Cloud_DocumentService.xml</a></li>
<li><a href="#laboratoryZend_Cloudtrunkexamplescloudexpzfprojectxml">laboratory/Zend_Cloud/trunk/examples/cloudexp/.zfproject.xml</a></li>
<li><a href="#laboratoryZend_CloudtrunkexamplescloudexpapplicationcontrollersDocumentControllerphp">laboratory/Zend_Cloud/trunk/examples/cloudexp/application/controllers/DocumentController.php</a></li>
<li><a href="#laboratoryZend_Cloudtrunkexamplescloudexpapplicationviewsscriptsdocumentshowphtml">laboratory/Zend_Cloud/trunk/examples/cloudexp/application/views/scripts/document/show.phtml</a></li>
<li><a href="#laboratoryZend_CloudtrunktestsZendCloudDocumentServiceAdapterAllTestsphp">laboratory/Zend_Cloud/trunk/tests/Zend/Cloud/DocumentService/Adapter/AllTests.php</a></li>
<li><a href="#laboratoryZend_CloudtrunktestsZendCloudDocumentServiceFactoryTestphp">laboratory/Zend_Cloud/trunk/tests/Zend/Cloud/DocumentService/FactoryTest.php</a></li>
<li><a href="#laboratoryZend_CloudtrunktestsZendServiceAmazonAllTestsphp">laboratory/Zend_Cloud/trunk/tests/Zend/Service/Amazon/AllTests.php</a></li>
</ul>
<h3>Added Paths</h3>
<ul>
<li><a href="#laboratoryZend_Cloudtrunkexamplescloudexpapplicationviewsscriptsdocumentadddocumentphtml">laboratory/Zend_Cloud/trunk/examples/cloudexp/application/views/scripts/document/add-document.phtml</a></li>
<li><a href="#laboratoryZend_Cloudtrunkexamplescloudexpapplicationviewsscriptsdocumentdeletedocumentphtml">laboratory/Zend_Cloud/trunk/examples/cloudexp/application/views/scripts/document/delete-document.phtml</a></li>
<li><a href="#laboratoryZend_CloudtrunklibraryZendCloudDocumentServiceAdapterSimpleDbphp">laboratory/Zend_Cloud/trunk/library/Zend/Cloud/DocumentService/Adapter/SimpleDb.php</a></li>
<li>laboratory/Zend_Cloud/trunk/library/Zend/Service/Amazon/SimpleDb/</li>
<li><a href="#laboratoryZend_CloudtrunklibraryZendServiceAmazonSimpleDbAttributephp">laboratory/Zend_Cloud/trunk/library/Zend/Service/Amazon/SimpleDb/Attribute.php</a></li>
<li><a href="#laboratoryZend_CloudtrunklibraryZendServiceAmazonSimpleDbExceptionphp">laboratory/Zend_Cloud/trunk/library/Zend/Service/Amazon/SimpleDb/Exception.php</a></li>
<li><a href="#laboratoryZend_CloudtrunklibraryZendServiceAmazonSimpleDbPagephp">laboratory/Zend_Cloud/trunk/library/Zend/Service/Amazon/SimpleDb/Page.php</a></li>
<li><a href="#laboratoryZend_CloudtrunklibraryZendServiceAmazonSimpleDbResponsephp">laboratory/Zend_Cloud/trunk/library/Zend/Service/Amazon/SimpleDb/Response.php</a></li>
<li><a href="#laboratoryZend_CloudtrunklibraryZendServiceAmazonSimpleDbphp">laboratory/Zend_Cloud/trunk/library/Zend/Service/Amazon/SimpleDb.php</a></li>
<li><a href="#laboratoryZend_CloudtrunktestsZendCloudDocumentServiceAdapterSimpleDbTestphp">laboratory/Zend_Cloud/trunk/tests/Zend/Cloud/DocumentService/Adapter/SimpleDbTest.php</a></li>
<li>laboratory/Zend_Cloud/trunk/tests/Zend/Service/Amazon/SimpleDb/</li>
<li><a href="#laboratoryZend_CloudtrunktestsZendServiceAmazonSimpleDbAllTestsphp">laboratory/Zend_Cloud/trunk/tests/Zend/Service/Amazon/SimpleDb/AllTests.php</a></li>
<li><a href="#laboratoryZend_CloudtrunktestsZendServiceAmazonSimpleDbOfflineTestphp">laboratory/Zend_Cloud/trunk/tests/Zend/Service/Amazon/SimpleDb/OfflineTest.php</a></li>
<li><a href="#laboratoryZend_CloudtrunktestsZendServiceAmazonSimpleDbOnlineTestphp">laboratory/Zend_Cloud/trunk/tests/Zend/Service/Amazon/SimpleDb/OnlineTest.php</a></li>
</ul>
<h3>Removed Paths</h3>
<ul>
<li><a href="#laboratoryZend_Cloudtrunkexamplescloudexpapplicationviewsscriptsdocumentaddocphtml">laboratory/Zend_Cloud/trunk/examples/cloudexp/application/views/scripts/document/addoc.phtml</a></li>
<li><a href="#laboratoryZend_Cloudtrunkexamplescloudexpapplicationviewsscriptsdocumentdeletedocphtml">laboratory/Zend_Cloud/trunk/examples/cloudexp/application/views/scripts/document/deletedoc.phtml</a></li>
<li><a href="#laboratoryZend_CloudtrunklibraryZendCloudDocumentServiceAdapterSimpleDBphp">laboratory/Zend_Cloud/trunk/library/Zend/Cloud/DocumentService/Adapter/SimpleDB.php</a></li>
<li><a href="#laboratoryZend_CloudtrunklibraryZendServiceAmazonSimpleDBAttributephp">laboratory/Zend_Cloud/trunk/library/Zend/Service/Amazon/SimpleDB/Attribute.php</a></li>
<li><a href="#laboratoryZend_CloudtrunklibraryZendServiceAmazonSimpleDBExceptionphp">laboratory/Zend_Cloud/trunk/library/Zend/Service/Amazon/SimpleDB/Exception.php</a></li>
<li><a href="#laboratoryZend_CloudtrunklibraryZendServiceAmazonSimpleDBPagephp">laboratory/Zend_Cloud/trunk/library/Zend/Service/Amazon/SimpleDB/Page.php</a></li>
<li><a href="#laboratoryZend_CloudtrunklibraryZendServiceAmazonSimpleDBResponsephp">laboratory/Zend_Cloud/trunk/library/Zend/Service/Amazon/SimpleDB/Response.php</a></li>
<li><a href="#laboratoryZend_CloudtrunklibraryZendServiceAmazonSimpleDBphp">laboratory/Zend_Cloud/trunk/library/Zend/Service/Amazon/SimpleDB.php</a></li>
<li><a href="#laboratoryZend_CloudtrunktestsZendCloudDocumentServiceAdapterSimpleDBTestphp">laboratory/Zend_Cloud/trunk/tests/Zend/Cloud/DocumentService/Adapter/SimpleDBTest.php</a></li>
<li><a href="#laboratoryZend_CloudtrunktestsZendServiceAmazonSimpleDBAllTestsphp">laboratory/Zend_Cloud/trunk/tests/Zend/Service/Amazon/SimpleDB/AllTests.php</a></li>
<li><a href="#laboratoryZend_CloudtrunktestsZendServiceAmazonSimpleDBOfflineTestphp">laboratory/Zend_Cloud/trunk/tests/Zend/Service/Amazon/SimpleDB/OfflineTest.php</a></li>
<li><a href="#laboratoryZend_CloudtrunktestsZendServiceAmazonSimpleDBOnlineTestphp">laboratory/Zend_Cloud/trunk/tests/Zend/Service/Amazon/SimpleDB/OnlineTest.php</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="laboratoryZend_Cloudtrunkdocumentationmodule_specsZend_Cloud_DocumentServicexml"></a>
<div class="modfile"><h4>Modified: laboratory/Zend_Cloud/trunk/documentation/module_specs/Zend_Cloud_DocumentService.xml (22925 => 22926)</h4>
<pre class="diff"><span>
<span class="info">--- laboratory/Zend_Cloud/trunk/documentation/module_specs/Zend_Cloud_DocumentService.xml 2010-09-08 18:00:35 UTC (rev 22925)
+++ laboratory/Zend_Cloud/trunk/documentation/module_specs/Zend_Cloud_DocumentService.xml 2010-09-08 20:16:29 UTC (rev 22926) </span><span class="lines">@@ -44,7 +44,7 @@ </span><span class="cx"> <itemizedlist> </span><span class="cx"> <listitem> </span><span class="cx"> <para> </span><del>- <ulink url="http://aws.amazon.com/simpledb/"><classname>Zend_Cloud_DocumentService_Adapter_SimpleDB</classname></ulink> </del><ins>+ <ulink url="http://aws.amazon.com/simpledb/"><classname>Zend_Cloud_DocumentService_Adapter_SimpleDb</classname></ulink> </ins><span class="cx"> </para> </span><span class="cx"> </listitem> </span><span class="cx"> </span><span class="lines">@@ -67,11 +67,11 @@ </span><span class="cx"> <title>Example: Using the SimpleDB adapter</title> </span><span class="cx"> </span><span class="cx"> <programlisting language="php"><![CDATA[ </span><del>-$adapterClass = 'Zend_Cloud_DocumentService_Adapter_SimpleDB'; </del><ins>+$adapterClass = 'Zend_Cloud_DocumentService_Adapter_SimpleDb'; </ins><span class="cx"> $documents = Zend_Cloud_DocumentService_Factory::getAdapter(array( </span><span class="cx"> Zend_Cloud_DocumentService_Factory::DOCUMENT_ADAPTER_KEY => $adapterClass, </span><del>- Zend_Cloud_DocumentService_Adapter_SimpleDB::AWS_ACCESS_KEY => $amazonKey,
- Zend_Cloud_DocumentService_Adapter_SimpleDB::AWS_SECRET_KEY => $amazonSecret </del><ins>+ Zend_Cloud_DocumentService_Adapter_SimpleDb::AWS_ACCESS_KEY => $amazonKey,
+ Zend_Cloud_DocumentService_Adapter_SimpleDb::AWS_SECRET_KEY => $amazonSecret </ins><span class="cx"> )); </span><span class="cx"> ]]></programlisting> </span><span class="cx"> </example> </span><span class="lines">@@ -85,7 +85,7 @@ </span><span class="cx"> </para> </span><span class="cx"> </span><span class="cx"> <table frame='all' id="zend.cloud.documentservice.options.sdb"> </span><del>- <title>Zend_Cloud_DocumentService_Adapter_SimpleDB Options</title> </del><ins>+ <title>Zend_Cloud_DocumentService_Adapter_SimpleDb Options</title> </ins><span class="cx"> </span><span class="cx"> <tgroup cols="4"> </span><span class="cx"> <thead>
</span></span></pre></div>
<a id="laboratoryZend_Cloudtrunkexamplescloudexpzfprojectxml"></a>
<div class="modfile"><h4>Modified: laboratory/Zend_Cloud/trunk/examples/cloudexp/.zfproject.xml (22925 => 22926)</h4>
<pre class="diff"><span>
<span class="info">--- laboratory/Zend_Cloud/trunk/examples/cloudexp/.zfproject.xml 2010-09-08 18:00:35 UTC (rev 22925)
+++ laboratory/Zend_Cloud/trunk/examples/cloudexp/.zfproject.xml 2010-09-08 20:16:29 UTC (rev 22926) </span><span class="lines">@@ -27,8 +27,8 @@ </span><span class="cx"> <actionMethod actionName="index"/> </span><span class="cx"> <actionMethod actionName="show"/> </span><span class="cx"> <actionMethod actionName="create"/> </span><del>- <actionMethod actionName="addoc"/>
- <actionMethod actionName="deletedoc"/> </del><ins>+ <actionMethod actionName="addDocument"/>
+ <actionMethod actionName="deleteDocument"/> </ins><span class="cx"> </controllerFile> </span><span class="cx"> </controllersDirectory> </span><span class="cx"> <formsDirectory enabled="false"/> </span><span class="lines">@@ -74,10 +74,10 @@ </span><span class="cx"> <viewScriptFile forActionName="create"/> </span><span class="cx"> </viewControllerScriptsDirectory> </span><span class="cx"> <viewControllerScriptsDirectory forControllerName="Document"> </span><del>- <viewScriptFile forActionName="addoc"/> </del><ins>+ <viewScriptFile forActionName="addDocument"/> </ins><span class="cx"> </viewControllerScriptsDirectory> </span><span class="cx"> <viewControllerScriptsDirectory forControllerName="Document"> </span><del>- <viewScriptFile forActionName="deletedoc"/> </del><ins>+ <viewScriptFile forActionName="deleteDocument"/> </ins><span class="cx"> </viewControllerScriptsDirectory> </span><span class="cx"> </viewScriptsDirectory> </span><span class="cx"> <viewHelpersDirectory/>
</span></span></pre></div>
<a id="laboratoryZend_CloudtrunkexamplescloudexpapplicationcontrollersDocumentControllerphp"></a>
<div class="modfile"><h4>Modified: laboratory/Zend_Cloud/trunk/examples/cloudexp/application/controllers/DocumentController.php (22925 => 22926)</h4>
<pre class="diff"><span>
<span class="info">--- laboratory/Zend_Cloud/trunk/examples/cloudexp/application/controllers/DocumentController.php 2010-09-08 18:00:35 UTC (rev 22925)
+++ laboratory/Zend_Cloud/trunk/examples/cloudexp/application/controllers/DocumentController.php 2010-09-08 20:16:29 UTC (rev 22926) </span><span class="lines">@@ -47,7 +47,7 @@ </span><span class="cx"> return $this->_helper->redirector('index'); </span><span class="cx"> } </span><span class="cx"> </span><del>- public function addocAction() </del><ins>+ public function addDocumentAction() </ins><span class="cx"> { </span><span class="cx"> $this->view->fieldcount = 5; </span><span class="cx"> $this->view->collections = $this->_doc->listCollections(); </span><span class="lines">@@ -76,7 +76,7 @@ </span><span class="cx"> return $this->_helper->redirector('show', null, null, array("collection" => $name)); </span><span class="cx"> } </span><span class="cx"> </span><del>- public function deletedocAction() </del><ins>+ public function deleteDocumentAction() </ins><span class="cx"> { </span><span class="cx"> $request = $this->getRequest(); </span><span class="cx"> if (!$request->isPost()) {
</span></span></pre></div>
<a id="laboratoryZend_Cloudtrunkexamplescloudexpapplicationviewsscriptsdocumentadddocumentphtmlfromrev22925laboratoryZend_Cloudtrunkexamplescloudexpapplicationviewsscriptsdocumentaddocphtml"></a>
<div class="copfile"><h4>Copied: laboratory/Zend_Cloud/trunk/examples/cloudexp/application/views/scripts/document/add-document.phtml (from rev 22925, laboratory/Zend_Cloud/trunk/examples/cloudexp/application/views/scripts/document/addoc.phtml) (0 => 22926)</h4>
<pre class="diff"><span>
<span class="info">--- laboratory/Zend_Cloud/trunk/examples/cloudexp/application/views/scripts/document/add-document.phtml (rev 0)
+++ laboratory/Zend_Cloud/trunk/examples/cloudexp/application/views/scripts/document/add-document.phtml 2010-09-08 20:16:29 UTC (rev 22926) </span><span class="lines">@@ -0,0 +1,22 @@ </span><ins>+<form method="POST" enctype="multipart/form-data">
+Collection name: <select name="name">
+<?php
+foreach($this->collections as $name) {
+ if($name == $this->name) {
+ $checked = " selected";
+ } else {
+ $checked = "";
+ }
+ echo "<option$checked>$name</option>";
+}
+?>
+</select>
+<br/>
+ID: <input type="text" name="id"/><br/>
+Fields:<br/>
+<?php for ($i = 0; $i < $this->fieldcount; $i++): ?>
</ins><span class="lines">@@ Diff output truncated at 4096 characters. @@
</span></span></pre>
</div>
</div>
</body>
</html>
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[framework-svn][22926] laboratory/Zend_Cloud/trunk: File renaming for CS and clarity</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg > ul, #logmsg > ol { margin-left: 0; margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd>22926</dd>
<dt>Author</dt> <dd>matthew</dd>
<dt>Date</dt> <dd>2010-09-08 13:16:29 -0700 (Wed, 08 Sep 2010)</dd>
</dl>
<h3>Log Message</h3>
<pre>File renaming for CS and clarity
- Library/tests/documentation:
- Renamed SimpleDB to SimpleDb to conform to CS
- Examples:
- Renamed action "addoc" to "addDocument" ("add-document" on the URI)
- Renamed action "deletedoc" to "deleteDocument" ("delete-document" on the URI)</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#laboratoryZend_Cloudtrunkdocumentationmodule_specsZend_Cloud_DocumentServicexml">laboratory/Zend_Cloud/trunk/documentation/module_specs/Zend_Cloud_DocumentService.xml</a></li>
<li><a href="#laboratoryZend_Cloudtrunkexamplescloudexpzfprojectxml">laboratory/Zend_Cloud/trunk/examples/cloudexp/.zfproject.xml</a></li>
<li><a href="#laboratoryZend_CloudtrunkexamplescloudexpapplicationcontrollersDocumentControllerphp">laboratory/Zend_Cloud/trunk/examples/cloudexp/application/controllers/DocumentController.php</a></li>
<li><a href="#laboratoryZend_Cloudtrunkexamplescloudexpapplicationviewsscriptsdocumentshowphtml">laboratory/Zend_Cloud/trunk/examples/cloudexp/application/views/scripts/document/show.phtml</a></li>
<li><a href="#laboratoryZend_CloudtrunktestsZendCloudDocumentServiceAdapterAllTestsphp">laboratory/Zend_Cloud/trunk/tests/Zend/Cloud/DocumentService/Adapter/AllTests.php</a></li>
<li><a href="#laboratoryZend_CloudtrunktestsZendCloudDocumentServiceFactoryTestphp">laboratory/Zend_Cloud/trunk/tests/Zend/Cloud/DocumentService/FactoryTest.php</a></li>
<li><a href="#laboratoryZend_CloudtrunktestsZendServiceAmazonAllTestsphp">laboratory/Zend_Cloud/trunk/tests/Zend/Service/Amazon/AllTests.php</a></li>
</ul>
<h3>Added Paths</h3>
<ul>
<li><a href="#laboratoryZend_Cloudtrunkexamplescloudexpapplicationviewsscriptsdocumentadddocumentphtml">laboratory/Zend_Cloud/trunk/examples/cloudexp/application/views/scripts/document/add-document.phtml</a></li>
<li><a href="#laboratoryZend_Cloudtrunkexamplescloudexpapplicationviewsscriptsdocumentdeletedocumentphtml">laboratory/Zend_Cloud/trunk/examples/cloudexp/application/views/scripts/document/delete-document.phtml</a></li>
<li><a href="#laboratoryZend_CloudtrunklibraryZendCloudDocumentServiceAdapterSimpleDbphp">laboratory/Zend_Cloud/trunk/library/Zend/Cloud/DocumentService/Adapter/SimpleDb.php</a></li>
<li>laboratory/Zend_Cloud/trunk/library/Zend/Service/Amazon/SimpleDb/</li>
<li><a href="#laboratoryZend_CloudtrunklibraryZendServiceAmazonSimpleDbAttributephp">laboratory/Zend_Cloud/trunk/library/Zend/Service/Amazon/SimpleDb/Attribute.php</a></li>
<li><a href="#laboratoryZend_CloudtrunklibraryZendServiceAmazonSimpleDbExceptionphp">laboratory/Zend_Cloud/trunk/library/Zend/Service/Amazon/SimpleDb/Exception.php</a></li>
<li><a href="#laboratoryZend_CloudtrunklibraryZendServiceAmazonSimpleDbPagephp">laboratory/Zend_Cloud/trunk/library/Zend/Service/Amazon/SimpleDb/Page.php</a></li>
<li><a href="#laboratoryZend_CloudtrunklibraryZendServiceAmazonSimpleDbResponsephp">laboratory/Zend_Cloud/trunk/library/Zend/Service/Amazon/SimpleDb/Response.php</a></li>
<li><a href="#laboratoryZend_CloudtrunklibraryZendServiceAmazonSimpleDbphp">laboratory/Zend_Cloud/trunk/library/Zend/Service/Amazon/SimpleDb.php</a></li>
<li><a href="#laboratoryZend_CloudtrunktestsZendCloudDocumentServiceAdapterSimpleDbTestphp">laboratory/Zend_Cloud/trunk/tests/Zend/Cloud/DocumentService/Adapter/SimpleDbTest.php</a></li>
<li>laboratory/Zend_Cloud/trunk/tests/Zend/Service/Amazon/SimpleDb/</li>
<li><a href="#laboratoryZend_CloudtrunktestsZendServiceAmazonSimpleDbAllTestsphp">laboratory/Zend_Cloud/trunk/tests/Zend/Service/Amazon/SimpleDb/AllTests.php</a></li>
<li><a href="#laboratoryZend_CloudtrunktestsZendServiceAmazonSimpleDbOfflineTestphp">laboratory/Zend_Cloud/trunk/tests/Zend/Service/Amazon/SimpleDb/OfflineTest.php</a></li>
<li><a href="#laboratoryZend_CloudtrunktestsZendServiceAmazonSimpleDbOnlineTestphp">laboratory/Zend_Cloud/trunk/tests/Zend/Service/Amazon/SimpleDb/OnlineTest.php</a></li>
</ul>
<h3>Removed Paths</h3>
<ul>
<li><a href="#laboratoryZend_Cloudtrunkexamplescloudexpapplicationviewsscriptsdocumentaddocphtml">laboratory/Zend_Cloud/trunk/examples/cloudexp/application/views/scripts/document/addoc.phtml</a></li>
<li><a href="#laboratoryZend_Cloudtrunkexamplescloudexpapplicationviewsscriptsdocumentdeletedocphtml">laboratory/Zend_Cloud/trunk/examples/cloudexp/application/views/scripts/document/deletedoc.phtml</a></li>
<li><a href="#laboratoryZend_CloudtrunklibraryZendCloudDocumentServiceAdapterSimpleDBphp">laboratory/Zend_Cloud/trunk/library/Zend/Cloud/DocumentService/Adapter/SimpleDB.php</a></li>
<li><a href="#laboratoryZend_CloudtrunklibraryZendServiceAmazonSimpleDBAttributephp">laboratory/Zend_Cloud/trunk/library/Zend/Service/Amazon/SimpleDB/Attribute.php</a></li>
<li><a href="#laboratoryZend_CloudtrunklibraryZendServiceAmazonSimpleDBExceptionphp">laboratory/Zend_Cloud/trunk/library/Zend/Service/Amazon/SimpleDB/Exception.php</a></li>
<li><a href="#laboratoryZend_CloudtrunklibraryZendServiceAmazonSimpleDBPagephp">laboratory/Zend_Cloud/trunk/library/Zend/Service/Amazon/SimpleDB/Page.php</a></li>
<li><a href="#laboratoryZend_CloudtrunklibraryZendServiceAmazonSimpleDBResponsephp">laboratory/Zend_Cloud/trunk/library/Zend/Service/Amazon/SimpleDB/Response.php</a></li>
<li><a href="#laboratoryZend_CloudtrunklibraryZendServiceAmazonSimpleDBphp">laboratory/Zend_Cloud/trunk/library/Zend/Service/Amazon/SimpleDB.php</a></li>
<li><a href="#laboratoryZend_CloudtrunktestsZendCloudDocumentServiceAdapterSimpleDBTestphp">laboratory/Zend_Cloud/trunk/tests/Zend/Cloud/DocumentService/Adapter/SimpleDBTest.php</a></li>
<li><a href="#laboratoryZend_CloudtrunktestsZendServiceAmazonSimpleDBAllTestsphp">laboratory/Zend_Cloud/trunk/tests/Zend/Service/Amazon/SimpleDB/AllTests.php</a></li>
<li><a href="#laboratoryZend_CloudtrunktestsZendServiceAmazonSimpleDBOfflineTestphp">laboratory/Zend_Cloud/trunk/tests/Zend/Service/Amazon/SimpleDB/OfflineTest.php</a></li>
<li><a href="#laboratoryZend_CloudtrunktestsZendServiceAmazonSimpleDBOnlineTestphp">laboratory/Zend_Cloud/trunk/tests/Zend/Service/Amazon/SimpleDB/OnlineTest.php</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="laboratoryZend_Cloudtrunkdocumentationmodule_specsZend_Cloud_DocumentServicexml"></a>
<div class="modfile"><h4>Modified: laboratory/Zend_Cloud/trunk/documentation/module_specs/Zend_Cloud_DocumentService.xml (22925 => 22926)</h4>
<pre class="diff"><span>
<span class="info">--- laboratory/Zend_Cloud/trunk/documentation/module_specs/Zend_Cloud_DocumentService.xml 2010-09-08 18:00:35 UTC (rev 22925)
+++ laboratory/Zend_Cloud/trunk/documentation/module_specs/Zend_Cloud_DocumentService.xml 2010-09-08 20:16:29 UTC (rev 22926) </span><span class="lines">@@ -44,7 +44,7 @@ </span><span class="cx"> <itemizedlist> </span><span class="cx"> <listitem> </span><span class="cx"> <para> </span><del>- <ulink url="http://aws.amazon.com/simpledb/"><classname>Zend_Cloud_DocumentService_Adapter_SimpleDB</classname></ulink> </del><ins>+ <ulink url="http://aws.amazon.com/simpledb/"><classname>Zend_Cloud_DocumentService_Adapter_SimpleDb</classname></ulink> </ins><span class="cx"> </para> </span><span class="cx"> </listitem> </span><span class="cx"> </span><span class="lines">@@ -67,11 +67,11 @@ </span><span class="cx"> <title>Example: Using the SimpleDB adapter</title> </span><span class="cx"> </span><span class="cx"> <programlisting language="php"><![CDATA[ </span><del>-$adapterClass = 'Zend_Cloud_DocumentService_Adapter_SimpleDB'; </del><ins>+$adapterClass = 'Zend_Cloud_DocumentService_Adapter_SimpleDb'; </ins><span class="cx"> $documents = Zend_Cloud_DocumentService_Factory::getAdapter(array( </span><span class="cx"> Zend_Cloud_DocumentService_Factory::DOCUMENT_ADAPTER_KEY => $adapterClass, </span><del>- Zend_Cloud_DocumentService_Adapter_SimpleDB::AWS_ACCESS_KEY => $amazonKey,
- Zend_Cloud_DocumentService_Adapter_SimpleDB::AWS_SECRET_KEY => $amazonSecret </del><ins>+ Zend_Cloud_DocumentService_Adapter_SimpleDb::AWS_ACCESS_KEY => $amazonKey,
+ Zend_Cloud_DocumentService_Adapter_SimpleDb::AWS_SECRET_KEY => $amazonSecret </ins><span class="cx"> )); </span><span class="cx"> ]]></programlisting> </span><span class="cx"> </example> </span><span class="lines">@@ -85,7 +85,7 @@ </span><span class="cx"> </para> </span><span class="cx"> </span><span class="cx"> <table frame='all' id="zend.cloud.documentservice.options.sdb"> </span><del>- <title>Zend_Cloud_DocumentService_Adapter_SimpleDB Options</title> </del><ins>+ <title>Zend_Cloud_DocumentService_Adapter_SimpleDb Options</title> </ins><span class="cx"> </span><span class="cx"> <tgroup cols="4"> </span><span class="cx"> <thead>
</span></span></pre></div>
<a id="laboratoryZend_Cloudtrunkexamplescloudexpzfprojectxml"></a>
<div class="modfile"><h4>Modified: laboratory/Zend_Cloud/trunk/examples/cloudexp/.zfproject.xml (22925 => 22926)</h4>
<pre class="diff"><span>
<span class="info">--- laboratory/Zend_Cloud/trunk/examples/cloudexp/.zfproject.xml 2010-09-08 18:00:35 UTC (rev 22925)
+++ laboratory/Zend_Cloud/trunk/examples/cloudexp/.zfproject.xml 2010-09-08 20:16:29 UTC (rev 22926) </span><span class="lines">@@ -27,8 +27,8 @@ </span><span class="cx"> <actionMethod actionName="index"/> </span><span class="cx"> <actionMethod actionName="show"/> </span><span class="cx"> <actionMethod actionName="create"/> </span><del>- <actionMethod actionName="addoc"/>
- <actionMethod actionName="deletedoc"/> </del><ins>+ <actionMethod actionName="addDocument"/>
+ <actionMethod actionName="deleteDocument"/> </ins><span class="cx"> </controllerFile> </span><span class="cx"> </controllersDirectory> </span><span class="cx"> <formsDirectory enabled="false"/> </span><span class="lines">@@ -74,10 +74,10 @@ </span><span class="cx"> <viewScriptFile forActionName="create"/> </span><span class="cx"> </viewControllerScriptsDirectory> </span><span class="cx"> <viewControllerScriptsDirectory forControllerName="Document"> </span><del>- <viewScriptFile forActionName="addoc"/> </del><ins>+ <viewScriptFile forActionName="addDocument"/> </ins><span class="cx"> </viewControllerScriptsDirectory> </span><span class="cx"> <viewControllerScriptsDirectory forControllerName="Document"> </span><del>- <viewScriptFile forActionName="deletedoc"/> </del><ins>+ <viewScriptFile forActionName="deleteDocument"/> </ins><span class="cx"> </viewControllerScriptsDirectory> </span><span class="cx"> </viewScriptsDirectory> </span><span class="cx"> <viewHelpersDirectory/>
</span></span></pre></div>
<a id="laboratoryZend_CloudtrunkexamplescloudexpapplicationcontrollersDocumentControllerphp"></a>
<div class="modfile"><h4>Modified: laboratory/Zend_Cloud/trunk/examples/cloudexp/application/controllers/DocumentController.php (22925 => 22926)</h4>
<pre class="diff"><span>
<span class="info">--- laboratory/Zend_Cloud/trunk/examples/cloudexp/application/controllers/DocumentController.php 2010-09-08 18:00:35 UTC (rev 22925)
+++ laboratory/Zend_Cloud/trunk/examples/cloudexp/application/controllers/DocumentController.php 2010-09-08 20:16:29 UTC (rev 22926) </span><span class="lines">@@ -47,7 +47,7 @@ </span><span class="cx"> return $this->_helper->redirector('index'); </span><span class="cx"> } </span><span class="cx"> </span><del>- public function addocAction() </del><ins>+ public function addDocumentAction() </ins><span class="cx"> { </span><span class="cx"> $this->view->fieldcount = 5; </span><span class="cx"> $this->view->collections = $this->_doc->listCollections(); </span><span class="lines">@@ -76,7 +76,7 @@ </span><span class="cx"> return $this->_helper->redirector('show', null, null, array("collection" => $name)); </span><span class="cx"> } </span><span class="cx"> </span><del>- public function deletedocAction() </del><ins>+ public function deleteDocumentAction() </ins><span class="cx"> { </span><span class="cx"> $request = $this->getRequest(); </span><span class="cx"> if (!$request->isPost()) {
</span></span></pre></div>
<a id="laboratoryZend_Cloudtrunkexamplescloudexpapplicationviewsscriptsdocumentadddocumentphtmlfromrev22925laboratoryZend_Cloudtrunkexamplescloudexpapplicationviewsscriptsdocumentaddocphtml"></a>
<div class="copfile"><h4>Copied: laboratory/Zend_Cloud/trunk/examples/cloudexp/application/views/scripts/document/add-document.phtml (from rev 22925, laboratory/Zend_Cloud/trunk/examples/cloudexp/application/views/scripts/document/addoc.phtml) (0 => 22926)</h4>
<pre class="diff"><span>
<span class="info">--- laboratory/Zend_Cloud/trunk/examples/cloudexp/application/views/scripts/document/add-document.phtml (rev 0)
+++ laboratory/Zend_Cloud/trunk/examples/cloudexp/application/views/scripts/document/add-document.phtml 2010-09-08 20:16:29 UTC (rev 22926) </span><span class="lines">@@ -0,0 +1,22 @@ </span><ins>+<form method="POST" enctype="multipart/form-data">
+Collection name: <select name="name">
+<?php
+foreach($this->collections as $name) {
+ if($name == $this->name) {
+ $checked = " selected";
+ } else {
+ $checked = "";
+ }
+ echo "<option$checked>$name</option>";
+}
+?>
+</select>
+<br/>
+ID: <input type="text" name="id"/><br/>
+Fields:<br/>
+<?php for ($i = 0; $i < $this->fieldcount; $i++): ?>
</ins><span class="lines">@@ Diff output truncated at 4096 characters. @@
</span></span></pre>
</div>
</div>
</body>
</html>