Examples
In order to support developers who create FirstSpirit Modules, we provide several source code packages that implement and demonstrate FirstSpirit extensions.
Instructions on building and installing these FirstSpirit modules are available in the chapter Implementation and Deployment.
The code and supporting files in these example packages are provided as-is for educational purposes and are not intended for use in a production environment. You are free to adapt the example code for use in project-specific implementations. As provided here, the examples are intended solely for reference, and we maintain, update and augment these examples, which may result in structural changes (e.g. module, component, package, and class naming, among other aspects) even without prior notice. For FirstSpirit Modules (FSM) based on these example packages, update procedures are not guaranteed to succeed; it is necessary to uninstall older versions of modules created from this code before installing a current version. |
ContentCreator Examples
Name | Brief description | |
---|---|---|
ContentCreator Examples | The ContentCreator Examples Source Code Package (Version 2024.12) contains example implementations for ContentCreator extension types including interactive features and management extensions. | |
Complex Examples
The following table lists downloadable source code packages which present more involved example implementations, usually consisting of several different FirstSpirit plug-in types working together.
Name | Brief description | |
---|---|---|
The "Editorial Search and Replace" Source Code Package (Version 2024.12) contains a complex example which demonstrates a means to combine a report plug-in with various associated plug-in types and a client-side service. | ||
Two source code packages contain complex examples which demonstrate how DataAccessPlugins can be created to access data provided by OData and SOAP web services, respectively. See the chapter for download links of these source code packages. | ||
Device Preview with BrowserStack | The "BrowserStack External Preview" Source Code Package (Version 2024.3) illustrates the use case of external preview item plug-ins, which may add executable menu items to the dropdown list associated with SiteArchitect's "Preview" button in the editorial toolbar. The items are used to access device-based live preview and screenshot services by BrowserStack (http://www.browserstack.com), which are loaded in a new browser tab. | |