PHP

cybersmog,
@cybersmog@phpc.social avatar

With the help of the new Site Sets in v13.1 I finally got rid of the last TypoScript template in the database. Now everything is solely file based. Hooray 💪

Next step: understand settings definitions and make usage of the Site Set PHP API.

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

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

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

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

dgoosens, French
@dgoosens@phpc.social avatar
shochdoerfer,
@shochdoerfer@phpc.social avatar

@dgoosens awesome lineup!

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

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.

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

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.

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

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

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!

t3muc, German
@t3muc@typo3.social avatar

„To be honest there is one magician called jpmschuler who is updating everything on each night, but then you need to have lot of frontend/functional testing to be sure everything is working as before"

Peter lässt uns heute Abend an seiner Magie auf Basis von teilhaben.

ramsey,
@ramsey@phpc.social avatar

I’m really happy the Fediverse has so much community activity and content on it (and tech content, in general).

S15H,
@S15H@phpc.social avatar

@ramsey 100% agree. I'm also really enjoying that everyone is very friendly, respectful and nuanced instead of heavily polarised and hostile. It increases the value of the content consumed.

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