Building and managing web sites with the Template Toolkit

被引:0
|
作者
Wardley, A [1 ]
机构
[1] Canon Res Ctr Europe Ltd, Web Res Grp, Guildford, Surrey, England
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This paper addresses some of the issues involved in developing and maintaining web sire content and web-based applications. Ii identifies some common problems encountered and presents some basic requirements for flexible content generation. It demonstrates the technique of using text-based template files to generate dynamic HTML and introduces the Template Toolkit, a set of Perl modules available from CPAN [1] ideally suited for this purpose. A number of worked examples are presented which illustrate various features of the Template Toolkit. These demonstrate the construction of both static: and dynamic HTML pages using the standard toolkit utilities, custom CGI scripts, and Apache/mod perl handlers. The use of standard plugin modules is included to demonstrate integration with CGI [2], XML [3], and DBI [4], and methods for extending the Template Toolkit bit binding to external data and user-defined code are also covered. The closing sections present an analysis of performance and a critique of the markup language syntax with regard to the inherent tradeoff between simplicity and flexibility. The paper concludes by stressing the importance of adopting a suitable structure and methodology for building a web site, in addition to using the right tools for the job.
引用
收藏
页码:25 / 39
页数:15
相关论文
共 50 条
  • [1] FLEXI: A Toolkit for Malleable Web Sites
    Nagpal, Abhinay
    Jape, Suyash
    [J]. ICCN: 2008 INTERNATIONAL CONFERENCE ON COMPUTING, COMMUNICATION AND NETWORKING, 2008, : 502 - 508
  • [2] Building and managing XML/XSL-powered Web sites: an experience report
    Kerer, C
    Kirda, E
    Jazayeri, M
    Kurmanowytsch, R
    [J]. 25TH ANNUAL INTERNATIONAL COMPUTER SOFTWARE & APPLICATIONS CONFERENCE, 2001, : 547 - 554
  • [3] Managing Web sites with OntoWebber
    Jin, YH
    Xu, SC
    Decker, S
    Wiederhold, G
    [J]. ADVANCES IN DATABASE TECHNOLOGY - EDBT 2002, 2002, 2287 : 766 - 768
  • [4] Building access Web sites
    Wiley, DL
    [J]. DATABASE, 1999, 22 (02): : 86 - 86
  • [5] Building really annoying Web sites
    Hawley, T
    [J]. TECHNICAL COMMUNICATION, 2003, 50 (03) : 413 - 415
  • [6] A primer on building web sites for the blind
    Nathan Lowell
    Stephanie Roberts
    [J]. TechTrends, 2001, 45 (1) : 32 - 33
  • [7] Technologies and standards for building Web sites
    Kelly, B
    [J]. ONLINE & CDROM REVIEW, 1999, 23 (03): : 183 - 185
  • [8] Building business Web sites - Blum,A
    Dean, D
    [J]. INTERNET WORLD, 1996, 7 (11): : 114 - 114
  • [9] WIRM: An open source toolkit for building biomedical Web applications
    Jakobovits, RM
    Rosse, C
    Brinkley, JF
    [J]. JOURNAL OF THE AMERICAN MEDICAL INFORMATICS ASSOCIATION, 2002, 9 (06) : 557 - 570
  • [10] WebVectors: A Toolkit for Building Web Interfaces for Vector Semantic Models
    Kutuzov, Andrey
    Kuzmenko, Elizaveta
    [J]. ANALYSIS OF IMAGES, SOCIAL NETWORKS AND TEXTS, AIST 2016, 2017, 661 : 155 - 161