Write furnace.db docs
parent
faeacba224
commit
f78c5b4d20
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue