When it comes to accessibility, designers tend to focus on colors (i.e. contrast) and UX copy (i.e. wording), whereas developers tend to focus on ARIA attributes (i.e. code that makes websites more accessible). This is due to the fact that, often enough, thick lines are drawn between “who does what”. […]
Daily Archives: February 28, 2020
I’m not saying this is a good idea, but it’s an idea. 😉 Problem: array in PHP does not communicate intent well, especially it’s not clear if it’s a list or a hash map. Solution: Run this: use ArrayObject as dict; use SplDoublyLinkedList as dlist; // Better name? use SplFixedArray […]
I don’t want to load the product to get the product type. How could I get the product type by id? Today I’m using the get product type by SKU using the interface: MagentoInventoryCatalogApiModelGetProductTypesBySkusInterface Using: $this->getProductTypeBySku->execute([$item->getSku()])
This is a regarding a Magento 2.3.3 running on Digital Ocean’s server 4GB memory droplet, which should be plenty as it is the only thing hosted on there. However, I have observed since upgrade to 2.3.3 from 2.3.0, there are some instability in memory usage which then leads to the […]