Front Page All Articles Recent Changes Random Article

Contents

Concatenative language

  • ACL
  • Ait
  • Aocla
  • Breeze
  • Callisto
  • Cat
  • Cognate
  • colorForth
  • Concata
  • CoSy
  • Deque
  • DSSP
  • dt
  • Elymas
  • Enchilada
  • ETAC
  • F
  • Factor
  • Fiveth
  • Forth
  • Fourth
  • Freelang
  • Gershwin
  • hex
  • iNet
  • Joy
  • Joy of Postfix App
  • kcats
  • Kitten
  • lang5
  • Listack
  • LSE64
  • Lviv
  • Meow5
  • min
  • Mirth
  • mjoy
  • Mlatu
  • Ode
  • OForth
  • Om
  • Onyx
  • Plorth
  • Popr
  • Porth
  • PostScript
  • Prowl
  • Quest32
  • Quackery
  • r3
  • Raven
  • Retro
  • RPL
  • SPL
  • Staapl
  • Stabel
  • Tal
  • Titan
  • Trith
  • Uiua
  • Worst
  • xs
  • XY
  • 5th
  • 8th

Concatenative topics

  • Compilers
  • Interpreters
  • Type systems
  • Object systems
  • Quotations
  • Variables
  • Garbage collection
  • Example programs

Concatenative meta

  • People
  • Communities

Other languages

  • APL
  • C++
  • Erlang
  • FP trivia
  • Haskell
  • Io
  • Java
  • JavaScript
  • Lisp
  • ML
  • Oberon
  • RPL
  • Self
  • Slate
  • Smalltalk

Meta

  • Search
  • Farkup wiki format
  • Etiquette
  • Sandbox

Factor/Furnace

The Factor web framework is called Furnace. It is found in the furnace vocabulary.

01:57 < dnm> furnace?
01:57 < doublec> factor web framework
01:57 < doublec> it's the hottest thing in web development...

Learning Furnace

Furnace is fully documented; see Furnace framework.

Some blog posts about Furnace:

  • John Benediktsson: "Hello, web!" example
  • Chris Double: Factor web framework example
  • Slava Pestov: new HTTP server, part 1
  • Slava Pestov: new HTTP server, part 2

Related wiki articles:

  • DB

Examples

Some simple Furnace examples to look at are the following vocabularies in extra:

  • webapps.counter
  • webapps.calculator
  • webapps.ip

Some of the applications in webapps, such as webapps.wiki, do not provide their own CSS stylesheet or database configuration. As such, they need the common configuration from websites.concatenative to function.

Saving images

In a fresh Factor image, USE: furnace will take a long time because many vocabularies have to be loaded and compiled. To speed up this process, you can save an image with save-image, for example:

USE: furnace
"web.image" save-image

As stated above, html, http, syndication, xml, db, urls and validators vocabularies will also be compiled since furnace depends on them. You can only load the web.image by using the "-i" command-line switch from a shell, for example:

./factor -i=web.image

Note that an image cannot be "loaded" from the Factor GUI, as the GUI is actually run from the default factor.image.

Related projects

Furnace was primarily inspired by three Java web frameworks:

  • Seam
  • Stripes
  • Wicket

This revision created on Fri, 11 Nov 2011 14:57:30 by theom (Fix broken link to the Furnace documentation)

Latest Revisions Edit

All content is © 2008-2024 by its respective authors. By adding content to this wiki, you agree to release it under the BSD license.