Skip to main content

Search

Items tagged with: php


Might be building something new, and trying decide if I should just embrace #Laravel Livewire and Tailwind, or stay true to my preferences and use a lighter weight CSS framework and a more progressively-enhanced JS something. (Am I committed to Laravel? Not necessarily, but it seems like a path of little resistance and I've grown comfortable with it. Fairly certain it'll be #PHP, at least.)


I have been playing with NodeJS for a few months now, and just wrapped up my first project. I still don't understand why we want to use JavaScript server-side as opposed to a server-side language like PHP. What am I missing? Who can enlighten me?

#nodejs #php #webdev


Quick and easy #PHP code generation testing.

peakd.com/php/@crell/quick-and…

#php


The days of wondering why I work in a professional PHP environment are increasing again. How can this language be so unfun, so unmotivating?

#php #thoughts #meme


Apologies if you're unable to load this paper (I think it's paywalled), but it was published in 2023 in the Proceedings of the 29th Symposium on Operating Systems Principles, and it describes how Meta (Facebook) does serverless functions in their own infrastructure.

What's interesting is that the paper says, "Our PHP runtime is called HHVM." Twice, it uses the phrase "our PHP runtime."

In 2023.

The last version of HHVM to support PHP was released in 2018.

dl.acm.org/doi/10.1145/3600006…

#PHP #HHVM

#php #hhvm


Does anyone know of a #PHP library with which I can convert one DTO instance into a different one while converting one specific property? All in one call where I only supply the DTO object, target DTO class and the function to convert one property? #symfony


@Crell is it an oversight that get_class_vars is unable to see the property hooks 🤔 I know I should be using Reflection but get_object_vars is able to see them. For reference 3v4l.org/qdcah

#propertyhooks #detection #php


I have an RFC in preparation for a year now to add a function to PHP but because of lack of time and my small knowledge of internals I have not yet finished it. Most is done, the text, the stub and testing files, a polyfill for older PHP version and I have a partial implementation. If someone with better knowledge of PHP could step in and help me finish the implementation that would be great #PHP #RFC #help just ping me and we can discuss it
#help #php #rfc


Are you running an unmaintained #PHP framework or legacy code?

Read our white paper 📗 on the benefits of migrating your code to #Symfony for better scalability, security, reliability & time-saving efficiency.

Flash the QR code 🤳 or download it here 👉 bit.ly/4hRyIqZ


I am currently emulating #typescript in #php: just use arrays and stdobj with phpstan-types 😅 type-safety ahoi.


I wonder if it would be possible or practical to use this to improve the array implementation in #PHP?

quantamagazine.org/undergradua…

#ComputerScience #DataStructures


The downside of being a semi-perfectionist: I can't release a new major version for a bunch of #PHP packages because one of the examples isn't behaving as expected 😤
#php


I know there's some Star Trek fans in the #phpc #php community. I'm working my way through Star Trek: Enterprise. It's a nice peek at the "before the Federation" time period after SNW, Discovery, and Lower Decks. It's not perfect, but I really enjoy the Archer and T'Pol characters.

Trying to decide if I want to watch Voyager or DS9 next.

#php #phpc


If you were to ignore my instructions not to use it, this #PHP script will probably rickroll Trump and Elon's weird new departments.

Purely for education you understand: gist.github.com/lordmatt/54731…

#php


I've been working with #WordPress for about a year now and the thing that has surprised me the most is that I actually like #PHP. I didn't know much about it, but had seen a lot of bashing it over the years. It's been dead-easy to learn though, and has a surprising number of modern features, like typing, named function parameters, match expressions, etc.

I wish I could say the same for #WordPress, which feels like it's barely holding itself together.


One thing I've learned from being a freelance PHP developer is just how many ways people can write code. Nearly every system I've worked on has been completely different, even though there are standardised / best practice ways of doing things (and have been for some time).

I try and incrementally standardise things as I go along, but unfortunately there isn't a well-supported PHP framework that makes it easy to adopt from an existing codebase - they tend to assume you use them from day 1.

#PHP

#php


I guess on the one hand it ensures its survival and continued development: people get paid for working on it and developing it, so they’ll keep developing it. We often hear people (rightly) bemoaning the fact that open source is a thankless largely unpaid effort, so we see an alternative model here, that so far appears to be largely working.

On the other hand there is a danger of them eventually doing an Oracle move and just enshittifying the whole the thing beyond measure to further their corporate objectives, whilst still keeping a veneer of Open Source.

And yes, the lack of diversity is terrible. As is the continued focus by its ‘influencers’ on X/Twitter. These two may or may not be connected, of course…

(I say all of this as a Laravel fan. I like working with it!)

#php #laravel


Seems interesting to me that every single Laravel conference seems to bring out the same set of predominantly white male speakers. who mostly now work for Laravel, who talk about their (often) paid products, which feed back into folks pushing more and more money towards corporate Laravel, and folks just lap it up.

I don't blame them for building their hugely succesful business. But no-one seems to question it or ask for any more. Am I missing something here?

#php

#php


This project looks promising:

"Goodnews is a PHP-based social media platform like Mastodon based on the ActivityPub protocol."

Highlights:

- PHP 8.2+, Hyperf, and Swoole
- AGPL 3.0
- ActivityPub
- Mastodon API compatibility
- Backend and frontend are separate projects
- Active development

github.com/goodnews-project/go…

#PHP #Goodnews #ActivityPub


The State of PHP 2024
#PhpStorm #News #Ai #Php

blog.jetbrains.com/phpstorm/20…


We're hiring an entry-level developer for PHP/Laravel work. This is a hybrid position just north of Chicago.

Here's the job. Check it out and/or pass it along!

#GetFediHired #PHP #Laravel #jobs #Chicago


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

peakd.com/php/@crell/php-use-a…

#php


I've worked with dates and times in several programming languages, and I have to say that the best is easily PHP (since the big refactor in, what was it, 5.6?).

The worst is easily Javascript.

#PHP #Javascript #Typescript #Node

Diese Webseite verwendet Cookies. Durch die weitere Benutzung der Webseite stimmst du dieser Verwendung zu. https://inne.city/tos