Book Image

Redmine Plugin Extension and Development

By : Alex Bevilacqua
Book Image

Redmine Plugin Extension and Development

By: Alex Bevilacqua

Overview of this book

Table of Contents (16 chapters)
Redmine Plugin Extension and Development
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 2. Extending Redmine Using Hooks

Redmine, at its core, is a project management and issue tracking system. Its developers have invested a lot of time and energy into building an extremely robust solution that rivals even proprietary competitors, but we occasionally find ourselves wishing we could perform a certain task or see a piece of information differently.

Thankfully, Redmine was designed with extensibility in mind. Not only is there a plugin system in place to allow custom functionality to be implemented, but core features can be extended using a system of hooks and callbacks.

In this chapter, we will dive into the various classifications of hooks and how our plugin can leverage them to add new functionality to existing Redmine systems and components.

We will cover the following topics in this chapter:

  • An introduction to what a hook is

  • What types of hooks exist and where they can be used

  • An example view hook implementation