diff options
author | defanor <defanor@uberspace.net> | 2018-12-30 13:05:36 +0300 |
---|---|---|
committer | defanor <defanor@uberspace.net> | 2018-12-30 13:05:36 +0300 |
commit | 1b3ea5d48e049c595f90eb8b9fb11f8149927519 (patch) | |
tree | 979b85238d5f40f05284993c40b98428ca63a8a8 /example/README.md |
Initial commit
The initial working version, an example, and brief description are
included.
Error handling and reporting, perhaps HTTP headers, CLI arguments, and
documentation can still be improved, but that's for future commits.
Diffstat (limited to 'example/README.md')
-rw-r--r-- | example/README.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/example/README.md b/example/README.md new file mode 100644 index 0000000..b6cfbfa --- /dev/null +++ b/example/README.md @@ -0,0 +1,18 @@ +# pg×html usage example + +Here is an example that implements a very basic bug reporting system: +users can just report, view, and list (search) the bugs. + +First of all, a database should be designed: `bugs.sql` contains +definitions and comments. + +A common template, `common.xsl`, includes error handling and some +shared HTML. One can choose to show error details to users, or to hide +them. + +`view.xsl` is a basic template for bug viewing. + +`list.xsl` includes report and search forms, and lists the bugs. + +To quickly try it, run `pgxhtml --devlogging` in this directory, +with database connection environment variables set if needed. |