4 ms·
The PHP ecosystem is similar to the language (I work on it daily), tools are a mishmash of features that may or may not be relevant to the tool. PHP ORMs in gen
by nwmcsween 7y ago
The PHP ecosystem is similar to the language (I work on it daily), tools are a mishmash of features that may or may not be relevant to the tool. PHP ORMs in general (compared to say Ruby or Python) are absolutely painful to work with, which leads to most large projects that need a DB making a hard dependency on MySQL.
- Implicated 7y agoDo you have any examples of "tools are a mishmash of features that may or may not be relevant to the tool"? Or why the ORM's make MySQL a hard dependency? Honest questions, genuinely curious. I, too, work with it daily and am curious as to what you're doing/seeing/running into that I'm not.
- pbowyer 7y ago> PHP ORMs in general (compared to say Ruby or Python) are absolutely painful to work with Which PHP ORMs are you thinking of? I've worked with Doctrine ORM, I would not say it's more painful than SQLAlchemy.
- purerandomness 7y agoThere's an excellent Postgres data mapper called Pomm: http://www.pomm-project.org/ http://www.pomm-project.org/ with similar concepts to Java's jOOQ. I can't think of any ORM that makes MySQL a hard depedency. Doctrine, EasyDB, Atlas ORM, ... all support Postgres or any other DB.