PHP Find Text in Files
Read more at https://www.phpclasses.org/package/12288-PHP-Search-text-in-files-like-the-Linux-command.html#2021-11-14-10:00:53
Howdy, World!
Mark your calendars; it’s almost time for State of the Word 2021!
State of the Word is the annual keynote address delivered by the WordPress project’s co-founder, Matt Mullenweg. Every year, the event allows us to reflect on the project’s progress and the future of open source.This year will include that and more.
Due to the pandemic, we moved the State of the World online for the first time ever in 2020. This year, the event will be livestreamed from New York City .That will enable us to take as many folks as possible along for the ride!
Join Matt as he provides a retrospective of 2021, discusses the latest trends he’s seeing, celebrates the community’s amazing wins, and explores the future. Expect to hear about a range of topics, from WordPress 5.9 and Openverse to Web3 and non-fungible tokens (NFTs).
What: State of the Word 2021
When: December 14, 2021, between 10 am and 12 pm ET/3 pm and 5 pm UTC
How: If you’re watching from the comfort of your home or local watch party, the livestream will be embedded on wordpress.org/news.
Have a question for Matt?
State of the Word will be followed by a Question & Answer session. If you want to participate, you can either send your question ahead of time to ask-matt@wordcamp.org, or ask during the event in the livestream chat on YouTube.
If you’re new to State of the Word, the previous years’ recordings (below) will help you get a sense of what the event is about. Check them out:
We hope to see you online December 14th!
Thanks to @anjanavasan @eidolonnight @rmartinezduque for their work on this post. The featured image was created by @beafialho.
I am apparently late in coming to this trick, but PHP 8.1 is going to make it even nicer to use.
There's an interesting intersection of functionality in PHP:
That means you can do clever tricks like this (and some systems do, internally):
Continue reading this post on PeakD
I am apparently late in coming to this trick, but PHP 8.1 is going to make it even nicer to use.
There's an interesting intersection of functionality in PHP:
That means you can do clever tricks like this (and some systems do, internally):
Continue reading this post on PeakD
Showcode – Create beautifully-styled code snippets, then export them as an image with this handy tool.
Bootstrap Icons – A free, open-source library of 1,500+ icons to use in your projects (Bootstrap or otherwise).
10 Free WordPress Plugins for Extending BuddyPress and bbPress – Turn your WordPress website into an online community with these free plugins.
React Aria – A library of React Hooks from Adobe that provides accessible UI primitives for your design system.
Developer Tools secrets that shouldn’t be secrets – Get the inside scoop on what your browser’s developer tools are capable of.
8 CSS & JavaScript Snippets for Creating Incredible Lighting & Shading Effects – It’s now possible to add lighting and shading effects that are nearly on par with what we see in video games.
Spectrum – Add a base color and this tool will generate an entire palette for you.
A 10-step approach to inclusive branding, using the BBC as an example – A look at how the BBC put together its accessible branding.
GUI Challenges – A collection of solutions to common interface challenges.
Those Things You Must Do When Ending a Freelance Design Project – There are some important things that most designers never do when ending a freelance project. Here’s why you should make the effort.
Getting out of the Freelance Pricing Trap – Learn how to start charging what you’re truly worth.
Jam – This Chrome extension lets you give lightning-fast feedback on live websites without the frustration of screenshots.
HTML Forms Library – This library contains ready-to-use code for forms and works with popular frameworks.
CSS Buttons – Check out this open-source collection of button styles for every use case.
Despite Its Critics, jQuery Forges Ahead – The popular JavaScript library is still in active development and in use by three-quarters of the web.
FlowBite – This open-source library features 400+ web components built with Tailwind CSS.
How I made Google’s data grid scroll 10x faster with one line of CSS – This case study demonstrates the troubleshooting process and how to implement a solution.
The post Weekly News for Designers № 618 appeared first on Speckyboy Design Magazine.
Paradigm; a nice word that means "a theory or a group of ideas about how something should be done, made, or thought about" (Merriam-Webster). In software development we have them too. From the philosophy and history of science courses I've followed, I remember that scientists working with different paradigms have great difficulty understanding each other, and appreciating each other's work.
An example of a paradigm is the theory that the sun revolves around the earth. To a certain extent this is a fruitful theory, and it has been used for thousands of years. There's of course another paradigm: the theory that the earth revolves around the sun. This is also a fruitful theory, and it can be used to explain a lot of observations, more than the previous theory. Still, people got angry with each other for moving the earth out of the center of the universe. Paradigm changes, or shifts, occur when the old theory has been stretched too much. It becomes impossible to hold on to it. Then some people start to experiment with a completely different paradigm, one that sounds totally weird, but in the end proves to have more power.
Now back to software development: we have paradigms and paradigm shifts too. For example, PHP went from being a very dynamically typed language to being a more statically typed language. This is weird for some, but great for others since it unlocks new possibilities, like static analysis and automated refactoring.
Another paradigm shift happened years ago when we went from symfony1 to Symfony 2, which introduced the Dependency Injection container. The idea of Dependency Injection was quite new to many developers back then, and we had to talk and read about it a lot before we were ready for this amazing yet weird concept. What got in the way of adoption, I think, was the Yaml or XML syntax for service definitions, an approach that was probably copied from Spring. If we'd start by writing our own service containers in plain PHP, that would've been much easier to learn and do.
What's interesting to me is that Symfony's first DI container was showing some influence from the old paradigm, e.g.
Nevertheless, we got a taste of DI: expect your dependencies to be injected, instead of having to fetch them yourself. This changes everything!
I was totally convinced that the Dependency injection paradigm was a step forward, out of the land of unclear dependencies and tightly coupled classes. And I thought every other developer would like it too. Surprisingly, the introduction of a new framework - Laravel - revived the old paradigm, and with great success. It's surprising because a paradigm shift isn't often reverted. In science, the paradigm shift indicates a step forward, towards a theory that can explain more phenomena than the previous paradigm could. In programming, it turns out, you can have developers working with different paradigms, and even arguing that neither of those paradigms is a step forward compared to the other.
When I, as a developer from the DI paradigm, talk to someone who uses another paradigm, I find it really hard to come to some form of understanding. The assumptions, the goals, the theories that each of us uses, are very different. I find this very hard to deal with. We talk about a piece of code and I see lots of problems with it, but there is no common ground that can help us settle the debate. Personally I'm sad about this, because I don't really know how to improve the situation. You can keep fighting, and this happens a lot (e.g. on Twitter, Reddit), but since developers use completely different paradigms, I think that produces only negativity. In the case of "S
Truncated by Planet PHP, read more at the original (another 1699 bytes)
Each year, members of the WordPress community (users, site builders, extenders, and contributors) provide their valuable feedback through an annual survey. Key takeaways and trends that emerge from this survey often find their way into the annual State of the Word address, are shared in the public project blogs, and can influence the direction and strategy for the WordPress Project.
Simply put: this survey helps those who build WordPress understand more about how the software is used, and by whom. The survey also helps leaders in the WordPress open source project learn more about our contributors’ experiences.
To ensure that your WordPress experience is represented in the 2021 survey results, take the 2021 annual survey now.
You may also take the survey in French, German, Japanese, Russian, or Spanish. These are the top five languages (other than English) based on the number of WordPress locale downloads. For 2022, additional languages may be considered for translation.
The survey will be open through the end of 2021, and the results will be published in a future post on this blog for anyone to view. Next year, there will be a new format for this survey, including which segments and questions are included, so that your valuable time spent responding results in equally valuable information.
For the 2020 survey, more than 17,000 responses were collected, representing the highest submission volume in four years, up three times from the prior year. In the inaugural year of the survey (2015), over 50,000 responses were collected. Given the reach and adoption of WordPress, there is significant significant number we have not reached. As you take the 2021 survey, consider sharing the link on social media and with other colleagues who use WordPress. Gathering feedback from more folks who benefit from WordPress will strengthen our project.
The 2020 survey results show that the pandemic has had a major impact on how we operate as a community. With few in-person events, many community members continue to find it challenging to balance community contributions with their own personal and professional obligations.
Data security and privacy are paramount to the WordPress project and community. With this in mind, all data will be anonymized: no email addresses nor IP addresses will be associated with published results. To learn more about WordPress.org’s privacy practices, view the privacy policy.
Like last year, the 2021 survey will be promoted via a banner on WordPress.org, and throughout the make blogs. However, taking a moment to amplify these posts through your own social media and Slack accounts will ensure broader participation. Each of the translated surveys will be promoted through banners on their associated localized-language WordPress.org sites.
Thanks to @dansoschin for the initial draft of this post, and to @annezazu & @zackkrida for review!