Techie-Jim.net

Personal blog about web development (PHP, Symfony, WordPress and JavaScript), food and fitness.

  • Delicious 30-minute Honey Garlic Salmon Stir-Fry

    Delicious 30-minute Honey Garlic Salmon Stir-Fry

    This sweet and savory dish is perfect for a night in. Put on a movie, bring some friends and share a delicious meal. This honey garlic salmon stir-fry an easy recipe that doesn’t take long to make. The rice will take the most time to cook but can be a cinch when using a rice…

  • Spinach Stuffed Chicken

    Spinach Stuffed Chicken

    Spinach Stuffed Chicken Recipe This recipe is quick and easy and includes common garden herbs. I used some fresh cherry tomatoes and basil from my garden (shredded the leaves into small pieces and sprinkled them into the ingredients). There is only about 10 minutes of prep and 20 minutes of cooking (depending on oven and…

  • Responsive Background Images Part 2: Harnessing element() For The Future

    In the first part, Responsive Background Images With or Without image-set(): The Proven Way looked at the current way to make background images responsive. It is not without it’s down sides. I will discuss these and present a new way to use an img tag, or any tag, as a responsive – and even dynamic…

  • Tuscan Salmon & Mushroom Risotto With Feta Cheese

    Tuscan Salmon & Mushroom Risotto With Feta Cheese

    This recipe for Tuscan salmon & mushroom risotto with feta cheese is actually fairly common. However, like most recipes involving a sauce, it never produces enough. I end up lacking enough sauce for multiple servings. I have modified and added some additional ingredients to add my own flair and to make sure there is enough…

  • Responsive Background Images With or Without image-set(): The Proven Way

    Responsive Background Images With or Without image-set(): The Proven Way

    Do a search for “responsive background images” on the web. Go on and do the search, I’ll wait. Oh, you’re back. Notice anything strange? For example, nobody can decide on what this means, how to do it, or even how to do it easily? You’re not alone. Fact is, the vast majority of sites have…

  • IMG Sizes Attribute Explained: Boosting Image Optimization

    IMG Sizes Attribute Explained: Boosting Image Optimization

    Your template’s design layout often has images that do not fill the entire width of all devices your visitors may be using. CSS’s grid layouts and flexbox layouts allow even greater control over the design of websites. Using img sizes attribute to hint to the browser the maximum size the image will render at allows…

  • PHP INTL: Fix Missing Or Incorrect Time-zone Offset

    PHP INTL: Fix Missing Or Incorrect Time-zone Offset

    The INTL extension is great for showing translated strings as well as formatting dates and numbers in a way users in different locales expect. But sometimes IntlDateFormatter outputs something that isn’t correct or throws an error. Questions about incorrect or missing time-zone offsets are showing up more often. Let’s go over why that is and…

  • PHP INTL In-Depth: Convert Numbers to Roman Numerals

    PHP INTL In-Depth: Convert Numbers to Roman Numerals

    In this PHP INTL In-Depth look, you will understand how to convert integer numbers to Roman numerals (1 => I, 2 => II, 3 => III, etc). There are a few different functions floating around the web on Stack Overflow and blogs. They use an array of values to convert numbers to Roman numerals, but…

  • Eight-layer Bars, A Christmas Favorite

    Eight-layer Bars, A Christmas Favorite

    The title says eight layers… but technically they are seven-layer bars. However, I always make them with at least eight layers, or nine, or ten, or eleven. Regardless of how many layers they have, they are a delicious treat that kids and adults will love eight-layer bars. They are a favorite around the holidays. My…

  • PHP 8.2’s Subtle New Features

    PHP 8.2’s Subtle New Features

    PHP version 8.2 was released on December 8, 2022 and I’m sure you’ve already heard about the great new features. The Randomizer & random generator engines classes, DNF types; constants within traits; the sensitive parameter trait; static return types for dates; the n regular expression modifier; false, true, and null types; the readonly class modifier,…