Learn about custom plugin life cycle for the Staffbase platform.
Custom plugins are very much like the standard plugins offered by Staffbase which add specific functions to simplify different business scenarios. Understanding different stages of the custom plugin life cycle ensures that you are prepared to create the solution you have envisioned. In addition, developing the plugin becomes easy when you have already thought through every aspect of the different stages before starting the actual development.
The four different stages in the lifecycle of a custom plugin are:
Designing a well-thought-out custom plugin is the most important and first step towards developing a custom plugin that meets your business needs. It is also important to involve all the stakeholders of the project during this stage.
This stage can be broken down further into:
Providing a solution for your users requires a thorough understanding of the business scenario you are trying to streamline. This requires gathering information around the problem you are trying to solve and analyzing how users will finally use the solution you are offering. Learn more.
Defining the scope gives more clarity to what is possible with the planned custom plugin. The scope must include aspects, such as:
Consult with your Customer Success Manager on the scope and feasibility of the custom plugin you are planning to develop.
Once you have designed the custom plugin, the developer can start building it. The development involves steps, such as:
Ensure once again that your custom plugin meets the requirements for embedded web applications and can also function on mobile devices. Learn more.
Here your developers can choose the programming language of their choice. Staffbase provides you with SDKs for NodeJS or PHP.
The SDKs will help your developers kick-start the development.
Contact Staffbase to receive a plugin specification datasheet, so that Staffbase can provide you with authorization information. You need to fill out the specifications and send it back to Staffbase. Learn more.
Once you have submitted the plugin specifications, Staffbase will provide the Plugin ID and Public Key. Your developers must add the parameters to the code of the custom plugin to establish authenticated communication between the Staffbase server and the web host where your custom plugin is hosted. Learn more.
Once the authentication parameters are added to the code of the plugin, your custom plugin is ready to be integrated into the Staffbase platform. Staffbase initiates the registration and activation process, which makes the custom plugin available to your organization.
This stage begins when the custom plugin is available to your organization. Once available for your organization, the custom plugin is displayed on the Plugins page in the Staffbase Studio. Administrators and managing editors can install the custom plugin and make them available for relevant users. Learn more about making content available using plugins, here. When a custom plugin instance is edited or deleted, the data is correspondingly updated or deleted in the host where the custom plugin web application is hosted.
You can release a new version of your custom plugin by adding new features or improvements and fixing bugs. When the custom plugin developer releases a new version of the web application that functions as the custom plugin, normally no changes are needed to be made on the Staffbase platform. But if the developer makes modifications to any aspects mentioned in the plugin specifications, we need to update those specifications on the Staffbase side as well, for example, modifying the URL of the custom plugin.
When planning for a major release, we recommend starting from the design stage of the life cycle. This helps you analyze the requirement and plan the release better.