Module Tutorial: User Polling / Rating

This tutorial will take you through the steps necessary to create a simple Webiva module that will allow you to display some basic polls on your website. It assumes you have Webiva installed and running development mode on a local machine. It also assumes that you are familiar with using Webiva from an integrator perspective - creating templates, activating modules and editing pages. If that’s not the case it’s probably worth going through the tutorial and playing with the system a little bit before getting into the nitty-gritty of development. The system also assumes that you have at least a basic familiarity with Ruby on Rails. If that’s not the case, you should really get yourself a copy of Agile Web Development with Rails, Third Edition and work through at least the Depot application before trying to make headway on developing for Webiva.

Webiva modules can add functionality to the system in a number of different ways:

  1. Add new module-specific data models
  2. Add new paragraph types that editors can add to pages
  3. Add new content management interfaces
  4. Add new handlers for interaction with other modules

We’re going to go over the first 3 in this tutorial; the last one (handlers) will be covered in a future tutorial.