File: README.md

package info (click to toggle)
witty 3.3.3%2Bdfsg-4.1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 28,228 kB
  • ctags: 26,694
  • sloc: cpp: 147,809; ansic: 77,999; xml: 16,331; sh: 1,303; makefile: 198; java: 86; sql: 14
file content (27 lines) | stat: -rw-r--r-- 877 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Blog example
------------

This is an example that implements a simple yet feature-complete blog.
This is the blog that is used on [the Wt
homepage](http://www.webtoolkit.eu/wt/blog).

Since this example is actually used in production code, the example is
a bit more elaborate compared to other more simple examples.

How to run
----------

See the README in the parent directory.

The example itself will be deployed at '/blog', and the RSS feed at
'/blog/feed'. A SQLite3 database will be created in the working
directory if it didn't yet exist.

What it illustrates
-------------------

- the use of `Wt::Dbo` to create a simple database-based model layer
- how you can use these database objects inside View widgets
- the use of `WTemplate` for recurisvely defining HTML-based views
- the use `Wt::Auth` for authentication.
- the use of a static `WResource` for an RSS feed