ProcessWire Weekly #365

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

Welcome to the latest issue of ProcessWire Weekly. In this issue we'll dig into the latest core updates, which include plenty of smaller fixes as well as feature additions for both the API and the admin GUI; there's a lot of stuff in this update, so definitely check it out.

In other news we're going to introduce the FieldtypeOembed and InputfieldOembed module bundle, a set of tools that make oEmbed trivially easy to work with: you can use these modules to embed content, as well as query specific parts of said content.

Last but not least we're going to check out the brilliant companion website to The Rez podcast, JoinTheRez.com. This website was lovingly crafted to provide a unique and definitely fun to use experience for younger audience — more about that in a bit.

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

In his latest update, posted at the support forum, Ryan covers the changes made to the dev branch this past week: core improvements, optimizations, and fixes. A dozen or so pull requests were also added — primarily those that were relatively simple, while work on some of the more complex ones will continue into next week.

Here's a quick sneak peek into the feature updates from this week:

  • Sanitizer::url() now supports special URLs without slashes, such as skype:username?chat.
  • Better error message handling and logging for WireFileTools, and a new renameCopy() method.

  • New exception type WireFilesException, thrown when fatal error occurs while working with the $files API variable and related features.
  • WireHttp now accepts an array of custom options passed to cURL during requests ($options['curl']['setopt']).
  • New PagePathHistory::deleteAllPathHistory() method and a GUI option for clearing the full page path history via the module config screen.

In addition to the updates mentioned here there were a lot of smaller fixes and minor optimizations to the core as well as some admin GUI improvements. As for next week's plan, we'll likely see more pull requests making their way into the core.

Full list of updates can be found from the dev branch changelog at GitHub and Ryan shares some of his plans in the weekly update, so check those out as well. Thanks!

New module: FieldtypeOembed

FieldtypeOembed is a brand new third party module from studio Neue Rituale. This fieldtype and inputfield combination stores, collects, and updates oembed data from external sources, using the Essence PHP library by Félix Girault behind the scenes.

FieldtypeOembed in action.

This fieldtype provides API access to the data contained within the Oembed object, as well as the rendered HTML markup. You can also use the contents of the oembed field to find content:

$pages->find('embed.providerName=YouTube');
$pages->find('embed.width>=200');

For more details and a proper description of the returned Oembed object, check out the FieldtypeOembed GitHub repository. If you have any questions, feel free to post them via the FieldtypeOembed support forum thread.

Big thanks to the folks at Neue Rituale for sharing this project with us. Great job!

Site of the week: Join the Rez

Our latest site of the week is called Join the Rez, the companion website to a science fiction podcast and comic which aims to help pre-teens build emotional resilence and mental well being.

This site was developed by millipedia and the main part was developed to look like a mobile phone. There are various "apps" available (including mini games), you can listen to podcast episodes via the podcast player app, and you can also read the comic via the comic book app. All in this is quite a detailed and content-rich website, and it's obvious that plenty of work has gone into putting it all together.

In the comic, which is set in the future, our heroes are able to contact young people in the current day using a mobile phone. We ran with this idea to create a phone interface for the site which enables users to undertake lots of different activities including games (Fart Cow Frisbee!) , puzzles, a podcast player, and even recording audio messages to send to the characters.

— millipedia

The front-end of this site appears to be largely custom built, relying on a few popular third party libraries for specific functionality — the Plyr media player, the PhotoSwipe image gallery, and so on. Some of the third party modules used on this site include ProCache, FormBuilder, and Tracy Debugger.

Be sure to check out The Rez showcase forum thread for more details. Big thanks to the folks at millipedia for sharing this project with us, definitely enjoyed browsing the site!

Stay tuned for our next issue

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