ProcessWire Weekly #446

In the 446th issue of ProcessWire Weekly we're going to check out the latest weekly updates, introduce a new third party module called AlpineJS, and more. Read on!

Welcome to the latest issue of ProcessWire Weekly. This week we're going to check out the latest core updates and cover the weekly update from Ryan, and introduce a brand-new third party module called AlpineJS.

As always check out a brand-new site of the week — one that was built to celebrate the 50th birthday of the London Friend, UK's oldest LGBTQ+ charity.

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 and weekly update from Ryan

The takeaway from the latest weekly update from Ryan is that while this week has been a holiday week, we do still have a few pretty interesting new core updates. To be more specific, those updates are:

  • support for the recently released TinyMCE inputfield module in the PageFrontEdit (the front-end editing module bundled with ProcessWire), and
  • a few new options for $sanitizer->email(), which include support for IDN domains, and the ability to check if host part of the email address has a valid DNS record.

The email sanitizer update is connected to a newly added $options argument, which can be used to define if said new features should be used:

if ($sanitizer->email('[email protected]', [
    'allowIDN' => false, // allow internationalized domain names (IDN)
    'getASCII' => false, // Return ASCII encoded version if host is IDN
    'getUTF8' => false, // Convert ASCII-encoded IDNs to UTF-8
    'checkDNS' => false, // Check that host has a valid DNS record
    'throw' => false, // Throw WireException with details on failure
    '_debug' => false, // Return detailed (debug) message on failure
])) {
    // do something with valid email address
}

In addition to aforementioned feature updates, the latest dev branch version also fixes an issue where umlauts were no longer working properly in page names / URLs, and includes a few other minor updates as well.

That's all for our core updates section this week. For more details, be sure to read the weekly update from Ryan, and in case you'd like to review the weekly core updates in detail, check out GitHub dev branch commit log for the week. Thanks!

New module: AlpineJS

AlpineJS is a brand-new third party module developed by Eduardo San Miguel Garcia. This is a pretty simple module, intended to load the bundled version of the Alpine.js JavaScript library in the admin. This module can be used to take care of the Alpine.js dependency for inputfields and other features that might depend on said library.

In case you're not familiar with Alpine.js, it is a lightweight JavaScript library providing similar capabilities as some of the more popular reactive libraries, such as Vue.js and React. Alpine is not quite as feature-rich as the frameworks mentioned above, but provides some pretty powerful features nevertheless.

If you'd like to give this module (and Alpine.js) a try, you can install it via the AlpineJS module GitHub repository. Big thanks to Eduardo for sharing this module with us!

Site of the week: 50 years of London Friend

Our latest site of the week is called 50 years of London Friend. This site was created to celebrate the 50th anniversary of the UK's oldest LGBTQ+ charity, London Friend, and showcase the events and people that have — so far — shaped the charity.

The two main parts of this site are the timeline, which covers some the most influential events that have occurred during the history of London Friend, and a section called LGBTQ+ Londoners, which introduces 50 influential Londoners who've made a difference for the LGBTQ+ life in the UK's capital. The design of the site has a very unique and positively old-school vibe — something that we've come to expect from the developers of the site, millipedia.

As for behind the scenes details, the front-end of this site was largely custom built, but it does include a bunch of third party dependencies, such as the PhotoSwipe JavaScript image gallery. Meanwhile, some of the third party ProcessWire modules used on this site include ImageBlurHash, ProCache, and TracyDebugger.

For more details, be sure to check out the showcase forum thread for the 50 years of London Friend website. Big thanks to the folks at millipedia for sharing this project with us, and as always our congratulations to the client, London Friend!

Stay tuned for our next issue

That's all for the 446th issue of ProcessWire Weekly. We'll be back with more news, updates, and content Saturday, 3rd of December. 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