🐘 PHP Digest

49 result(s) for β€œdiscussion”

1
Static typing

There is some renewed discussion about introducing static typing in PHP. I just read one very interesting post: The Safyness of Static Typing which I suggest everybody that is interested in this topic should read (and the links there). You may agree or disagree, but it is worth …

Blogs php100.wordpress.com πŸ’¬ 6 Stas 143mo ago
3
When to declare classes final

TL;DR: Make your classes always final, if they implement an interface, and no other public methods are defined In the last month, I had a few discussions about the usage of the final marker on PHP classes. The pattern is recurrent: I ask for a newly introduced class to be declar…

Blogs ocramius.github.io 139mo ago
4
Announcing PHP TestFest 2017

For those who’ve been around the PHP community for a while, you’ll recall the successful PHP TestFest events that began after a discussion at PHP Quebec in 2008. Many user groups and mentors signed on to host and help with events, and a lot of folks became first-time contributor…

Blogs ben.ramsey.dev Ben Ramsey 109mo ago
5
Post-Open Source

I’m a tad late to this discussion, but I think it’s still pertinent today—perhaps even more so—and Jordi Boggiano’s recent post, “Common files in PHP packages,” got me thinking about the lack of open source licenses in public repositories. In his post, Jordi explains how he anal…

Blogs ben.ramsey.dev Ben Ramsey 124mo ago
6
Interview with Derick Rethans

Listen as host Khayrattee Wasseem talks with Derick Rethans – indepth xdebug & xdebug Cloud discussion, his role as Release Manager for PHP 7.4, feature freeze, his creative side and the rapid-fire round. @derickr Show Notes Derick Rethans on Twitter Derick Rethans' Web…

Blogs voicesoftheelephpant.com cal@voicesoftheelephpant.com (Cal Evans) 58mo ago
8
PHP 8.0: Object Initializer Proposal

In this article, we’re gonna demystify RFC: Object Initializer which was proposed by me up for discussion on PHP Internals. Motivation The motivation behind Object Initializer RFC was dictated by a large number of repetitions when creating simple objects like DTO and a lot…

Blogs brzuchal.com MichaΕ‚ Brzuchalski 82mo ago
9
Store Code Discussions in Git using Git Notes

Code discussions contain relevant information. Isn’t it a shame that we keep these in the centralized GitHub/GitLab servers, far away from our decentralized Git code? As soon as we move provider, we’ll lose all old discussions! And how do you ever find the pull requests back fro…

Blogs wouterj.nl Wouter de Jong 23mo ago
10
Deprecations are not like E_ERROR, E_WARNING, and E_NOTICE

Every now and then, there seems to be a lot of fuss in the PHP community about deprecations. In these discussions, deprecations are often discussed as if they are fatal errors. I think that is very wrong. Let’s reduce our expectations of deprecations. It’ll make everyones live m…

Blogs wouterj.nl Wouter de Jong 56mo ago
11
ES2015 `const` is not about immutability

This seems to be a very common misconception that just won’t die. I keep running into it in blog posts, Twitter discussions, and even books.

Blogs mathiasbynens.be Mathias 126mo ago
12
What are the chances that two random IDs are the same

Today, there was a discussion that we should use random IDs for some value. The maximum count is 100 million variations. Every day we generate about 3000 of those things. Given that our developers told me that it’s practically impossible that two items have the same ID in …

Blogs rarestblog.com Slava Vishnyakov 141mo ago
15
On PSR-7 middlewares

PSR-7 got released May 4, 2015. There is a discussion about middlewares based on PSR-7 messages, and it is awfully overdue. The most common middlewares in use since June 2015 are callables with this interface: They just work. I’ve been using them since June 2015. You can stack a…

Blogs hannesvdvreken.com 122mo ago
16
Work-in-progress Pull Requests

A while ago I saw a discussion on Twitter on when to open a pull request, when you’re done creating the changes, or when you start working on something? The latter is the preferred option, in my opinion. Crafting a PR is possible from the moment you do a first commit on a new br…

Blogs hannesvdvreken.com 136mo ago
17
The Best Possible Quality Tree Planting

Discussions around “tree planting” versus “natural regeneration” regularly pop up online, and it’s amazing to see more people getting interested in this previously rather obscure conversation. Campaigners have done an amazing job of getting nat…

Blogs philsturgeon.com Phil Sturgeon 23mo ago
18
Flow-Based Programming, a way for AI and humans to develop together

I think by now everybody reading this will have seen how the new generation of Large Language Models like ChatGPT are able to produce somewhat useful code. Like any advance in software development—from IDEs to high-level languages—this has generated some discussion on the future…

Blogs bergie.iki.fi Henri Bergius 40mo ago
19
Monthly contribution

We had our monthly contribution night. Nice little gathering, new and old attendees. Great discussions and finally managet to contribute my dev module back to the community. So - if you ever find yourself hammering Solr by using apachesolr module, and using views through apaches…

Blogs itarato.blogspot.com Anonymous 159mo ago
20
Drupal Innovation in 2024: the Contribution Health Dashboards

2023 has been an eventful year, full of ideas, discussions and plans regarding innovation, where Drupal is heading, and, in our case, how the Drupal Association can best support. On top of that, you may have already heard, but innovation is a key goal for the Drupal Association.…

Blogs drupal.org alexmoreno 29mo ago
21
Drawbacks behind Laravel Facades

There were many discussions if #Laravel’s facades implement Gang of Four’s Facade Pattern, but I think it does not matter at this point - the Laravel team won’t change naming convention anyway. Naming is not a problem, I see other issues with facades - let&rsqu…

Blogs blog.codito.dev 46mo ago
22
Helm vs Kustomize: Managing Complexity

When Kustomize came into the spotlight conversations quickly moved to compare it to Helm. We have it in our nature to debate tools. Just look at the long standing Vim vs Emacs debates. While these tools are really tangential to each other, there are elements to this discussion w…

Blogs codeengineered.com Matt Farina 97mo ago
24
Tests Don't Make Bad Code Good

Another day, another back and forth discussion on Twitter about the merits of software development. This morning, the topic was testing, and if having untested code inherently makes that code bad. It was all kicked off when our favorite PHP mentor @coderabbi linked to the follow…

Blogs jpbetley.com Phil Betley 130mo ago
25
The Great Facade

Last time, I wrote about the new PHP mocking framework, AspectMock, which added the ability to test static methods, something that was previously untestable. Also, recently several members of the PHP community got into a heated discussion about the use of statics in the popular …

Blogs jpbetley.com Phil Betley 152mo ago
26
SSH: jump servers, MFA, Salt, and advanced configuration

Let’s take a short break from our discussion of Vagrant to talk about how we use SSH in production at Fictive Kin. Recently, I went on a working vacation to visit my family in New Brunswick (think: east of the eastern time zone in Canada). While there, I needed to log in to a fe…

Blogs seancoates.com 119mo ago
27
Web developer

Over the weekend, I saw a discussion on Twitter about a particular developer who is worried about his future as PHP becomes less the de facto platform for all web development, and he moves to other technologies. (These are my words, and my interpretation, not his.) This got me t…

Blogs seancoates.com 166mo ago
28
Episode 59: Startup Lyfe - Part 2

Amanda Folson and Ben Edmunds are joined by Mike Wales, Chris Boden, and Daniel Cousineau once again, to finish our discussion about working at and founding startups. This is part two of two.

Blogs share.transistor.fm 93mo ago
29
Creating a Rust function that accepts String or &str

Russian Translation In my last post we talked a lot about using &str as the preferred type for functions accepting a string argument. Towards the end of that post there was some discussion about when to use String vs &str in a struct. I think this advice is good, but the…

Blogs hermanradtke.com Herman J. Radtke III 135mo ago
30
I Am a Web Application Developer

There's been a new discussion over what to call yourself when describing what you do as a developer. I've sort of even bloged about it in the past. Over the last year about 60% of my time was spent building front-end UX applications with Ember, 30% of my time was with Laravel bu…

Blogs ryantablada.com 143mo ago
31
Local state vs strict reactive centralized state

NOTE This article started as a reply to a Slack message but morphed into something larger. It is not a complete discussion, but just some thoughts I had around the topic of state management. View discretion is advised. With local state it is easy to modify things you shouldn't o…

Blogs ryantablada.com 117mo ago
33
frameworks are good

Some of the recent discussions in the PHP world are The Tribal Framework Mindset Decoupling your packages from your framework You don’t need a framework Frameworks for everyone Framework is not a bad idea # If you don’t use a framework, probably you will be using a bunch o…

Blogs harikt.com 151mo ago
34
JavaScript Template Literals are awesome

I had a recent discussion with one of the awesome developers at the FT - @bjfletcher. We were looking at how viable it would be to replace a templating language, like Handlebars with ES6 Template Literals, in some manner. Ben suggested it'd be a good idea to turn our discussion …

Blogs keithcirkel.co.uk Keith Cirkel 117mo ago