Koen Deforche b1b79ecadc Several changes: | il y a 8 ans | |
---|---|---|
.. | ||
asciidoc | il y a 11 ans | |
css | il y a 10 ans | |
model | il y a 9 ans | |
view | il y a 8 ans | |
BlogRSSFeed.C | il y a 11 ans | |
BlogRSSFeed.h | il y a 11 ans | |
CMakeLists.txt | il y a 13 ans | |
README.md | il y a 13 ans | |
blog.C | il y a 10 ans | |
blog.xml | il y a 13 ans | |
index.html | il y a 11 ans |
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