michael , to random
@michael@thms.uk avatar

How did I only just now learn about PHP WeakMaps? Sounds like a really really cool thing for caching.

https://php.watch/articles/practical-weakmap

#PHP

mobileatom , to random
@mobileatom@flipboard.com avatar
Blue_Jersey , to random
@Blue_Jersey@fosstodon.org avatar

In Defence of PHP - Stephen Rees-Carter - NDC Security 2023

https://www.youtube.com/watch?v=zlPBufBzscg&t=6s

derickr , to random
@derickr@phpc.social avatar

📽 I published the next video in my "Writing PHP Extensions" series, where we'll be adding the getCoordinates() method, and writing some test cases!

https://youtu.be/3uogtoTgi4E

#PHP #Extensions #Tutorial #Testing

FeilnerIT , to random German
@FeilnerIT@mastodon.social avatar

has some sever security issues. Solution: Migrate to , especially . I wouldn't go back anymore, all that speed and more.
@ownclouders
https://www.heise.de/news/Nextcloud-Angreifer-koennen-Zwei-Faktor-Authentifizierung-umgehen-9766062.html

blizzz ,
@blizzz@layer8.space avatar

@FeilnerIT @larsmb In 2023, was having 37 vulnerabilities published, with 6 of them having a score of 9.8. In the same year for it was 7 and 1.

I am sick of Golang and Google Fanboyism 😜

mobileatom , to random
@mobileatom@flipboard.com avatar
Skoop , to random
@Skoop@phpc.social avatar

I wrote something about making the choice between upgrading or upgrading: https://skoop.dev/blog/2024/06/07/upgrade_or_upgrade/

ramsey , to random
@ramsey@phpc.social avatar

It boils my blood to hear folks insinuate that is the source of their performance problems and they should switch to microservices in another language to fix the performance issues. Maybe spend a little bit of time figuring out where your bottlenecks are and fix those, first!

(This may or may not be a sub-toot.)

SuitedUpDev , to random
@SuitedUpDev@mastodon.online avatar

A quick question to my fellow developers here. Does anybody have a suggestion for Spider / crawler library in PHP?

sarah , to random
@sarah@phpc.social avatar

I have used for over twenty years. I know it’s power and I’ve seen it mature as a first class language.

Haters will hate. But PHP is one of the most powerful and versatile languages in the world.

From CLI to web and everything in between, PHP can do it. You can and should feel good about choosing PHP for your project.

ClubTeleMatique , to random
@ClubTeleMatique@mstdn.social avatar

Optimize Your PHP Script
15 Tips for Better Performance: https://www.thegeekstuff.com/2014/04/optimize-php-code/

carbsrule_en ,
@carbsrule_en@polyglot.city avatar

@Girgias @ClubTeleMatique I can't believe this advice is still doing the rounds. It's 10 years old and mostly wrong, or at least pointless micro-optimisations.

Reduce database calls. Make sure you're getting the data you want and not just doing SELECT *. Make sure indexes are in place where they need to be. Don't bloat the call stack. Do some profiling, especially of actual, real-world usage.
Thanks for coming to my TED talk.

fatherThenDeveloper , to random
@fatherThenDeveloper@mastodonapp.uk avatar

Hello users. I am looking to with people who have the following interests

In development






Hobbies and Interests




A bit about me: I am a father of two kids that started life in the NICU. I have two dogs and do a lot of charity for the GOSH and Jenny Lind Children’s Charity. I am a senior backend engineer and love playing games or developing my own. Nice to meet you all

maccath , to random
@maccath@phpc.social avatar

The life of a maintainer (and generally any back-end engineer) - if your existence is acknowledged, something's probably gone wrong! I feel you, @jrf_nl

Thank you to all of the package maintainers out there 💕

SenseException , to random German
@SenseException@phpc.social avatar

Well, that explains everything for .

mobileatom , to random
@mobileatom@flipboard.com avatar
enusbaum , to random
@enusbaum@tootsmcgoots.io avatar

You know why PHP is still around? Because it's fucking simple.

The levels of abstraction in Web Frameworks like React/Angular or ASP.NET Core is a little silly. You have to navigate through 4-5 files of logic before you actually get to the rendering of a page.

PHP?

<?php echo "Hello World!"; ?>

If dotnet could give me a syntax and framework as simple as PHP, I think it'd dominate. Just one file (index.cs), not a zillion files and boilerplate.

Call it ASP.NET Min

herrman_sk , to random
@herrman_sk@infosec.exchange avatar

Hello hive mind of the fediverse...

As is going to definitely die soon, I'm looking for simple and blogging system to replace it and to host my . After those years I see a plethora of based options.

As I've realised / grade is an overkill for my needs, it can be something more simple, less complex. Wysiwyg editor and automatic updates possibilities would be more than enough...

What are your favourite solutions?

Crell , to random
@Crell@phpc.social avatar

This article uses as it's main example, but it applies to , , even just a much. I say that as a recovering Drupal dev who used to use the standardization argument.

Greedy management is the reason we can't have nice things.

https://www.baldurbjarnason.com/2024/react-electron-llms-labour-arbitrage/

danielfernandezvega , to random Spanish
@danielfernandezvega@mast.lat avatar

Developing in PHP offers a unique combination of power, flexibility, and speed. With a vast support community, a gentle learning curve, and seamless integration with databases like MySQL, PHP remains a solid choice for building dynamic web applications. 💻🚀

grmpyprogrammer , to random
@grmpyprogrammer@phpc.social avatar

And while I am on the topic, here some challenges I’d like to see other devs take up for PHP:

  • langchain support
  • our own version of numpy
  • abstraction layer around FFI, similar to how FrankenPHP/Swoole provides an implementation/framework for Fiber usage
  • Jupyter notebooks with first-class PHP support

I know there are folks out there looking to sink their teeth into some -adjacent projects

ycombinator Bot , to random Japanese
watzon , to random
@watzon@watzonmanor.com avatar

Ok peeps, we're 4 months into 2024 and I've been without work this whole time so we're going to try this again. If you know of any senior software engineering positions that are actually being hired for, please drop them below.

I have 12 cumulative years of experience, so that shouldn't be an issue, and I know most of the languages in use nowadays well enough to be dangerous, but I am extremely proficient in TypeScript, Python, and Ruby. What I'd rather do more than anything though is have an opportunity to use Go professionally.

Crell , to random
@Crell@phpc.social avatar

Using arrays as pseudo-objects is almost never the right answer. They're less self-documenting, slower, worse on memory, and more bug prone.

https://peakd.com/php/@crell/php-use-associative-arrays-basically-never

davidbisset , to random
@davidbisset@phpc.social avatar

Is dead?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • test
  • worldmews
  • mews
  • All magazines