April Meetup: The Grantlee Template System

This is a past event

73 people went

Location image of event venue


Dear C++ Community,

our April meetup will be hosted by Ableton. Contrary to out usual habit the talk will start at 19:00h sharp this time, since we have to be out at 21:00h. Ableton can host max 60 people seated. So, RSVP as soon as possible. There will be some drinks.

Our meetups run under the Berlin Code of Conduct (http://berlincodeofconduct.org/)

Stephen Kelly will talk about The Grantlee Template System.



The Grantlee Template System (https://github.com/steveire/grantlee) is a implemention of the Django Template System (http://docs.djangoproject.com/en/dev/ref/templates/) in Qt. The intent of the system is to encourage a clean separation of application and presentation logic, and to take the presentation of information out of the hands of developers and into the hands of artists.

Programmers still often write code with C++ for loops, and C++ if conditions,concatenating C++ std::strings to create some output. The output can be for display, it can be generated code to feed into another tool, emails to send out to multiple different people etc. Use of C++ code to create such content is inflexible, so a well-designed DSL can reduce the update cycle and enable different tools and skill sets.

This talk will examine the status quo of text template systems for C++, and focus on what Grantlee can offer programmers and users in Qt applications.