5 ms·
And I use PHP in the same way Django and Rails developers do: with frameworks, ORM's and other libraries that do put abstract layers on top of things like the d
by rickmb 15y ago
And I use PHP in the same way Django and Rails developers do: with frameworks, ORM's and other libraries that do put abstract layers on top of things like the database.
PHP fully supports these use cases and everything in between. The same is true for Python and Ruby, but their web development ecosystem gravitates much more towards single solutions (Django, Rails).
Yes, that means many Django or Rails developers have a hard time developing outside the box of their framework. However, on the PHP end you often see a lack of knowledge of the tools available and a strong tendency towards "not invented here".
It all comes down to making informed choices. The language doesn't make that much of a difference. Every language allows you to optimize db-access to the point of writing raw SQL queries, and no framework can stop you from leveraging the raw power of the language.
- damncabbage 15y agoHowever, on the PHP end you often see a lack of knowledge of the tools available and a strong tendency towards "not invented here". You are dead on the mark with this one. I have hopped from place to place, and have needed to explain automated deployment, dependency injection, automated testing, schema management (eg. migrations), VCS branches... In most cases some of these would be covered by half-baked in-house "solutions", and others wouldn't even be dealt with at all. In other cases the current (knowledgeable) team would still be suffering from the sins made by developers past. I eventually gave up and moved to the Ruby world where most of this stuff is taken for granted. I don't mind PHP's quirks so much anymore; it's more the ecosystem that comes with it that infuriates me.
- Newgy 15y agoI think Symfony2 may solve this issue for PHP.