Magento Development Blog - Page 8 | Magento Company

Blog

Guides, tutorials and best practices from the Magento Company team.

Check if String starts with string
Security API

Check if String starts with string

Mastering String Prefixes in PHP: How to Check if a String Starts With Another As developers, we spend a significant amount of time dealing with

20 October 2026 · Stefan Bogdanescu
Add AS-Expression to selected columns in getCollection()
Catalog Database

Add AS-Expression to selected columns in getCollection()

Solving Collection Sorting Challenges: Adding AS Expressions Dynamically As a senior developer, I often encounter complex data manipulation

20 October 2026 · Stefan Bogdanescu
PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 16777216 bytes)
API Extensions

PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 16777216 bytes)

Debugging PHP Fatal Error: Composer Memory Exhaustion on Large Systems As a senior developer, I’ve seen countless frustrating errors pop up during

20 October 2026 · Stefan Bogdanescu
How do I filter a collection by a YesNo type attribute?
Catalog PHP

How do I filter a collection by a YesNo type attribute?

Filtering Collections by Yes/No Attributes: A Comprehensive Guide As an experienced developer, I often encounter situations where we need to

20 October 2026 · Stefan Bogdanescu
Json giving 301 Moved Permanently
API Errors

Json giving 301 Moved Permanently

Understanding the HTTP Redirect Trap: Why a 301 Breaks Your AJAX Requests As senior developers, we spend a lot of time dealing with the nuances of

20 October 2026 · Stefan Bogdanescu
how to create print view with A4 page size and fix border per page
Database PHP

how to create print view with A4 page size and fix border per page

Mastering Print Layouts: Creating A4 Pages with Fixed Borders using HTML and CSS As developers, we often deal with the challenge of taking dynamic

20 October 2026 · Stefan Bogdanescu
Failed to restart mysql.service: Unit mysql.service is masked in Ubuntu 20.04 after an upgrade from 18.4
Database Security

Failed to restart mysql.service: Unit mysql.service is masked in Ubuntu 20.04 after an upgrade from 18.4

Title: Failed to Restart MySQL: Unit Masked Issue After Ubuntu Upgrade from 18.4 to 20.04 Introduction: Upgrading your operating system can bring about

20 October 2026 · Stefan Bogdanescu
How can I set option value selected in v-select in vue.js 2?
Database API

How can I set option value selected in v-select in vue.js 2?

Mastering Selection: How to Set Option Values in v select with Vue.js 2 As developers working with component libraries like Vuetify,

20 October 2026 · Stefan Bogdanescu
Array into chunks and results by chunks in a new line with php
API PHP

Array into chunks and results by chunks in a new line with php

Mastering Array Chunks: How to Format Data Line by Line in PHP As developers, we frequently deal with raw data structures, and one common task is taking

20 October 2026 · Stefan Bogdanescu
Why isn't my nginx web server handling ttf fonts?
Security API

Why isn't my nginx web server handling ttf fonts?

Why isn't my Nginx web server handling TTF fonts? A Deep Dive into CORS and MIME Types As a senior developer working with modern web stacks, we

20 October 2026 · Stefan Bogdanescu
Create Carbon date with string
PHP Orders

Create Carbon date with string

Title: Create Carbon Date Object from String for Decremental Pagination Introduction Carbon is a great PHP library that provides powerful date

20 October 2026 · Stefan Bogdanescu
PHP client Web socket to send messages
PHP Errors

PHP client Web socket to send messages

This is a common point of confusion when dealing with WebSockets in PHP. While PHP is excellent for server side logic, implementing complex, stateful

20 October 2026 · Stefan Bogdanescu

Our network