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