It's worth differentiating here between general "caching plugins" (which vary wildly in terms of quality for sure) and "object caching". Object caching is a system in WP which offloads database queries to a key-value store, typically memcache or Redis.
Excimer is a sampling profiler, so it basically takes a snapshot of what your callstack is every X milliseconds. This is different to a tracing profiler, which inserts itself into every function call to record enter/exit of that function. This makes it possible to run in production on every request rather than just sampled ones.
If you're interested in WordPress conferences, there's often local WordCamps, and there's three flagship regional events (WordCamp US, WordCamp Europe, WordCamp Asia) - Europe is coming up in about a month's time (5-7 June). Come say hi if you're there! :)
I think so; given they’re using the patches config already, presumably they know about the package. The diff invocation is a bit magic, and all the prep work can be a bit of a pain - particularly for developers who aren’t used to running diff directly (instead of via git)
That’s how to use them, but (as I also discovered when explaining this to colleagues) the docs on actually creating the patches are effectively non-existent. (ie precise format, relative locations for files, step-by-step process)
Ironically, I was going to suggest a patch for the docs to add this.
Thanks for the kind words. I put a lot of thought into every word I published about this, and intentionally avoided any sort of charged or aggressive language - but ultimately thought it was important that someone state this opinion, as it impacts us all.
We have to have a community in which we can politely, respectfully disagree with each other. That's how open source works.
Requests was created in 2012, and the API has not changed since then, as neither WordPress nor Requests historically broke backwards compatibility. (Requests does now use namespaces, but the API has not changed otherwise.)
Hi, I wrote this library! It predates PSR-7, which is why it’s not a key part of the library itself. PSR-7 also requires (iirc) namespaces, which were an issue with compatibility in WordPress’ supported versions at the time.
(I no longer maintain the library, but retrofitting it would likely break some back compat, and there’s already other packages that implement it, so that may be why it hasn’t been added.)
This is something that’s unlikely to be a one line change. In this case, it’s less about whether you know PHP and much more about how the internal systems in WordPress (and that plugin) work.
Generally, whenever you use a framework, application like WordPress, or any libraries, you have to work within that system and will need to understand how it works to be productive; that’s quite different to whether you know PHP or not, although PHP knowledge will be a prerequisite to learning it by reading the code.
——
When you say “filtered”, how do you see this working? Are you thinking of a list of all members (i.e. a member directory) that is then filtered?
Does ARMember come with a members directory? Is that already filterable, or would you have to create the filtering yourself?
Breville licensed their brand to a British company before they entered the market themselves. That’s why there’s still a Breville brand in the UK as well.
(Also why all the “designed by Heston Blumenthal” stuff is ridiculous; they’re all designed by Breville in Australia.)
Hey, great to hear you’re reading our (Human Made) blog! Let me know if there’s any particular topic you’d like us to write about, and I’ll try and rustle up some of my colleagues to make it happen. :)
I can also highly recommend the Delicious Brains blog, which has some great write-ups.
As far as I can tell, it’s an iMessage extension. Assuming it’s similar to other extensions, the memory is severely limited, and you likely won’t be able to use React Native. (I imagine the same for any of the other large game engines.)
One of the biggest advantages is that essentially every hosting environment has PHP available. There’s no complex build or deployment process, just upload the source files and you’re done.
If you want to develop something that everyone can run, PHP is probably the best language to use.
This advantage is becoming less important with the rise of containerisation and the like, but the vast majority of people are still hosting their sites on traditional shared hosting.
It's worth differentiating here between general "caching plugins" (which vary wildly in terms of quality for sure) and "object caching". Object caching is a system in WP which offloads database queries to a key-value store, typically memcache or Redis.
https://scalewp.io/object-caching/ has some info (albeit a bit out of date).
Running WP at high scale, you generally want to use it to reduce your database load where you can.
Yep: https://wptavern.com/why-nasa-chose-wordpress-for-revamping-its-flagship-website
Excimer is a sampling profiler, so it basically takes a snapshot of what your callstack is every X milliseconds. This is different to a tracing profiler, which inserts itself into every function call to record enter/exit of that function. This makes it possible to run in production on every request rather than just sampled ones.
eg, Wikimedia runs it on Wikipedia et al to collect about 3 million traces a day; we run it for profiling every request on an enterprise hosting platform.
Kind of a fun circle, since JSX (which React pioneered) has its origins in the XHP PHP extension :D
If you're interested in WordPress conferences, there's often local WordCamps, and there's three flagship regional events (WordCamp US, WordCamp Europe, WordCamp Asia) - Europe is coming up in about a month's time (5-7 June). Come say hi if you're there! :)
Joost does not run Yoast, and has not for years; he sold it to Newfold.
I think so; given they’re using the
patchesconfig already, presumably they know about the package. Thediffinvocation is a bit magic, and all the prep work can be a bit of a pain - particularly for developers who aren’t used to running diff directly (instead of via git)That’s how to use them, but (as I also discovered when explaining this to colleagues) the docs on actually creating the patches are effectively non-existent. (ie precise format, relative locations for files, step-by-step process)
Ironically, I was going to suggest a patch for the docs to add this.
Thanks for the kind words. I put a lot of thought into every word I published about this, and intentionally avoided any sort of charged or aggressive language - but ultimately thought it was important that someone state this opinion, as it impacts us all.
We have to have a community in which we can politely, respectfully disagree with each other. That's how open source works.
You can use https://github.com/humanmade/Mercator for mapping multiple domains to a single site - be aware that WordPress doesn't love when you do it.
Alternatively, if you wanted to do something like /u/MattReinholz suggests with syncing, https://distributorplugin.com/ by 10up is great.
Sidenote: we're also planning on dropping 7.0 and 7.1 in the next major version.
Relatedly, we've had great experiences with https://github.com/davidcole1340/ext-php-rs for writing extensions in Rust.
Requests was created in 2012, and the API has not changed since then, as neither WordPress nor Requests historically broke backwards compatibility. (Requests does now use namespaces, but the API has not changed otherwise.)
Hi, I wrote this library! It predates PSR-7, which is why it’s not a key part of the library itself. PSR-7 also requires (iirc) namespaces, which were an issue with compatibility in WordPress’ supported versions at the time.
(I no longer maintain the library, but retrofitting it would likely break some back compat, and there’s already other packages that implement it, so that may be why it hasn’t been added.)
This is something that’s unlikely to be a one line change. In this case, it’s less about whether you know PHP and much more about how the internal systems in WordPress (and that plugin) work.
Generally, whenever you use a framework, application like WordPress, or any libraries, you have to work within that system and will need to understand how it works to be productive; that’s quite different to whether you know PHP or not, although PHP knowledge will be a prerequisite to learning it by reading the code.
——
When you say “filtered”, how do you see this working? Are you thinking of a list of all members (i.e. a member directory) that is then filtered?
Does ARMember come with a members directory? Is that already filterable, or would you have to create the filtering yourself?
Never heard of this before, so decided to check the site, and disappointingly the link to "smart cache" under performance is a 404.
Breville licensed their brand to a British company before they entered the market themselves. That’s why there’s still a Breville brand in the UK as well.
(Also why all the “designed by Heston Blumenthal” stuff is ridiculous; they’re all designed by Breville in Australia.)
It's a WordPress function used for translation: https://codex.wordpress.org/I18n_for_WordPress_Developers
Mainly it helps with diffs. When you add a new item to a list, without trailing commas, the diff looks like:
With trailing commas, it looks like:
Hey, great to hear you’re reading our (Human Made) blog! Let me know if there’s any particular topic you’d like us to write about, and I’ll try and rustle up some of my colleagues to make it happen. :)
I can also highly recommend the Delicious Brains blog, which has some great write-ups.
As far as I can tell, it’s an iMessage extension. Assuming it’s similar to other extensions, the memory is severely limited, and you likely won’t be able to use React Native. (I imagine the same for any of the other large game engines.)
One of the biggest advantages is that essentially every hosting environment has PHP available. There’s no complex build or deployment process, just upload the source files and you’re done.
If you want to develop something that everyone can run, PHP is probably the best language to use.
This advantage is becoming less important with the rise of containerisation and the like, but the vast majority of people are still hosting their sites on traditional shared hosting.
That is definitely not the case, the WordPress minimum version is still 5.2.4, although we recommend 7.0+.
FWIW, WordPress usage stats.