November 8, 2024 Heydon blogged about and Michelle blogged our collective sigh at how unfortunately hard the simple act of quoting something is. You’re not supposed to put a inside the which I find obnoxious especially because the screenreader situation seems fine with that pattern (this WordPress blog does it that way by default). Adrian doesn’t like the with approach (too verbose) but that’s what Heydon recommends. Since this is conflict, it’s Priority of Constituencies of time: In case of conflict, consider users over authors over implementors over specifiers over theoretical purity. Since it seems to be a good option…
Author: drweb
About Restaurant.com Restaurant.com is the go-to destination for dining deals, offering exclusive savings at thousands of restaurants across the U.S. We provide a seamless and scalable e-commerce experience, connecting consumers with great local dining options. Our team focuses on innovation, reliability, and delivering a best-in-class user experience. The Role We are looking for an expert Full Stack Developer with deep experience in Laravel, LAMP stack, and AWS. You will be responsible for developing, optimizing, and maintaining our platform, working alongside a high-performing team to enhance Restaurant.com’s web and e-commerce infrastructure. You must be a U.S. citizen and reside in the U.S. (Chicago…
Welcome to the September edition of PHP Annotated! After a brief summer break, we’re back with all things PHP. This recap is carefully handcrafted and brings you the most interesting developments in the PHP community over the past couple of months, so you don’t have to sift through the noise—we’ve done it for you. @media (min-width: 769px) { main .article-section .content ul:not([class]):not([id]) li ul:not([class]):not([id]) { margin-top: 0; margin-bottom: 24px; } } main .article-section .content ul:not([class]):not([id]) li, main .article-section .content ul:not([class]):not([id]) > li {padding-bottom: 18px;} main .article-section .content ul:not([class]):not([id]) li ul:not([class]):not([id]) li {padding-bottom: 0;} img.alignico {margin-right: 10px;margin-top: 5px;float: left;} summary {display:…
List of PHP native interfaces, and their implementation This is the list of PHP native interfaces, and their implementation as native classes. This was extracted from the PHP 8.3 source code, with Reflection. Each link leads to the documentation. It is based on a standard PHP 8.3 distribution, plus a few extensions. Interfaces that are not implemented are not listed here (like BackedEnum) and classes that do not implements any interface are not listed here either (like, Stdclass). ArrayAccess (13) WeakMap CachingIterator RecursiveCachingIterator ArrayObject ArrayIterator RecursiveArrayIterator SplDoublyLinkedList SplQueue SplStack SplFixedArray SplObjectStorage Phar PharData Countable (24) WeakMap DOMNodeList…
Misalignment between engineers and their leaders is possibly the leading cause of a sub-optimal developer experience and, consequently, poor productivity. See for yourself here Thankfully, we have moved on from a time when a positive developer experience meant buying a few ping-pong tables and ordering pizza on a Friday. Leaders understand that improving developer experience is about removing friction from the developer’s daily work and is a key input to productivity and retaining talent. But how closely do leadership attitudes match with what developers experience? We partnered with DX, an engineering intelligence platform that leading companies use to measure and…
In the digital dojo of web development, the ancient scrolls of CSS and the martial arts of front-end development have been defending the realms of aesthetics and interactivity with honor and valor. But as the cyber winds change, whispering tales of AI and automation, a question arises from the depths of the internet: Will CSS and front-end development still be the heroes of the web, or will they fade into the annals of history, replaced by machines and algorithms? A Brief History of Web Kung Fu Let’s kick it back to the ’90s, a time when websites were the Wild…
I had a fella email me a line of text almost just like this: 𝐂𝐚𝐥𝐥𝐞 𝐁𝐥𝐚𝐧𝐜𝐨𝐬, 𝐂𝐨𝐬𝐭𝐚 𝐑𝐢𝐜𝐚 He said he could not remove that formatting no matter what he did. It looks kinda bold, doesn’t it? And set into a serif font. You’d think you could select it in the text editor you’re in and remove that formatting. He said he tried copy/pasting it into places where no text formatting is even allowed, like in VS Code or the URL bar of a browser. Voodoo, he said. Here’s the thing: that text isn’t formatted. That first “C” you see…
Early Access Program We’re opening the Early Access Program (EAP) for the PhpStorm 2024.3 that will have native support of PHP 8.4. Join the program and try out some of the newest additions and improvements today! New classes without parentheses PHP 8.4 introduces a new syntax improvement allowing instantiation of classes without parentheses. PhpStorm now fully supports this feature, making it easier for developers to adopt this cleaner, more concise syntax. Before: $request = (new Request())->withMethod(‘GET’)->withUri(‘/hello-world’); After: $request = new Request()->withMethod(‘GET’)->withUri(‘/hello-world’); This automatic conversion makes it faster to upgrade existing code to PHP 8.4’s new syntax style. New array functions…
I’ve heard this question several times over the past few weeks, so I’m writing a blog post about it. At first, I saw this question as similar to asking someone, “What is your favorite color?” because I believe that every single person/dev team has their own opinions and preferences.That said, I realized people ask that question because of possible misconceptions about how Angular works, making this topic much more interesting. Also, we’re lucky enough to have an official Angular style guide to help us make informed decisions about it.Here is my take on that topic in a Q&A format:To the…
When running queries in SQL Server, small changes in query design can lead to big differences in performance. Today, we’re looking at the hidden costs of using TOP versus TOP PERCENT clauses. Even if the results appear the same, the underlying performance can vary significantly.What Causes TOP PERCENT to Cost More?The higher cost of TOP PERCENT queries can be explained by:Sorting Requirements: SQL Server often needs to sort the entire dataset to calculate percentages.Worktable Creation: Sorting operations may use temporary worktables, adding overhead.Full Dataset Evaluation: Unlike TOP n, which can stop early, TOP PERCENT processes the entire dataset to ensure…
