Skip to content
A framework to create web application servers written in C++ based on the Tasteful Server
C++ Other
  1. C++ 99.8%
  2. Other 0.2%
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmake
docs
packages
source
styleguide
.gitignore
AUTHORS
CMakeLists.txt
COPYING
GPL
LGPL
README.md
tasteful-framework-config.cmake

README.md

Tasteful Framework

Tasteful Framework is web framework library written in C++ based on Tasteful Server. It provides an MVC-architecture with routes, controllers, models and views as well as a datamapper and an activerecord as an object-relational mappers.

An example application is a simple blog in /source/examples/blog/.

Platform independency is provided through cmake-init. Currently supported platforms are:

  • Windows
  • Linux
  • OS X

Requirements

Example Blog

There is a simple example blog included with Tasteful Framework. To test this blog, you have to compile Tasteful Framework with examples first. Then you have to create the database.

> sqlite3 ../source/examples/blog/blog.sqlite < ../source/examples/blog/blog.sqlite.sql

Then you can start the blog.

> ./blog ../source/examples/blog/blog.xml

The blog will then be available at localhost:9000.

Webapplication Configuration Format

The Webapplication Configuration Format is an XML derivate to configure the servers and databases of a web application. Public and resource directories are also specified in such a configuration file. Instead of using an xml configuration, the setup can also be done using methods on the WebApplication instance. The format is described in detail in the wiki.

License

Tasteful Framework is licensed under the LPGL-3.

You can’t perform that action at this time.