PHP

symfonystation,
@symfonystation@phpc.social avatar

Retrofit: Running legacy Drupal 7 code on your Drupal 10 site via Matt Glaman. https://mglaman.dev/blog/retrofit-running-legacy-drupal-7-code-your-drupal-10-site This looks like great news for Drupal 7 sites.

robjmills,

It's interesting that there's a number of blog posts which seem to assert that folks have had great results using PHP's FFI to speed up some intensive and slow processes using Rust. However, the official docs don't really support this.

"it makes no sense to use the FFI extension for speed"

https://www.php.net/manual/en/intro.ffi.php

Guess there's only one way to find out!

robjmills,

@Girgias very interesting, thanks. So using Rust to build a PHP extension using something like ext-php-rs would be faster than Rust via FFI presumably then?

Girgias,
@Girgias@phpc.social avatar

@robjmills I would expect this to be the case, yes. But I have never written a PHP extension in Rust, so I don't know how the FFI (/unsafe Rust) binding would impact performance.

xurizaemon,

Kia ora, I'm Chris, tootin at you from Ōtepoti in Aotearoa. This might be the southernmost toot you read today.

I'm mostly reading and posting over at @xurizaemon but registered here for the local timeline of drupal.community

pcambra,
@pcambra@drupal.community avatar
michaelbtech,

What's the best way for a Drupal Web developer to break into Kotlin/Java mobile development?

Asking for a friend (me)

gryzor,
@gryzor@androiddev.social avatar

@michaelbtech download Android Studio, and start peeking at Android Fundamentals. https://developer.android.com/guide/components/fundamentals

From there, look at the code labs and on-line documentation.

Good luck!

michaelbtech,

@gryzor Thanks martin. Yea, I just started with my first app from the Android basics.

ramsey,
@ramsey@phpc.social avatar

The @phpfig PSRs should also define the names of the packages that include the interfaces, as well as the name used to indicate implementations of the PSR.

i.e., PSR-17 would include psr/http-factory and psr/http-factory-implementation, so I don’t have to go searching for these names every time.

alessandrolai,
@alessandrolai@phpc.social avatar

@lewiscowles1986 @ramsey no they didn't. A couple of them left the "project representative" position inside the @phpfig, but i.e. Symfony is still implementing those. Latest example, PSR-20 and the Clock component: https://symfony.com/doc/current/components/clock.html#usage

lewiscowles1986,
@lewiscowles1986@phpc.social avatar

@alessandrolai @ramsey @phpfig I stand corrected

chrisshaw,

Knowing CSS makes wordpress a lot easier to use.

I wanted to make the date more prominent in my diary, and in the past I would have looked at some kind of page builder plugin.

Instead I was able to use the standard kadence theme and target some very specific styling, including switching the order that the html is generated

https://diary.uncountable.uk/

Cynni,

Yesterday's post was a hard one to write. Being honest and open about hurtful things. But I felt I should share.

Sorry I've been quiet here, been busy with gaming so posting more on that account. 😊

Never enough

https://wp.me/pbx9Bc-1MP

>Never good enough. Never strong enough. Never smart enough. Never clever enough. Never fast enough… You name it, I’ve heard it be used against me. And I can assure you, words to matter.…

#AmWriting #Blog #WordPress #JetPack #MyLife

Imoptimal,
@Imoptimal@mastodon.social avatar

@Cynni That was such a moving piece on #personal #struggle.

We all need support of others, but it's never easy to find like-minded people.

https://neurodifferent.me/users/Cynni/statuses/110477589981717470

ultimike,
@ultimike@drupal.community avatar
ChasMusic,
@ChasMusic@ohai.social avatar

@ChasMusic Bookmarking for future reference

mobileatom,
@mobileatom@me.dm avatar
cspray,
@cspray@phpc.social avatar

This weekend I hope to find some time to write another article on Annotated Container, talking about the new features in 2.2. The highlights include:

  • CLI tool for analyzing your container configuration for potential errors
  • Support for the illuminate/container library
  • Better experience around creating your own custom parameter stores (used to inject non-object or sensitive values)

sascha, German

Blöde Frage: Ich baue gerade einen neuen Blog in . Videos von werden ja ganz nett embedded. Wenn ich aber möglichst Cookie-frei arbeiten will, würde ich ja auch gerne Videos über oder irgendeiner anderen Fedi-Plattform einbinden. Richtiges Embedding klappt so nicht. Kennt da jemand einen Trick oder Tipp?

droidboy,
@droidboy@social.cologne avatar

@sascha Du kannst Videos von YouTube auch ohne Cookies und DSGVO konform einbetten. Gibt da so ein Häkchen.

sascha,

@droidboy Ja, das habe ich gesehen. Aber dann muss man den kompletten iFrame einbauen und kann nicht so ohne weiteres das Embedding von ‘ Gutenberg-Editor nutzen.

mikestreety,
@mikestreety@hachyderm.io avatar

Just released version 1.6.0 of our extension, Shortcodes

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

davidbisset,
@davidbisset@phpc.social avatar
ultimike,
@ultimike@drupal.community avatar

Very nice article explaining some details of accessing field data on entities.

https://thesavvyfew.com/insights/how-do-i-access-field-value-entity-eg-node-object

Perfect for those just starting their journey in learning Drupal module development!

Too bad The Savvy Few wants to keep the author anonymous...

davidbisset,
@davidbisset@phpc.social avatar

“Biscotti” from @boogah is a plugin that modifies the expiration of the logged in user cookie to three months, six months, or one year.

https://wordpress.org/plugins/biscotti/

rzen,

@davidbisset oh man, that's such a great name! Nice work, @boogah!

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