Live data from Hacker News

Laravel 9

laravel-news.com

261–262 of 262 posts

Re: Laravel 9

#261
post #220

Earlier quoted context omitted.

I find it hard to imagine how anyone who groks Laravel well enough to get a product shipped could be deficient in understanding PHP. Surely such cases are outliers?

I regularly interview PHP developers for hiring and I can quickly classify them into 1. Wordpress Developers, 2. PHP developers and lately 3. Laravel developers. Specifically for no 3 is the kind of developer who considers the framework magical and has no idea how things are done without it because they've learned framework first and the PHP basics to survive. They can do well for basic CRUD tasks but for anything tr…

Seems easy enough to teach if those developers have picked up whatever is in front of them in the past.

Re: Laravel 9

#262
post #240

Laravel is amazing until you need to do something non-trivial that does not follow the laravel way of doing things so you find yourself fighting the framework. Everything is coupled to Eloquent for example, and while you can use another ORM, the whole ecosystem and 3rd party libraries need Eloquent, so you have to choose to either do things the Laravel way to take advantage of the community, or write everything on yo…

Why would you use another ORM?

I've worked once in a project where a very opinionated dev lead "decided" SQLAlchemy was better than the django ORM, so he replaced it. The mess he created was unbelievable, we spent years cleaning things up and some part we even couldn't.

> have to choose to either do things the Laravel way to take advantage of the community, or write everything on your own

Of course! that's the whole point of a framework, to put some guardrails on how to do things.

If you think you can do things better, more performant, more tested, and more documented, good for you, go ahead and just write raw PHP or tie together your own libraries. You can't blame an opinionated framework because bastardising it is not easy. That's a feature in my book.

Post reply on HN