Blog

Filtering by category "groovy"

Basic JDBC Integration

In this blog we'll cover basic JDBC-based Integration between CrafterCMS and an external databases such as SQLServer, Oracle, MySQL, MariaDB, and PostgreSQL.

Working with the CrafterCMS Groovy Sandbox

CrafterCMS supports a powerful Groovy-based scripting layer for server side programming. CrafterCMS's configurable sandbox policies determine what the scripting layer can and cannot do. Some syntax is more likely to trigger sandbox flags than others. Follow this guide to learn a few tips and tricks for working within the sandbox without needing to modify policies.

ApacheCon 2021: Extending Headless CMS APIs with Groovy

Typical headless content management system (CMS) platforms provide a fixed set of content APIs for building software applications across a variety of digital channels, ranging from websites to mobile apps to IoT devices and everything in between. The

The Best Developer Experience: A Technology Agnostic CMS

One of the biggest pet peeves for a software developer is being forced to use legacy technologies that were dictated by prior decisions from another era. Unfortunately, this happens all the time when developers need to use certain frameworks to build

Working with url interceptor/servlet filters in CrafterCMS

A filter in Crafter is a Groovy-based controller that allows you to intercept inbound requests for content and API responses and dynamically apply rules, modify the request or transform the response.  A Crafter Filter has the same interface

Match Highlighting for Search in CrafterCMS

Highlighting search terms in search results is a common requirement for many websites.  CrafterCMS builds on top of Apache Solr and make implementing rich search and other query-driven experiences super simple. In this tutorial, we?ll create a s

Create Spring Beans in Your Site with CrafterCMS

CrafterCMS supports scripting in Groovy.  It?s awesome.  It?s lightweight. It?s fast. It?s easy.  That said when solutions start to become more sophisticated developers need ways to manage the complexity.  Spring bean factory is a

Creating and Installing Project Blueprints in CrafterCMS

Using the Blueprint Once you?ve installed your blueprint using it is simple! After logging in, you?ll see the MySites screen (Below). Click on Create Site Give the site a friendly name for the Site Id , a description and then choose a

Start an Activiti Process via Rest Script in CrafterCMS

Activiti is a powerful open source workflow engine built by Alfresco.  Incorporating a workflow engine into your customer and employee facing sites and portals is an excellent solution for automating complex workflows that cross system boun

Querying Content in CrafterCMS

Types of Content Queries CrafterCMS supports 3 specific types of content queries: Cross content Lucene/Solr queries. This enables you to query any/all content objects, by any group of properties.) Filtered Structural Queries. This enables you to quer

Building Angular2 Single Page Applications with CrafterCMS

Single Page Applications (SPA) are quickly becoming the industry standard for HTML5 based applications and responsive websites because they tend to be more user friendly, feel faster and are more responsive. As with most applications today, SPA?s fre