PHP

cspray,
@cspray@phpc.social avatar

Couple weeks ago speaking with @ocramius about Annotated Container. He brought up something about Attributes I had heard a few times before. Something along the lines of:

"I don't want container wiring code littered throughout my codebase."

So, I wrote a blog article that talks about how Attributes aren't really the point of Annotated Container and how you can use the library with no Attributes or highly limit their spread through your code.

https://www.cspray.io/blog/annotated-container-without-attributes/

-container

dantleech,
@dantleech@fosstodon.org avatar

@cspray @edorian one stronger feeling I have at the moment is that I don't want my domain (or "good") code to be have symbols that couple it to a framework or DI container. So prefer orchestrating "externally" to the class. I.e. aiming for "closed for modification" even if it's modifying an attribute...

cspray,
@cspray@phpc.social avatar

@dantleech @edorian From my conversations, this appears to be a popular line of thinking. One I understand the reasoning for and I hope my article shows AC can support!

I'm planning on continuing to eat my own dogfood with AC and create an app using the per-module DefinitionProvider design. Hopefully I might discover ways that the library can be improved when using this style of DI config.

sarah,
@sarah@phpc.social avatar

I have a FREE book on object-oriented programming available for you to download and enjoy. It's my way of giving back to the community. Check it out: https://masteringobjectorientedphp.com

chrastecky,
@chrastecky@phpc.social avatar

@sarah Giving back by harvesting personal data, what a great way to do that!

ocramius,
@ocramius@mastodon.social avatar

Managed to write down my issue with .phar in

https://github.com/Roave/BackwardCompatibilityCheck/pull/770

I think flake.nix/flake.lock are the future overall, while Dockerfile already is better than .phar in every way.

.phar itself is not really very useful anymore, IMO.

ocramius,
@ocramius@mastodon.social avatar

Released: @roave /backward-compatiblity-check 8.8.0

Now comes with enum BC checks, thanks to @bdsl

https://github.com/Roave/BackwardCompatibilityCheck/releases/tag/8.8.0

tomasnorre,
@tomasnorre@phpc.social avatar
sarah,
@sarah@phpc.social avatar

Do you rehearse your disaster recovery plans?

Have you ever stood up, from scratch, a completely new version of your application in a production-ready state?

If you haven't, you should.

You may never need to fully stand up a complete production instance, but what happens if a part goes down like your database, your webservers, or your jobs? Are you prepared for emergencies?

Practice makes perfect, especially in high-pressure situations. So practice!

michael,
@michael@thms.uk avatar

@sarah I had to do this some time last year. Proud to say: it only took us a few hours, in part because we had copious backups and had trained for this. 👍

mrbase,
@mrbase@phpc.social avatar

@sarah We do that, several times a year, one where we restore crashed servers, one where we restore single installations, one where we restore multiple, one for hot backup, one for cold backups.
Everytime we review the procedures, and fix any changes we encounter.

mobileatom,
@mobileatom@flipboard.com avatar
marmelab,
@marmelab@mastodon.social avatar

🎉 Exciting news! Marmelab is sponsoring the API Platform Conference 2024, the flagship event dedicated to the API Platform framework!

Join us for 2 days of talks by leading experts in , & .

📅 19 & 20 September
📍 Lille, France

Learn more: https://api-platform.com/fr/con/2024/

@cooptilleuls

ramsey,
@ramsey@phpc.social avatar

This is a pretty cool package, if you use with and . https://github.com/ajgarlag/AjglBreakpointTwigExtension

ramsey,
@ramsey@phpc.social avatar

@jaapio I did not know this. How do you set the breakpoints in the templates?

ramsey,
@ramsey@phpc.social avatar

@jaapio Never mind. That post shows how. 🙂

wowa_TYPO3, German
@wowa_TYPO3@techhub.social avatar

🔥 Stell dir vor, es ist Montag und du hörst, wie alle vom "Business Roundtable: Digital mit TYPO3" schwärmen, während du außen vor bist. Vermeide dieses Szenario!
Nur noch 2 Tage, um dabei zu sein.
https://wwagner.net/events/business-roundtable-digital-mit-typo3

typo3, German
@typo3@typo3.social avatar

coding. powerful. systems. CPS GmbH joins the ! 🧡

With over 20 years of experience and a dedicated team of 25+ developers, they're set to bring a new level of excellence to the .

🌐 https://www.cps-it.de/

image/jpeg
image/jpeg

ProvenPudding,
@ProvenPudding@fosstodon.org avatar

The booth is ready for the first visitors — including a super-cool animation on the big screen! @typo3

mobileatom,
@mobileatom@flipboard.com avatar

New Proposed Array Find Functions in PHP 8.4.

https://laravel-news.com/php-8-4-array-find-functions?utm_source=flipboard&utm_medium=activitypub

Posted into SYMFONY FOR THE DEVIL @symfony

michael,
@michael@thms.uk avatar

@mobileatom @symfony

I really do like it. But I still think it should be called array_first as that’s really what it is …

shochdoerfer, German
@shochdoerfer@phpc.social avatar

I am seeking speakers for my @phpugffm & @phpugmrn meetups. We prefer in-person presentations in Frankfurt or the Mannheim area, but remote talks are also an option. If you have anything interesting to share with us, let us know. We'd be more than happy to have you! Thx!

heiglandreas,
@heiglandreas@phpc.social avatar

@vanamerongen There might be... Options ... as @shochdoerfer already mentioned. But in general we (as in The Usergroups) are (sadly) also missing the budged. 😉

/cc @phpugffm @phpugmrn

shochdoerfer,
@shochdoerfer@phpc.social avatar

@tobiaskoengeter I'll set up a reminder to ping you in August to see if October will work. Thx for considering! very much appreciated. /cc @phpugmrn

tomasnorre,
@tomasnorre@phpc.social avatar

After asking the community, I have decided to release a v12 version of the which is compatible with TYPO3 12 LTS. There are some smaller know issues, but I hope the community will engage and help improve the code base.

https://x.com/tomasnorre/status/1790687063639040380

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