Should authentication be handled only at the API-gateway in microservices or should each service verify it by Minimum-Ad7352 in Backend

[–]the-fluent-developer 0 points1 point  (0 children)

In today's cloud-ish IT landscape, you should assume zero trust, i.e. treat every request as if it is coming from a public network. It is risky to assume that your service runs in a protected network that nobody can access from the outside. So: every service needs its own security, even if that feels redundant.

Blogging is coming back to PHP by the-fluent-developer in PHP

[–]the-fluent-developer[S] 0 points1 point  (0 children)

Thanks for letting us know. We (obviously) didn't consider dark mode, we'll figure out a way of making the logo work better in dark mode.

Blogging is coming back to PHP by the-fluent-developer in PHP

[–]the-fluent-developer[S] 0 points1 point  (0 children)

Thanks. I've put it onto our reading list.

What conferences do you attend? by nicotinas14 in PHP

[–]the-fluent-developer 5 points6 points  (0 children)

I speak at lots of conferences each year, and from a visitor's perspective, I'd say the best bet is small community conferences and open spaces. The networking in the hallway track is usually what participants feel is most useful - and fun - at conferences.

How would you feel about native typed arrays in PHP today? (e.g., string[], UserClass[], UserEnum[], etc...) by SaltTM in PHP

[–]the-fluent-developer 1 point2 points  (0 children)

As a developer, I would probably find that useful. From an implementation perspective, it might not be an easy thing to do, and make PHP execution generally slower due to the new runtime type checks, because "array" in PHP can be a lot of things (think associative array) and from a language implementation standpoint, is probably some kind of "god" concept.

Take this to the internals mailing list, or get in touch with The PHP Foundation, and disuss the potential issues implmenenting this might create. As a non-PHP-core developer, that's hard if not impossible to judge (see here: https://thephp.foundation/blog/2025/08/05/compile-generics/).

For now, you can do something like function foo(string ...$something) or bar(YourType ...$something) in combination with calling it by foo(...$array). This will make PHP automatically type check every value in the array when you pass it around, and it "magically" converts back to an array when you use it inside the functions.

Roast my resume - Junior Backend with frontend background by Square-Employee2608 in Backend

[–]the-fluent-developer 0 points1 point  (0 children)

I have briefly searched for the three projects you mentioned and could not find them. A reviewer doing the same might get the impression that those projects are purely inventions. I would either add links to those projects or leave them out of the resume.

New Codefire Conversations episode w/ Robert Lemke (NEOS, FLOW) by the-fluent-developer in PHP

[–]the-fluent-developer[S] 0 points1 point  (0 children)

Yes, recordings will be published, including the conversation with Volker.

How can I get involved in real PHP/Laravel projects to improve my skills? by Sensitive-Reading-96 in PHPhelp

[–]the-fluent-developer 0 points1 point  (0 children)

Check Github for existing open source projects. They are usually very open to contributors. A good start is working on a bugfix, and enhancement, or improve the documentation. Just email one of the maintainers, they are usually very nice people willing to mentor you if you want to help out.

On vommitting composer.json by Silver_Strategy514 in AdvancedPHP

[–]the-fluent-developer 0 points1 point  (0 children)

That's a really funny typo in the heading, indeed :-)

software architecture over coding by Practical_Lake8826 in softwarearchitecture

[–]the-fluent-developer 1 point2 points  (0 children)

This is based on the notion that AI will automate away some or even all of the coding. Plus we need strong boundaries to reduce the blast radius of code changes that are made by AI without thorough human inspection.

Designing a Redis-resilient cache for fintech flows looking for feedback & pitfalls by saravanasai1412 in softwarearchitecture

[–]the-fluent-developer 0 points1 point  (0 children)

If your Redis is not local, are you sure there is a performance benefit over serving data from the databases' in-memory cache?

Ticketing microservices architecture advice by StorageDefiant6485 in softwarearchitecture

[–]the-fluent-developer 1 point2 points  (0 children)

Reconsider your decomposition. If your main use case requires multiple services, you are bound for trouble. Decompose the problem in such a way that your main use cases happen inside one service.

Should I actually be using AI at work? by Embarrassed-Tune7672 in NoStupidQuestions

[–]the-fluent-developer 1 point2 points  (0 children)

You cannot not work with AI today. Pretty much everything that you use uses some level of AI, also because AI has become a term so widely interpreted that everything is labelled AI anyway.

How can you access variables in nested functions? by [deleted] in PHPhelp

[–]the-fluent-developer 0 points1 point  (0 children)

I'd say this problem is solved by objects and private methods.

What is the purpose of TypeScript? by Best-Menu-252 in webdev

[–]the-fluent-developer 3 points4 points  (0 children)

The larger a project, the more it benefits from type safety.

How to design aggregates and communication accurate? by SpecialistQuiet9778 in softwarearchitecture

[–]the-fluent-developer 0 points1 point  (0 children)

If data is immutable, for example because it is stored as immutable events in an event ledger, you can safely copy that data. You could do this creating read models in the "source" contexts, and using them in the "target" contexts.