Kit for Chapter 15
The dhttp kit (http://udell.roninhouse.com/examples/dhttp-v2.tar.gz) installs by unzipping into any subdirectory on a Unix or NT box equipped with Perl 5. You’ll need CPAN’s DBI and a DBD datasource driver if you want to run the apps I’ve included with dhttp or try your own database-oriented apps. You’ll also need CPAN’s Net::NNTP for the HelpDesk (hd) app described in Chapter 9.
The dhttp distribution divides into the following three parts.
1: dhttp Top-Level Scripts
-
./dhttp
The main driver; starts the engine and load the apps
-
./code_synch
Demonstrates code replication
-
./data_synch
Demonstrates data replication
2: Engine Components
-
./lib/dhttp/Engine/Server.pm
The miniature HTTP server
-
./lib/dhttp/Engine/PubUtils.pm
Methods visible both to web clients and internal methods
-
./lib/dhttp/Engine/PrivUtils.pm
Methods visible only to internal methods
-
./lib/dhttp/Engine/edit_ file.htm
A system-level template for the
Engine::PubUtils::do_edit_ file( )
method
3: Application Components
- sfa (a sample contact manager)
-
./lib/dhttp/Apps/sfa.pm
The sfa module
-
./lib/dhttp/Apps/sfa/bios/.
Subdirectory for bios of contacts
-
./lib/dhttp/Apps/sfa/sfa_company.htm
Template for the company pane
-
./lib/dhttp/Apps/sfa/sfa_contacts.htm
Template for the contacts pane
-
./lib/dhttp/Apps/sfa/sfa_multi_history.htm
Template for the contact-history pane
-
./lib/dhttp/Apps/sfa/sfa_ave_company.htm
Template for forms to add, edit, or view a company record
-
./lib/dhttp/Apps/sfa/sfa_add_contact.htm
Template ...
-
Get Practical Internet Groupware now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.