Server side web scripting in Haskell

作者: ERIK MEIJER

DOI: 10.1017/S0956796899003561

关键词:

摘要: The Common Gateway Interface (CGI) for generating dynamic documents on web servers imposes much accidental complexity the programmer. HaskellsCGI library documented in this paper hides all unpleasantness by using common sense ‘design pattern’ of separating model and presentation. Low-level query string requests are represented association lists, primitive HTTP responses easily constructed a set HTML combinators. CGI programmer only needs to write worker function that maps an abstract request into response. A (higher-order) wrapper then transmutes real low-level script deals with exact format concrete as required standard.

参考文章(6)
Rohit Khare, Scripting languages : automating the web O'Reilly & Associates. ,(1997)
Graham Hutton, Erik Meijer, Back to Basics: Deriving Representation Changers Functionally Journal of Functional Programming. ,vol. 6, pp. 181- 188 ,(1996) , 10.1017/S0956796800001623
Richard Helm, John Vlissides, Ralph Johnson, Erich Gamma, Design Patterns: Elements of Reusable Object-Oriented Software ,(1994)
GRAHAM HUTTON, ERIK MEIJER, Monadic parsing in Haskell Journal of Functional Programming. ,vol. 8, pp. 437- 444 ,(1998) , 10.1017/S0956796898003050
John Hughes, Generalising monads to arrows mathematics of program construction. ,vol. 37, pp. 67- 111 ,(2000) , 10.1016/S0167-6423(99)00023-4