In the 444th issue of ProcessWire Weekly we'll check out ProcessWire 3.0.207, introduce a new Docker image for easy ProcessWire development, and more. Read on!
Welcome to the latest issue of ProcessWire Weekly! In this week's issue we're going to walk you through the latest updates introduced to the development branch at GitHub this week, as well as check out a brand new third party Dockerized environment built specifically for ProcessWire.
As always we've also got a new site of the week, which this time belongs to the Polish creative studio 7studio. More about this gorgeous microsite designed and developed in-house by the team at 7studio in just a bit, so keep on reading.
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.207
The latest weekly update from Ryan focuses on a couple of important topics, one of which is the latest version of the core currently available via the GitHub dev branch, while the other is the latest version of the TinyMCE inputfield module.
What's new in ProcessWire 3.0.207
In addition to a few minor code improvements for certain core classes, here's what's new in the dev branch since last week:
- A fix for an issue where deleting a page with a repeater item with asset field(s) could result in an error.
- A fix for a notice generated by
$wire->files->include()(WireFileTools class) when used on a module's settings page.
- A fix for exporting field properties when custom ones — such as additional field configuration settings added by third party modules — are involved.
$page->get('field_name.first')was updated to work with singular values as well as WireArrays. This also applies to certain other properties; specifically
$templates->delete($template)method was updated to also delete fieldgroup when it is not used elsewhere.
Latest updates for InputfieldTinyMCE
One of the latest updates to the TinyMCE inputfield module, and the one Ryan covers in detail in his weekly post, is an optimization to the way editor fields are initialized. There is now a new option to "lazy load" and initialize the editor view when it becomes visible, or alternatively when it is clicked.
The "load editor when it becomes visible" option is now the new default, but you can choose to enable more aggressive click option (or disable lazy loading entirely). This feature is only applicable to the normal editor; inline editors are always lazy loaded.
For more details about this week's core updates, TinyMCE inputfield module updates, and some pretty interesting news about an upcoming sitemap generating module, be sure to check out the weekly update from Ryan. Thanks!
New ProcessWire Docker image from laikmosh
There are many different ways to set up a ProcessWire development environment, and Docker is one that we've been seeing increasingly often lately. The latest Docker image designed specifically for ProcessWire development comes from user laikmosh, and is available via a GitHub repository as well as Docker Hub.
This project is in fact quite elaborate, and — among other things — includes automated scripts for installing ProcessWire and setting things up. Here's what's included with the image right out of the box:
- Separate containers for ProcessWire (PHP and Apache) and database (MariaDB) with a configuration option for the PHP version
- ProcessWire installation script with a configuration option for the core version
- VSCode configuration, including Intelliphense support
- Bundled and preconfigured Xdebug
- Support for OPcache and JIT
For a developer getting things up and running is straightforward. In a nutshell you just need to clone or download the docker-processwire project, and then (create and) start the containers using docker-compose:
git clone https://github.com/laikmosh/docker-processwire.git cd docker-processwire docker-compose up
For more details and detailed installation instructions be sure to check out the README for this project at the ProcessWire Docker Image GitHub repository. In case you have any questions, check out the support forum thread for this project.
Big thanks to laikmosh for sharing this project with us!
Site of the week: 7studio
Our latest site of the week belongs to 7studio — a creative studio located in the center of Poland at the city of Bełchatów. They are a full service company specializing in design and development of professional websites and web applications.
The newly released website of 7studio was recently introduced via a showcase post at the ProcessWire support forum, and was designed and developed in-house. The website, which is introduced as a microsite, is beautifully designed, looks very clean and modern, and features a number of nicely implemented animated effects.
Although some parts of the site (such as English language version) are still a work in progress and expected to land in future releases, there is already a good amount of information about the studio, their services, clients and projects, and contact details. Behind the scenes this site is powered by a vanilla ProcessWire setup, and the front-end of the site is also largely custom-built, without a full-blown front-end framework.
Thanks to 7studio for sharing this project with us. It is a truly gorgeous site, and we're very happy to have it featured as our latest site of the week. Keep up the great work!
Stay tuned for our next issue
That's it for the 444th issue of ProcessWire Weekly. We'll be back with more news, updates, and content Saturday, 19th of November. 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!