mirror of
https://github.com/almet/notmyidea.git
synced 2025-04-30 20:42:37 +02:00
16 lines
No EOL
1.5 KiB
XML
16 lines
No EOL
1.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<feed xmlns="http://www.w3.org/2005/Atom"><title>Alexis' log</title><link href="http://blog.notmyidea.org" rel="alternate"></link><link href="http://blog.notmyidea.org/feeds/mozilla.atom.xml" rel="self"></link><id>http://blog.notmyidea.org</id><updated>2011-12-06T00:00:00+01:00</updated><entry><title>Introducing cornice</title><link href="http://blog.notmyidea.org/introducing-cornice.html" rel="alternate"></link><updated>2011-12-06T00:00:00+01:00</updated><author><name>Alexis Métaireau</name></author><id>tag:blog.notmyidea.org,2011-12-06:/introducing-cornice.html/</id><summary type="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 &quot;code-block&quot; directive; none found.</p>
|
|
<pre class="literal-block">
|
|
.. code-block:: python
|
|
|
|
|
|
</pre>
|
|
</div>
|
|
</summary></entry></feed> |