2020


In this years blog series we are going to build a Koha plugin step by step. You can follow along with the the code in our gitlab repository

Using the REST API

Post thumbnail
Post thumbnail
On our previous posts, we added a tool hook to our plugin, so it adds a simple page that can be accessed either via the Tools area or from the Manage plugins page from the administration area. [Read More]

Adding a static assets

Post thumbnail
Post thumbnail
Our plugin lets us create a list of fancy words now, so what are some of the things we can do with it? Sometimes we may want to craft our code to define specific actions, but possibly we want to take advantage of existing code from the world of developers... [Read More]

Adding API routes

Post thumbnail
Post thumbnail
Today’s post is about a feature that was added on Koha 18.11: the ability to add API routes using plugins. [Read More]

Translate your plugin

Post thumbnail
Post thumbnail
We have a plugin with user facing pages; Now is the time to think about making it translatable. It’s best to think about this early in your development as it becomes increasingly difficult the longer you put it off. [Read More]

Creating objects for plugin tables

Post thumbnail
Post thumbnail
Now that we’ve created the ability to manage our fancy words list with basic SQL, let’s simplify working with the table by implementing a DBIx::Class schema file for it! [Read More]

Growing your data store

Post thumbnail
Post thumbnail
As our plugin grows, you may find yourself needing more than the simple key/value store that the store_data() and retrieve_data() methods afford us. [Read More]