Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for 
change notification.

The "ExternalProcesses" page has been changed by SebastianCohnen.
The comment on this change is: added toc; added syntax hl.
http://wiki.apache.org/couchdb/ExternalProcesses?action=diff&rev1=11&rev2=12

--------------------------------------------------

  = External Processes =
+ <<TableOfContents()>>
+ 
  CouchDB now allows for the ability to develop custom behaviors via processes 
that communicate over ''stdin'' and ''stdout''. Requests to CouchDB that are 
captured by the external process handler are passed via JSON object to the 
external process over ''stdin'' and reads a JSON object from ''stdout''. 
Without further ado...
  
  == JSON Requests ==
@@ -8, +10 @@

  
  An example object:
  
- {{{
+ {{{#!highlight javascript
  {
      'body': 'undefined',
      'cookie': {
@@ -84, +86 @@

  == Example External Process ==
  Here is a complete Python external process that does a whole lot of nothing 
except show the mechanics.
  
- {{{
+ {{{#!highlight python
  import sys
  
  try:

Reply via email to