September 2020 Summaries
2 posts from Upsun
Filter
Month:
Year:
Post Summaries
Back to Blog
PHP 8.0 introduces the match expression, a modernized branching logic construct that enhances the capabilities of the traditional switch statement by offering strict equality comparison, eliminating fall-through, and returning a value. Unlike switch, match evaluates with strict equality (===) rather than loose equality (==), ensuring type matching, and is designed to handle single expressions rather than multi-line statements, encouraging the use of functions for complex logic. It is exhaustive, meaning if no match is found and there is no default case, an error is thrown, preventing silent null assignments. The match construct supports compound branches for OR-like behavior and can be used with a boolean condition for more complex scenarios, promoting clean, well-factored, and testable code.
Sep 24, 2020
665 words in the original blog post.
Global digital agency iO developed a centralized digital marketing platform for Mentos, significantly reducing hosting costs and enhancing agility by moving away from localized management of over 100 websites. This approach, facilitated by the Upsun infrastructure, allowed for a 60% reduction in hosting expenses while eliminating the need for dedicated DevOps staff, enabling marketing teams to focus on campaigns rather than technology management. The platform, built on a Drupal setup, empowers local markets to customize content while maintaining global consistency, and serves as the heart of Perfetti Van Melle's digital ecosystem, integrating with CRM systems and marketing tools. iO's strategy of creating sustainable models that clients can eventually manage independently aligns with their goal of obsolescence, enabling them to focus on innovative projects that expand their reach, exemplified by their BHAG of having one billion users by 2030. Their work with Mentos also illustrates the creation of a collaborative global marketing community, sharing best practices and insights to drive continuous improvement across local markets.
Sep 02, 2020
1,973 words in the original blog post.