PHP

edorian,
@edorian@phpc.social avatar

Back from vacation and excited to announce that we, over at , now fully support

https://www.linkedin.com/posts/tideways-gmbh_frankenphp-activity-7191031503009587202-qUFj

It's great to see the ecosystem grow and prosper and I believe proper tool support and performance insights will only help when it comes to choosing the right tool for your job.

It's been a bit of a struggle getting everything to work for me, but thanks to our C specialists all the test scenarios I wrote along the way are now passing, including

mobileatom,
@mobileatom@flipboard.com avatar

How to Validate Emails in PHP: regex, filter_var(), and API Explained.

https://mailtrap.io/blog/php-email-validation/?utm_source=flipboard&utm_medium=activitypub

Posted into SYMFONY FOR THE DEVIL @symfony

preinheimer,
@preinheimer@phpc.social avatar

Hey PHP Folks, question for you!

Back in the early 2000s, I feel like there was two big PHP development methodologies.

The "Yahoo! System" where they did all their front end in PHP, and had a lot of built in extensions to handle their business logic.

The "Facebook System" that used PHP for everything.

Is anyone still using the Yahoo! system? Do they talk about it much?

preinheimer,
@preinheimer@phpc.social avatar

@mwop Right!

If I had a nickel every time I begged someone not to try to replace a legacy system all at once, but instead to attack bits and pieces in a logical way by working with the data... well a nickel isn't worth much, but I could certainly afford to tip after buying a really fancy cup of coffee.

sean,
@sean@scoat.es avatar

@preinheimer @mwop I’m not suggesting you haven’t read this… but if you haven’t, I am suggesting that you do: https://www.goodreads.com/book/show/54716655-kill-it-with-fire

typo3, German
@typo3@typo3.social avatar

Release Tuesday!

ℹ️ TYPO3 13.1.1, 12.4.15 and 11.5.37 security releases published
https://typo3.org/article/typo3-1311-12415-and-11537-security-releases-published

ℹ️ TYPO3 9.5.48 and 10.4.45 Released
https://typo3.com/blog/typo3-9548-and-10445-elts-released

All versions are security and contain important security fixes. 🚀

image/jpeg

nette_news,
@nette_news@phpc.social avatar

📝 Group and Sort Data in Latte Templates Like a Pro

In the latest update of Latte, we are introducing several significant enhancements that will simplify and make more efficient the work with data in your templates.

https://blog.nette.org/en/group-and-sort-data-in-latte-like-a-pro

jclermont,
@jclermont@phpc.social avatar

Here's a quick write-up of why I avoid logic inside my tests https://masteringlaravel.io/daily/2024-05-14-avoid-logic-inside-your-test

f_lombardo, Italian
@f_lombardo@phpc.social avatar
ramsey,
@ramsey@phpc.social avatar

@f_lombardo I wonder how standard Zend PHP compares or why they chose not to compare it.

devstory, Czech
@devstory@mastodonczech.cz avatar

phpFashion.com ( @davidgrudl ) - How to Handle Getters When They Have Nothing to Return?

https://phpfashion.com/en/how-to-handle-getters-when-they-have-nothing-to-return

wowa_TYPO3, German
@wowa_TYPO3@techhub.social avatar

🚀 Neue Sicherheits- und ELTS-Updates für ! Halte deine Website sicher und aktuell mit den Versionen 13.1.1, 12.4.15, 11.5.37, 9.5.48 und 10.4.45.
Details: https://wwagner.net/blog/a/mehr-sicherheit-fuer-typo3-neue-updates-und-elts-versionen-verfuegbar

itsjoshbruce,
@itsjoshbruce@phpc.social avatar

It’s been so long since I did anything with authenticated users, curious about “modern” patterns and standards.

Specifically, an authenticated user wants to do something. What patterns and standards are you using for permissions?

I’m seeing middleware mentions. But, curious what else is out there. Not looking for “use Framework X” and should be testable. Doesn’t need to be web-specific as I’m just looking for patterns and standards.



itsjoshbruce,
@itsjoshbruce@phpc.social avatar

@oliver: Right in. Is it the user or the request falling through the middleware checks?

oliver,
@oliver@phpc.social avatar

@itsjoshbruce it's the request (route or route group middleware). Authenticated user is set early to the container and then various areas are protected based on the user's roles. Of course, there are more detailed checks later in the flow (e.g. parts of the interface are hidden or different depending on role/permissions). Middleware is stopping the unintended actions, like playing with URLs to access what's not supposed to be seen or actioned on.

froemken, German
@froemken@mastodon.social avatar

Hab ne Dokumentation über die Site Set Definitionen aus 13.1 geschrieben. Geiles Zeug:

https://www.typo3lexikon.de/typo3-tutorials/core/systemextensions/core/site/site-sets/

Mein PR mit weiteren Infos für die offizielle Doku wurde gestern gemerged.

https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ApiOverview/SiteHandling/SiteSets.html

Danke Lina für Deine Arbeit und Deinen Support

brotkrueml,
@brotkrueml@phpc.social avatar

Another extension of mine supports the brand new site sets introduced with v13.1 💪: "Form Rate Limit", which provides a form finisher that limits the number of submissions of a form.

https://extensions.typo3.org/extension/form_rate_limit

If you don't know site sets, here you go 📘:
https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ApiOverview/SiteHandling/SiteSets.html

mobileatom,
@mobileatom@flipboard.com avatar

PHP isn't the worst programming language, so why do so many people criticize it?

https://dev.to/lunamiller/php-isnt-the-worst-programming-language-so-why-do-so-many-people-criticize-it-48ph?utm_source=flipboard&utm_medium=activitypub

Posted into SYMFONY FOR THE DEVIL @symfony

SenseException, German
@SenseException@phpc.social avatar

Before Deployer was used everywhere, I used Magallanes for deploying applications.
https://magephp.com

thepanz,
@thepanz@phpc.social avatar

@SenseException I have been there too, and moved to Deployer after a short time.
Was quite challenging to follow with their development branches proposing fixes or new features.
I had a couple of PRs open... but lost traction, and switched to Deployer :)

sarah,
@sarah@phpc.social avatar

Have you gotten a FREE copy of my book, Mastering Object-Oriented PHP, yet? You can get yours at https://masteringobjectorientedphp.com

cxj,
@cxj@phpc.social avatar

@sarah Thank you for your generosity.

sarah,
@sarah@phpc.social avatar

@cxj absolutely!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • php
  • kavyap
  • thenastyranch
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • magazineikmin
  • InstantRegret
  • Youngstown
  • vwfavf
  • slotface
  • everett
  • osvaldo12
  • rosin
  • khanakhh
  • megavids
  • tester
  • Durango
  • tacticalgear
  • GTA5RPClips
  • cisconetworking
  • ethstaker
  • cubers
  • normalnudes
  • modclub
  • provamag3
  • Leos
  • anitta
  • JUstTest
  • All magazines