OpenLampTech

Share this post

OpenLampTech issue #37

openlamptech.substack.com

OpenLampTech issue #37

Laravel developer interview; MySQL generated columns; PHP cURL; Yii vs Laravel; PHP solutions to common problems; Thank you for reading OpenLampTech!

Joshua Otwell
Jul 29, 2022
1
Share this post

OpenLampTech issue #37

openlamptech.substack.com

Hey hey glad to have you here reading OpenLampTech! 👍

If someone shared this newsletter with you and you are not yet subscribed, please use the Subscribe button below and join:

Receive a free copy of my eBook, “10 MySQL Tips For Everyone” when you subscribe to the weekly OpenLampTech newsletter!

Recently Published on the Digital Owl’s Prose Blog

As powerful and useful as the CodeIgniter 4 Query Builder class methods and functions are, there are times when you need to hand-craft your own queries. Perhaps they are complex. Or, you would just rather write the raw SQL. Learn how to safely use the input you need – typically as part of the WHERE clause conditional(s) – using 2 different parameter binding variations with examples in MySQL.

Read, CodeIgniter 4 Query Parameter Binding with examples in MySQL, for more information.

Recently Published in the OpenLampTech Publication

This week was a busy week for the OpenLampTech publication.

Up first, I published a fantastic text-based interview with freelance Laravel web developer, Ash Allen. (Thank you, Ash!)

Read the full interview here:

OpenLampTech
Developer Interview with Ash Allen - OpenLampTech Exclusive
Hi and welcome to this OpenLampTech exclusive. In this newsletter, I'm sharing a fantastic text-based interview with freelance Laravel web developer, Ash Allen Having read a great deal of Ash’s quality newsletter content, blog posts, and tweets on PHP and Laravel over the past several months, I was absolutely ecstatic that Ash agreed to participate in thi…
Read more
8 months ago · 2 likes · 2 comments · Joshua Otwell

I also published the OpenLampTech WordPress Wednesday #5 for July 27th, 2022. There are several links to great WordPress-related content.

Find out more in the publication piece:

OpenLampTech
OpenLampTech WordPress Wednesday #5
WordPress is changing at such a pace that it's a full-time gig just keeping up with it. That’s where I come in and why you are here. I’m not a WordPress developer, professional, or guru. However, I am a WordPress blogger and user and I am interested in learning WordPress…
Read more
8 months ago · Joshua Otwell

Linux | Apache | MySQL/MariaDB | PHP

I have curated some fantastic reads for you this week. Let’s get to them!

Using cURL API calls with PHP

By: Shahzaib Khan

#php

cURL enables you to use different protocols to make a connection to and communicate with different servers.

This article provides examples of how to use cURL with its built-in PHP functions.

Examples for the GET, POST, PUT, and DELETE HTTP protocols are shown for clarity and understanding.

↗️ Read this article…

Design Patterns in PHP 8: Singleton & Multiton

By: Max Zhuk

#php

In this article, we see examples of both the Singleton and Multiton design patterns. Both patterns serve a different purpose however, they do somewhat resemble each other.

A common Singleton use case is for a single database connection instance while on the other hand, a Multiton could be used as a logger. Both of which are demonstrated in the code in this post.

↗️ Read this article…

Difference between Laravel and Yii

By: Vindaloo Softtech

#php #laravel #yii

Laravel and Yii are 2 popular PHP web development frameworks. While they may share some similarities - if nothing other than PHP - there are some differences. Here are some of their individual strengths and differences.

Laravel:

  • Artisan

  • Blade

  • Eloquent

Yii:

  • Code Generation

  • DBMS support options

  • In-depth knowledge base

↗️ Read this article…



Tackling 7 Common PHP Problems With Elegant Solutions

By: Dann

#php

Unfortunately, there are always common problems in programming. However, there are some solutions for them if we look hard enough.

Luckily, PHP has all kinds of solutions for common problems.

In this article, I like these PHP solutions (that I would do well to remember and use):

  • Using array_key_first() and array_key_last() to track the first and last iterations of a foreach() loop.

  • Using array_columm() to retrieve values from a single column in a multidimensional array.

↗️ Read this article…

The Laravel Ecosystem

By: Ash Allen

#php #laravel

Within pretty much any ecosystem there are terms and specific language jargon that many beginners may not know about or understand.

If you're looking for an overview of many of the packages and services available for Laravel, look no more.

Many popular services and packages are covered with information and typical use cases.

↗️ Read this article…

A Complete Guide to Generated Columns in MySQL

By: Arctype Team

#mysql

For better or worse, I'm using Generated Columns quite frequently in some applications to store specific summary data. I like Generated Columns because once the expression that defines the column data value is in place, it's pretty much 'set and forget' (at least for me).

There are 2 types of Generated Columns, Stored and Virtual.

Keep these pointers in mind, taken from this excellent article by Arctype:

  • "Think of a generated column as a sort of view but limited to columns."

  • "Similar to a normal column, but you cannot change its value manually."

  • "The generation expression can only involve immutable functions."

Similar: Exploring Generated Columns in MySQL with examples.

↗️ Read this article…

What is a cron job?

By: Mirza Bahic 

#linux

I use cron jobs quite a bit for maintenance-type tasks and also to process several CSV files located on the Linux server, with PHP scripts.

Cron might very well be the silent workhorse of your *nix system.

In this article, learn how to set up a cron job with examples for cPanel GUI, Plesk, and WordPress.

↗️ Read this article…


I discover many articles I read and share in the OpenLampTech newsletter on Medium. With a membership, you can read unlimited articles on the platform. Consider using my sign-up link to become a member, and at no extra cost to you, I will receive a portion of your membership fees which helps me continue publishing the OpenLampTech newsletter.


The Creat[ive][or] In Us

20 Git Commands Every Developer Should Know

"As a developer, I need to git it figured out."

How To Use FileZilla Like a Pro (and Resolve Errors Too)

"The unsung hero in my workflow."

Everyone talks about consistency. Nobody talks about this

"Consistency is but one part."

The 7 Best Landing Page Builders For 2022

"There are more options than just the popular one(s)."

60 Experts Share their Number 1. Growth Hacking Tip

"That's 60 #1's."


Thank you for reading OpenLampTech. This post is public so feel free to share it.

Share


How Can I Help You

  • Support OpenLampTech, my blog, and my work with a coffee if you like.☕

  • 📰 Get your brand, product, or service the attention it needs with affordable classified ad placement in the OpenLampTech newsletter.

  • Discover premium MySQL learning material over in my Kofi Shop today!

  • Some inspirational ‘Thank You’ cards are in this Etsy Shop.


Thank you for reading. I hope you have a great rest of your week.

Take care.

Joshua Otwell

Visit my developer blog, Digital Owl’s Prose, where I write regularly on CodeIgniter, PHP, WordPress, and SQL.


Want to support this newsletter and my work? Drop some spare change in my Tip Jar.💰

Tip Jar

Disclosure: Some of the services and product links in this email are affiliate links. At no additional cost to you, should you make a purchase by clicking through one of them, I will receive a commission.


Share this post

OpenLampTech issue #37

openlamptech.substack.com
Comments
TopNewCommunity

No posts

Ready for more?

© 2023 Joshua Otwell
Privacy ∙ Terms ∙ Collection notice
Start WritingGet the app
Substack is the home for great writing