ProcessWire Weekly #472

In the 472nd issue of ProcessWire Weekly we'll check out ProcessWire 3.0.218, the very first add-on WireCache module, a new third party FormBuilder add-on module, and more. Read on!

Welcome to the latest issue of ProcessWire Weekly! In this week's issue we're going to take a closer look at the latest development version of ProcessWire, 3.0.218, and also the very first WireCache module made available as an optional add-on — WireCache Filesystem.

In other news we're going to introduce a new third party add-on module for the Pro module FormBuilder, called Tripleseat Lead Form API Integration, and as always we'll also highlight a brand-new site of the week.

Thanks to all of our readers for being here with us again, and as always, any feedback is most welcome – please don't hesitate to drop us a line if there's anything in your mind you'd like to share with us. Enjoy our latest issue and have a great weekend!

Latest core updates: ProcessWire 3.0.218 and new WireCache Filesystem module

Our latest development version, ProcessWire 3.0.218, was introduced in a regular weekly update from Ryan at the support forum and continues on the road paved by last week's core updates, making further improvements to the built-in caching system WireCache.

Separating modules cache from WireCache

In a nutshell the latest version of the core makes the built-in modules system use a cache system of its own, instead of relying on WireCache (the $cache API variable).

As Ryan mentioned along with last week's updates, this was a necessary step towards supporting third party WireCache modules. The modules system needs to store module information somewhere, and that "somewhere" used to be a WireCache cache. This was of course perfectly fine when caching was always managed by the core itself, but having a module that handles caching for module information was not feasible.

Additionally the modules cache was essentially something that should never clear, which could've been particularly problematic when switching caching modules.

After the latest core update the caches are now separate, with the modules system only using WireCache as a fallback, and as such Ryan has also released the very first external WireCache module: WireCache Filesystem.

WireCache Filesystem

WireCache Filesystem is an optional drop-in caching module that replaces the built-in database cache (WireCacheDatabase) made available via the $cache API variable. This module stores cached data under /site/assets/cache/WireCache/.

This caching method may be faster for some operations but it may be slower for others, depending on a number of factors, such as the environment you're running your site on. That being said, it is easy to check if it helps: just get the module and install it. If you're not seeing any improvement — or things get worse — uninstalling the module will revert your site back to using the built-in database cache.

Keep in mind that WireCache Filesystem requires the latest development version of ProcessWire, 3.0.218. Do not attempt to install it on earlier versions!

That's all for our core updates section this week. For more details, be sure to also check out the weekly update post from Ryan at the support forum. Thanks!

New module: Tripleseat Lead Form API Integration add-on for FormBuilder

Tripleseat Lead Form API Integration is a brand new third party add-on module for the commercial Pro module FormBuilder. This module, developed by Eduardo San Miguel Garcia, adds a new form action for submitting data to the Tripleseat sales and event management platform via their Lead Form API.

The module provides all necessary configuration options for Tripleseat API integration:

  • Tripleseat API endpoint
  • Tripleseat Lead Form ID
  • Additional field value pairs, i.e. any values not found from the FormBuilder form
  • Field rename options, i.e. FormBuilder fields that should be passed to lead form under a different name
  • Option for automatically formatting submitted dates on a per field basis

If you'd like to give this module a try, you can clone or download it directly from the FormBuilderProcessorTripleseat GitHub repository, or install it via the built-in modules installer. Please note, though, that this module also requires the FormBuilder module.

Big thanks to Eduardo for developing and sharing this module with us!

Site of the week: Fleischerschule Bayern

Our latest site of the week is called Fleischerschule Bayern, and it is a website for the training center for the butcher's trade. The school, which is a combination of a training center and boarding school, is based in Augsburg (one of Germany’s oldest cities) and managed by the Butchers' Association of Bavaria.

This website was created by Kasper Communications GmbH, and has a beautiful and modern design, complemented by big, bold, and quite readable typography. Content wise the site provides a proper introduction to the school itself, as well as a rather comprehensive list of available courses and education options.

Taking a quick peek behind the scenes, this site appears to be largely hand-crafted, without the help of a full-blown front-end framework — apart from any possible in-house tools, that is. In terms of third party ProcessWire modules, both contact and course registration forms are handled with FormBuilder.

Thanks to the folks at Kasper Communications for sharing this project with us, and our congratulations to the client for their new, ProcessWire powered website!

Stay tuned for our next issue

That's it for the 472nd issue of ProcessWire Weekly. We'll be back with more news, updates, and content Saturday, 3rd of June. As always, ProcessWire newsletter subscribers will get our updates a few days later.

Thanks for staying with us, once again. Hope you've had a great and productive week, and don't forget to check out the ProcessWire forums for more interesting topics. Until next week, happy hacking with ProcessWire!

Post a comment