作者: Peter Thiemann
关键词:
摘要: The common gateway interface (CGI) is one of the prevalent methods to provide dynamic contents on Web. Since it cumbersome use in its raw form, there are many libraries that make CGI programming easier.WASH/CGI a Haskell library for server-side Web scripting. Its implementation relies CGI, but avoids most CGI's drawbacks. It incorporates concept session, provides typed, compositional approach constructing interaction elements (forms), and call-backs specify control flow. From programmer's perspective, WASH/CGI like graphical user (GUI), where layout specified using HTML via novel monadic interface.