Alexis' loghttp://blog.notmyidea.org2011-12-06T00:00:00+01:00Introducing cornice2011-12-06T00:00:00+01:00Alexis Métaireautag:blog.notmyidea.org,2011-12-06:/introducing-cornice.html/<p>Wow, this is my second working day at mozilla. I've been working, yesterday and
today, on a pyramid REST-ish toolkit, <a class="reference external" href="https://github.com/mozilla-services/cornice">cornice</a>.</p>
<p>Cornice allows you to take out from you all the repetitive stuff you do when
writing a web service. I'm mainly thinking about different kinds of validation.</p>
<p>To describe a web service in <em>cornice</em>, you have to write something like this</p>
<div class="system-message">
<p class="system-message-title">System Message: ERROR/3 (<tt class="docutils">./content/mozilla/introducing-cornice.rst</tt>, line 14)</p>
<p>Content block expected for the "code-block" directive; none found.</p>
<pre class="literal-block">
.. code-block:: python
</pre>
</div>