Department of Computer Science Homepage HTML Preprocessor Perl
- Slides: 6
Department of Computer Science Homepage • HTML Preprocessor • Perl Database • Revision Control System © 1998, Leonhard Jaschke, Institut für Wissenschaftliches Rechnen
Department of Computer Science Homepage HTML Preprocessor htmlpp (1) What is it? • Must run before people can access the HTML files (automized by makefiles) • Provides additional tags – Conditional execution of HTML code – Language specific execution of HTML code – Definition of macros – Include of other Pre. HTML files © 1998, Leonhard Jaschke, Institut für Wissenschaftliches Rechnen User client HTML Pre. HTML
Department of Computer Science Homepage HTML Preprocessor htmlpp (2) Why do we use it? – Language control (German, English) – Automatic layout: header, footer, date – Include frequently used information Where can I get it? – Freeware by Nicolas Thiéry with GNU license – Written in Perl ® runs on every computer that runs Perl (Unix, PC, Mac, . . . ) – Current version at http: //www. eleves. ens. fr: 8080/home/nthiery/htmlpp/ © 1998, Leonhard Jaschke, Institut für Wissenschaftliches Rechnen
Department of Computer Science Homepage Perl Database ERM-Model Groups m Layers 1 Institutes 1 m Function 4 User client m 1 external 0, 1 m Staff Agenda 0, 1 HTML m gives m 3 2 Pre. HTML m 0, 1 © 1998, Leonhard Jaschke, Institut für Wissenschaftliches Rechnen Courses 1 Perl
Department of Computer Science Homepage Revision Control System (RCS) What is it? Unix “built in” revision control: • • Logging of changes Rollback to earlier revisions Locking files currently being changed Fully supported by Emacs © 1998, Leonhard Jaschke, Institut für Wissenschaftliches Rechnen
Department of Computer Science Homepage Conclusion HTML Preprocessor Perl database – Cannot be edited by common – More programming work HTML editors than with a common DBS + Can manage pages with + but also more flexible different languages + Minimizes inconsistent + portable (ASCII, Perl) data + Minimizes inconsistent pages RCS + Easy definition of a uniform + Logs provide automatic layout documentation information + With cron and make: Correct + Coordinates the work of timestamp for every page several administrators © 1998, Leonhard Jaschke, Institut für Wissenschaftliches Rechnen