Lurker News
I've asked this previously: https://news.ycombinator.com/item?id=22849208

But a few years have past and want to see what's emerged since. Although can be new to you vs. released in 2021 or 2022 necessarily.
Things I've come across in the meantime:
* mock AWS services https://github.com/spulec/moto
* query cloud services https://github.com/turbot/steampipe
* munge CSV https://github.com/johnkerl/miller https://github.com/BurntSushi/xsv
* page json https://github.com/PaulJuliusMartinez/jless
* text to tree structure [I use this as a hack to version control my music library] https://github.com/birchb1024/frangipanni

Comments (559) 186 threads

Show all comments

Showing thread 98 of 186

BonoboIO1 reply#
PHP Propel 2.0

It’s a small ORM with nice features and it saved me a ton of time. Just generate the classes from the database. Very fast to iterate from.
https://propelorm.org/

hedora1 reply#
Probably showing my age here, but their database:reverse feature just blew my mind.

The problem with most ORMs is that language object models are way more expressive than SQL (due to having multiple subclasses of the same superclass / interface, or even multiple inheritance, and none of those mapping to SQL foreign keys).
Targeting the less expressive data model should automatically avoid most ORM footguns. I wonder how it works in practice.

BonoboIO#
It just works :D

I work with it every day and the the documentation is not the best, but for 95% of pure php projects it’s the Right answer. There maybe other right answers, but propel is definitely one of them.
If you iterate the database as you go, simply create the classes and there you go. I m amazed how good it works.
I m a single developer, so your results may vary, but for small to medium projects it works fine. And most of all projects are small to medium.