OpenLampTech issue #113
WordPress shutdown hook | Debian Linux | WooCommerce optimizations | PostgreSQL vs MariaDB | Advanced Laravel Eloquent tips.
Thank you for reading the OpenLampTech newsletter!
If someone awesome shared this newsletter with you and you are not yet subscribed, please use the Subscribe button below and join:
And now, a message from this week’s sponsor. Thank you, Backpack for sponsoring the OpenLampTech newsletter!
Backpack is one of the most popular admin panels for Laravel. Their simple stack and many many features make it a good choice for both devs who are now getting started and devs who plan to maintain a project for years to come - they've been doing this since 2016 and their track record speaks for itself.
If you're building a Laravel app, try Backpack, their free version is enough for most projects. Even better - if your project becomes complex, they have paid 1st party add-ons for the most common needs. Same vendor, all features you need.
OpenLampTech has sponsorship opportunities for your brand, product, or service in the weekly newsletter. As an independent publication, collaboration is very affordable.
Andrii Toniievych shared a great developer interview in OpenLampTech this week.
Read it here:
How to Use the Shutdown Hook for Tasks
Learn about the WordPress shutdown
hook and how to use it in processing additional actions that won't slow down the user experience. The shutdown
hook is part of the WordPress requests lifecycle and could be an optimal time to handle slower tasks.
The author, Tanner Record, has a fantastic OpenLampTech developer interview you should read and be sure and check out his newsletter as well.
[Tanner Record]
Charting Debian's Free Software Journey
Very good interview with the (current) Debian Project Lead. Where would free and open-source software be in the Linux world without Debian and its community of contributors? I have/had been a Linux user for a long time and many current distros are either modeled after Debian or may even pull packages from Debian too. While I only had a brief stint as a pure Debian user, I know it is an important distro and that Debian stands for something - free and open-source.
[The Drop Times]
WordPress and WooCommerce Performance Optimization on Big Projects. Part 1
A very informative read on optimizing WordPress and WooCommerce page generation time.
Four areas that can help overall are covered and each discusses the details with examples:
Full-page caching
Object caching
Database optimization
Code optimization (I'm very interested in this one as there is a good linked code example too)
[Medium]
PostgreSQL vs MariaDB [Complete Comparison]
While you are more likely to find MariaDB as part of a LAMP stack application, PostgreSQL shouldn't be ignored. PostgreSQL is one powerful database. I first started my SQL learning with PostgreSQL before doubling down on PHP and MySQL. This piece is an excellent (and just) comparison between MariaDB and PostgreSQL. One of the better ones I've read.
[five.co]
10 Advanced Tips for Efficient Laravel Eloquent ORM Usage
Laravel developers (often) depend on the Eloquent ORM for database interactions in an application. I am not a Laravel developer, but I see a lot of Eloquent tips online and it seems like there are countless methods for pretty much whatever you need to interact with the database. Which is good. I'll always champion SQL knowledge but if something exists, works, and makes it easier, by all means, use it.
[dev.to]
WooCommerce Block-based Product Editor Trending Topics
I have honestly not been on the whole AI bandwagon (still ain't). But, recently I decided to give Google Bard a spin for content topics and ideation. ChatGPT is still outdated as far as world events and training data (I think it is current to 2022?). Yet, I figured since I query Google daily anyway, why not try out Google Bard for some information and topic ideas? I must be missing something because I've always had a mixed bag of results with these AI tools. Here is the unedited content I received back from Google Bard.
[OpenLampTech]
WooCommerce
Office Hours Notes: New Product Editor Experience (January 5th, 2024)
I'm not 100% on board (yet) with the (new) WooCommerce block-based Product Editor, but in reading the(se) latest office hours notes, I can see there is a lot of development going on with it.
WooCommerce 8.5.0 Released (January 9th, 2024)
There were some reported issues with this release. So much that it was rolled back to the previous version based on my understanding.
Update on the WooCommerce 8.5 known issue (January 11th, 2024)
Thank you for reading. I hope you have a great rest of your week.
Take care.
Josh Otwell
When you are ready, here are more ways I can help...
Content, E-commerce Development, and Email/Newsletter Services - Photography services; Shopify and WooCommerce customizations, development, and setup; Email and Newsletter setup and management.
Interested? Great!
Just hit Reply and ask for more information about any of these services.
OpenLampTech is a reader-supported publication. You can support the publication with a virtual coffee for as little as $3 (USD).
[#Classifieds, #Affiliates, #Click Ads, #Shoutouts]
🤝 OpenLampTech earns a small commission (or payment/gain in some form) from many of these links. Your support helps keep the weekly OpenLampTech newsletter free for readers.
Take your Laravel applications to the next level with Battle Ready Laravel by Ash Allen. Learn how to improve the performance, maintainability, and security of your Laravel projects in this e-book.