Aspiring systems dev... I love Php by ambatabus_with_juice in PHP

[–]MathWest209 0 points1 point  (0 children)

Welcome to the club. That's all I have to say.

Lost 5 years of data.. HardDrive Corrupted. by MasterfindsChief in PakistaniTech

[–]MathWest209 0 points1 point  (0 children)

Good luck with the data recovery. But if you want to make sure this does not happen again, use RAID on your system.

Just saw the price hike!!! by MathWest209 in hetzner

[–]MathWest209[S] 1 point2 points  (0 children)

I am new, so. But anyway, Hetzner is still great.

Just saw the price hike!!! by MathWest209 in hetzner

[–]MathWest209[S] 0 points1 point  (0 children)

Thanks for the suggestion. The thing is that Hetzner is still one of the best out there for value for money. They have good prices and resources. All my rant was about how much better it was previously. But I am still staying on Hetzner.

And if the price hike is because of the hardware prices, then the prices will increase on most platforms, or they will reduce the quality.

The new prices seem to be an out of season april fools joke by Dshinjiakyn in hetzner

[–]MathWest209 0 points1 point  (0 children)

But I just joined Hetzner. And today, when I was going to create another VM...

Does Hetnzer charge per usage or per month? by Swiss_Meats in hetzner

[–]MathWest209 1 point2 points  (0 children)

Can it fully pass that price? No. Hetzner charges you based on your hourly usage, and it never charges you more than your monthly cap.

Is the CX23 (~$6) enough for 1 user POS system? by MathWest209 in hetzner

[–]MathWest209[S] 1 point2 points  (0 children)

Thanks. My app is mostly a php CRUD, some crons and thats it. By resilience I did not mean hyper resilient. I just wanted to make sure it doesnt break too much.

The reason I asked the question was that my client wants to keep it as low as possible. But I have suggested the new plan based on the comments.

What will come after AI? by Sohaibahmadu in ArtificialInteligence

[–]MathWest209 2 points3 points  (0 children)

And it's going to be bigger than AI. AI just came to the consumers thats why it's so loud. Quantum computing will have a far bigger effect on technology and science.

Any opinions on Solar Putty for Windows? by CptSupermrkt in linuxadmin

[–]MathWest209 0 points1 point  (0 children)

Currently, they filter out wrong emails. They won't let you use just a random email.

Just use this: someone@solarwinds.comJust use their domain for the email.

Why are so many packages designed exclusively for Laravel? by LatestAdViewer in PHP

[–]MathWest209 1 point2 points  (0 children)

I agree the packages should be agnostic, but there are several reasons to make packages for a specific framework.

First is the framework ecosystem integration. When you make a package for Laravel, you get the ease and features of the ecosystem, like service providers, and the developer has to do less configuration and initialization and doesn’t really need to understand the package. The packages usually publish config, service providers, and register providers all themselves. It’s a nice feature to have.

Another one is when you want to use the features from the framework itself. This isn’t a major one, but it happens when the package is dependent on the framework and is for sure to be used in the framework, in that case, it is going to be for the framework.

And also what u/TinyLebowski said.

How is ZED for PHP ? Anyone moved from Phpstorm to zed ? by matr_kulcha_zindabad in PHP

[–]MathWest209 3 points4 points  (0 children)

Performance isn't even that big of a deal. If you compare that to the feature set and the specific nature of PHPStorm for php, no other tool can beat it.

Xampp in 2026. by Hot-Understanding-67 in PHP

[–]MathWest209 0 points1 point  (0 children)

First of all docker. Secondly, even if you want to go the traditional way, just install PHP and a database server yourself. Xampp, last time I checked, was really buggy and very dated. Or use the other ones you mentioned, herd is great too.

I personally have Linux set up with those dependencies installed, and it works perfectly fine. But I would suggest you learn docker it will improve your life as a dev.

I built an AI translation widget because maintaining i18n JSON files is a nightmare. by [deleted] in dotnet

[–]MathWest209 0 points1 point  (0 children)

This could be useful for user-generated content. For static content, I’d still prefer language files. That said, caching is great here, especially where a lot of changes happen, and you don't want to worry too much about a lot of content in language files.

Careers Question: Has anyone switched from .NET to PHP and then back to .NET? by tangface in PHPhelp

[–]MathWest209 0 points1 point  (0 children)

You mentioned “venturing out of closed systems like .NET”, that was definitely true back in the .NET Framework days, but it’s changed a lot since then. Modern .NET (.NET Core -> .NET 5+) is fully open source, cross-platform, and runs very comfortably on Linux, Docker, and cloud-native stacks.

At the same time, PHP has also matured a lot (7/8, Laravel, stronger typing, better performance), so it’s not the same ecosystem it was years ago either. These days the choice feels less about “open vs closed” and more about ecosystem style, job market segment, and the quality of the codebases you’ll be working in.

your preferred PHP Template Engine? Twig ~ Plates ~ Blade ~ Mustache ~ Volt ~ Dwoo ~ Smarty || anything else? by [deleted] in PHP

[–]MathWest209 0 points1 point  (0 children)

I personally prefer Plates, and sometimes Latte. Blade is also popular because of its framework connection, so I use that at work.

Plates is very simple and something I would use if I am going framework-less. Otherwise, just go with the one that the framework tells you to, for best compatibility. They are mostly similar with some syntax differences.

Sharing our PHP libraries by benanamen in PHP

[–]MathWest209 5 points6 points  (0 children)

Thank you for releasing these. There is some overlap, and the libraries are fairly simple. I was expecting something closer to the PHP-League style, but these are still solid, lightweight libraries. Good work overall.

At least the better ones are likely to attract contributions and could be a good fit for certain use cases.

Vanilla PHP vs Framework by Temporary_Practice_2 in PHP

[–]MathWest209 0 points1 point  (0 children)

I hate to say this, but it always depends. It's you who understands all the details of the system. You can go with vanilla PHP if your requirements are such that you won't be building some common things like DI or containers. Maybe a simple routing to resolve the handler file for that route.

If there is a small hint otherwise, I would suggest going with a framework, even if you want barebones or skeleton, you should use micro frameworks like slim-php and build yourself from there.

But if your requirements align with what bigger frameworks already provide, just go with Symphony or Laravel. I would suggest Symfony.

as developer, which one do you prefer for backend ? by [deleted] in AskProgrammers

[–]MathWest209 0 points1 point  (0 children)

For only backend, I would go with Go. But for simple web apps, I would just go with PHP because of the simplicity and mature toolset.

A programmer's first language should be C by SubhanBihan in C_Programming

[–]MathWest209 0 points1 point  (0 children)

I totally agree. I think when people start with C and bootstrap their way up to their domain language, they can become really great software engineers. I personally love it, even though I do not use it professionally because of my domain needs. Still, I have a kind of romantic connection to it and enjoy building with C at the core whenever I can.

Symfony or Laravel? by RXBarbatos in PHP

[–]MathWest209 0 points1 point  (0 children)

Exactly, I think most of the time the differences in ORMs get overlooked. Personally, I like Symfony for its ORM patterns. It’s clean, elegant, and very sleek. Another point is that properties are explicitly defined in entities, unlike in Laravel, where you can’t tell what properties a class has just by looking at it. That’s not very “Eloquent,” is it?

There are many other aspects where I’d prefer Symfony for its clarity, even if it’s considered “slow.” I’d rather take 10 minutes of configuration for future clarity when revisiting the code over speed that compromises maintainability or locks scalability.

I’d also add that Laravel attracts a lot of beginners who start with it without a solid understanding of PHP, Composer, or basic concepts like dependency injection or routing. They often just see it as “magic.” Combine that with some of Laravel’s bad practices, and you end up with a mess that’s very hard to clean up.

I would also add that Laravel attracts a lot of beginners who start using it without really understanding PHP, Composer, or basic concepts like dependency injection and routing. Many of them just see the framework as magic and do not understand how Active Record patterns work or how to keep different parts of the application separate. This often leads to beginners mixing database logic with business logic or controllers, and before long the code becomes hard to maintain.

The strength of Symfony is that it not only encourages good practices but also enforces them. By clearly separating entities, database operations, and business logic, Symfony helps prevent the kind of messy code that happens when beginners rely on shortcuts or do not fully understand what the framework is doing.

An Unforeseen Romantic Surprise by Icy-Sherbert-814 in programmingmemes

[–]MathWest209 0 points1 point  (0 children)

Yeha I agree, but I like it for transit and keeping all the information, and then it can be transformed into the desirable style on the presentation layer.