PHP Hot

ntha, to php
@ntha@mastodon.social avatar

Re: Primitive Obsession (https://acairns.co.uk/posts/primitive-obsession)

I like the idea, but has anybody performance tested this? What happens when you're dealing with thousands of rows of data that pass every item along as class instants vs primitive types?

Crell,
@Crell@phpc.social avatar

@ntha Unless you're dealing with very large datasets, the cost of the SQL query to load it will be vastly more than the cost of making an object.

symfonystation, to Symfony
@symfonystation@newsletter.mobileatom.net avatar
mobileatom, to Symfony
@mobileatom@flipboard.com avatar

SymfonyOnline June 2024: Designing Security-First Symfony Apps.

https://symfony.com/blog/symfonyonline-june-2024-designing-security-first-symfony-apps?utm_source=flipboard&utm_medium=activitypub

Posted into SYMFONY FOR THE DEVIL @symfony

symfonystation, to Symfony
@symfonystation@newsletter.mobileatom.net avatar
typo3, to php German
@typo3@typo3.social avatar

We had a great time at the Experts Group in Berlin, engaging in meaningful conversations and gaining valuable insights. Our team covered the recent General Assembly in Zurich and our upcoming communication strategies. A big thank you to Janus Boye for hosting us.

image/jpeg

mobileatom, to php
@mobileatom@flipboard.com avatar
mobileatom, to php
@mobileatom@flipboard.com avatar

Running PHP blazingly fast at the Edge with WebAssembly.

https://wasmer.io/posts/running-php-blazingly-fast-at-the-edge-with-wasm?utm_source=flipboard&utm_medium=activitypub

Posted into SYMFONY FOR THE DEVIL @symfony

wowa_TYPO3, to php German
@wowa_TYPO3@techhub.social avatar

Und.... ich bin JETZT LIVE auf Twitch. 📺
Schaut rein für ne Extraportion TYPO3 am Abend 🚀
https://twitch.tv/wowa_typo3

doefom, to Laravel
@doefom@mastodon.social avatar

Using global query scopes for simple one-to-many tenancy.

Code example of a cat pension app I've started and never finished. It's structured like this:

  • A user belongs to a pension
  • A pension has many clients
  • A client has many animals

Users (cat pension owners and their employees) can only view clients and animals from the same pension. Global query scopes ensure this rule is consistently applied throughout the app without accidentally forgetting it somewhere in your code.

mobileatom, to Symfony
@mobileatom@me.dm avatar

This week's The Payload newsletter is out. It has the latest news and more in the Symfony, Drupal, PHP, Cybersec, and Fediverse development communities. https://newsletter.mobileatom.net/?mailpoet_router&endpoint=view_in_browser&action=view&data=WzI3LCIwNjQ2NDQxZmIzNTkiLDEwMywiYWMwYjRlIiwyMywxXQ

symfonystation, to Symfony
@symfonystation@newsletter.mobileatom.net avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • kavyap
  • DreamBathrooms
  • InstantRegret
  • magazineikmin
  • osvaldo12
  • everett
  • Youngstown
  • khanakhh
  • slotface
  • rosin
  • thenastyranch
  • ngwrru68w68
  • Durango
  • JUstTest
  • normalnudes
  • ethstaker
  • GTA5RPClips
  • modclub
  • cisconetworking
  • mdbf
  • tacticalgear
  • cubers
  • provamag3
  • tester
  • anitta
  • Leos
  • lostlight
  • All magazines