Koen Deforche b1b79ecadc Several changes: | 8 vuotta sitten | |
---|---|---|
.. | ||
asciidoc | 11 vuotta sitten | |
css | 10 vuotta sitten | |
model | 9 vuotta sitten | |
view | 8 vuotta sitten | |
BlogRSSFeed.C | 11 vuotta sitten | |
BlogRSSFeed.h | 11 vuotta sitten | |
CMakeLists.txt | 13 vuotta sitten | |
README.md | 13 vuotta sitten | |
blog.C | 10 vuotta sitten | |
blog.xml | 13 vuotta sitten | |
index.html | 11 vuotta sitten |
This is an example that implements a simple yet feature-complete blog. This is the blog that is used on the Wt homepage.
Since this example is actually used in production code, the example is a bit more elaborate compared to other more simple examples.
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.
Wt::Dbo
to create a simple database-based model layerWTemplate
for recurisvely defining HTML-based viewsWt::Auth
for authentication.WResource
for an RSS feed