Write furnace.db docs

db4
Slava Pestov 2008-11-13 23:35:00 -06:00
parent faeacba224
commit f78c5b4d20
1 changed files with 7 additions and 11 deletions

View File

@ -1,20 +1,16 @@
! Copyright (C) 2008 Your name. USING: help.markup help.syntax db http.server ;
! See http://factorcode.org/license.txt for BSD license.
USING: help.markup help.syntax io.streams.string ;
IN: furnace.db IN: furnace.db
HELP: <db-persistence> HELP: <db-persistence>
{ $values { $values
{ "responder" null } { "db" null } { "responder" "a responder" } { "db" db }
{ "responder'" null } { "responder'" db-persistence }
} }
{ $description "" } ; { $description "Wraps a responder with database persistence support. The responder's " { $link call-responder* } " method will run in a " { $link with-db } " scope." } ;
HELP: db-persistence
{ $description "" } ;
ARTICLE: "furnace.db" "Furnace database support" ARTICLE: "furnace.db" "Furnace database support"
{ $vocab-link "furnace.db" } "The " { $vocab-link "furnace.db" } " vocabulary implements a responder which maintains a database connection pool and runs each request in a " { $link with-db } " scope."
; { $subsection <db-persistence> }
"The " { $vocab-link "furnace.alloy" } " vocabulary combines database persistence with several other features." ;
ABOUT: "furnace.db" ABOUT: "furnace.db"