Tutorials

Plugin

Plugin Tutorial: How to unit test a plugin

Comments: 1 | Last comment by Vetle Roeim

This tutorial shows you how to test your plugins in Vertical Site. By using Spring´s MockHttpServletRequest and -Response this becomes easy. The only thing is to know where to inject those mocks so that your plugin can use them. This tutorial shows you how for three types of plugins: controller plugin, http response filter plugin and...

Read more »
Gears

Formbuilder – part 1

Comments: 1 | Last comment by Jonas Lepsøy

Having forms on your site is one efficient way to gather/ask for input from your visitors. The form can be of any types such as leads, a questionaire, feedback on your products/services or maybe a simple quiz. When you know what data you need, it is just the matter of creating a new menu item and from there you can visually build the...

Read part I here »
Plugin

Plugin Tutorial: How to create a markup filter

Comments: none

A response filter is a code that filters any textural output from a redered page. The filter can do anything with the text, like replace some tokens. In this example I will illustrate the replacement of a token with some data. Binary responses will not be filtered by this plugin.

Read more »
Plugin

Plugin Tutorial: How to create a controller

Comments: none

A controller is a code that does something to the response. It does not send the request down the chain. In this tutorial I will illustrate how to build a simple hello world controller. Yes, I said it was simple.

Read more »
Plugin

Plugin Tutorial: How to create a function library

Comments: none

In this article I will describe how to create a function library plugin. This plugin type extends the data source functionality by providing user-defined functions. Each class can implement multiple functions and are attached an installation-unique plugin key.

Read more »
RSS iconArticles as RSS feed

Published in 2010

2009

2008

2007