mezon-cache (New)
Read more at https://www.phpclasses.org/package/11883-PHP-Store-and-retrieve-key-value-pairs-in-cache-files.html
WebP Images & WordPress: Why and How to Use Them (+Plugins) – Some tips for using this up-and-coming image format with WordPress.
What’s Missing From CSS? – A random look at responses to the annual CSS survey. See anything you agree with?
Scribbble – A writing tool that focuses on simplicity, so that you can focus on your work.
Finding Your Comfort Zone with Clients – Sharing some valuable lessons about gaining comfort and confidence with clients.
SVGBox – This API will make it dead-simple to include SVG icons in your projects.
Pattern Collect – Browse this curated gallery of patterns by awesome designers & illustrators.
How to Handle Scope Creep in Web Design – Learn how to identify and attend to potential scope creep situations immediately.
PHP 8: What’s New? (JIT Compiler, Attributes, and Other Features) – Get an upfront look at changes and some reasons why your WordPress site should be running PHP 8 when available.
Inline Menu Layout with Gallery Panel – Create an inline menu layout with a playful hover animation and a gallery content preview panel.
10 Things Front-End Developers Should Learn in 2021 – Essential skills to help you level up in the new year.
Seasonal.css – A CSS framework that displays a seasonal color scheme based on the date.
Diving into WordPress Custom Post Types and Taxonomies – Where a custom post type or taxonomy can be helpful, along with tips for making the most out of this feature.
Content Design Techniques for Strong Hierarchy on Content Layouts – Tips for making your content less overwhelming for users.
A Visual Guide to Regular Expression – Use this guide to develop a mental model for how regex patterns work.
macOS Big Sur Replacement Icons – A massive library of nearly 1,800 icons that are compatible with Photoshop, Sketch and more.
25 striking logo color schemes to inspire your branding – Learn how to thoughtfully choose logo color schemes based on your unique brand.
The 12 Best Photoshop Actions for Creating the Duotone Effect – Photoshop actions that can create a duotone effect in your photos and take them to the next level.
The post Weekly News for Designers № 567 appeared first on Speckyboy Design Magazine.
Here's what was popular in the PHP community one year ago today:
In this episode of "PHP Internals News" we're looking back at all the RFCs that we discussed on this podcast for PHP 7.4, but did not end up making the cut. In their own words, the RFC authors explain what these features are, with your host interjecting his own comments on the state of affairs.
The RSS feed for this podcast is https://derickrethans.nl/feed-phpinternalsnews.xml, you can download this episode's MP3 file, and it's available on Spotify and iTunes. There is a dedicated website: https://phpinternals.news
Hi, I'm Derick, and this is PHP internals news, a weekly podcast dedicated to demystifying the development of the PHP language. This is Episode 71. At the end of last year, I collected snippets from episodes about all the features that did not make it into PHP seven dot four, and I'm doing the same this time around. So welcome to this year's 'Which things were proposed to be included into PHP 8.0, but didn't make it. In Episode 41, I spoke with Stephen Wade about his two array RFC, a feature you wanted to add to PHP to scratch an itch. In his own words:
This is a feature that I've, I've kind of wish I would have been in the language for years, and talking with a few people who encouraged. It's kind of like the rule of starting a user group right, if there's not one and you have the desire, then you're the person to do it. A few people encouraged to say well why don't you go out and write it? So I've spent the last two years kind of trying to work up the courage or research it enough or make sure I write the RFC the proper way. And then also actually have the time to commit to writing it, and following up with any of the discussions as well.
I want to introduce a new magic method the as he said the name of the RFC is the double underscore to array. And so the idea is that you can cast an object, if your class implements this method, just like it would toString; if you cast it manually, to array then that method will be called if it's implemented, or as, as I said in the RFC, array functions will can can automatically cast that if you're not using strict types.
I questioned him on potential negative feedback about the RFC, because it suggested to add a new metric method. He answered:
Beauty of PHP is in its simplicity. And so, adding more and more interfaces, kind of expands class declarations enforcement's, and in my opinion can lead to a lot of clutter. So I think PHP is already very magical, and the precedent has been set to add more magic to it with seven four with the introduction of serialize and unserialize magic methods. And so for me it's just kind of a, it's a tool. I don't think that it's necessarily a bad thing or a good thing it's just another option for the developer to use
The RFC was not voted on and a feature henceforth did not make it into PHP eight zero.
Operator overloading is a topic that has come up several times over the last 20 years that PHP has been around as even an extension that implements is in the PECL repository. Jan Bøhmer proposed to include user space based operator overloading for PHP eight dot zero. I asked him about a specific use cases:
Higher mathematical objects like complex numbers vectors, something like tensors, maybe something like the string component of Symfony, you can simply concatenate this string object with a normal string using the concat operator and doesn't have to use a function to cause this. Most basically this
Truncated by Planet PHP, read more at the original (another 14876 bytes)