factor/basis/furnace/db/db-docs.factor

17 lines
765 B
Factor
Raw Normal View History

2008-11-14 00:35:00 -05:00
USING: help.markup help.syntax db http.server ;
2008-11-14 00:21:32 -05:00
IN: furnace.db
HELP: <db-persistence>
{ $values
2008-12-18 00:35:46 -05:00
{ "responder" "a responder" } { "db" "a database descriptor" }
2008-11-14 00:35:00 -05:00
{ "responder'" db-persistence }
2008-11-14 00:21:32 -05:00
}
2008-11-14 00:35:00 -05:00
{ $description "Wraps a responder with database persistence support. The responder's " { $link call-responder* } " method will run in a " { $link with-db } " scope." } ;
2008-11-14 00:21:32 -05:00
ARTICLE: "furnace.db" "Furnace database support"
2008-11-14 00:35:00 -05:00
"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."
{ $subsections <db-persistence> }
2008-11-14 00:35:00 -05:00
"The " { $vocab-link "furnace.alloy" } " vocabulary combines database persistence with several other features." ;
2008-11-14 00:21:32 -05:00
ABOUT: "furnace.db"