PHP ORMs: Doctrine vs. Propel

前端 未结 10 2187
日久生厌
日久生厌 2020-12-02 05:57

I\'m starting a new project with symfony which is readily integrated with Doctrine and Propel, but I of course need to make a choice.... I was wondering if more experienced

10条回答
  •  天涯浪人
    2020-12-02 06:31

    If I'm not wrong, both ORMs use XML-based schema, and creating these schema definition is pretty cumbersome. If you need a PHP-based simple schema with fluent style. You may try LazyRecord https://github.com/c9s/LazyRecord it supports automatic migration and upgrade/downgrade script generators. And all the class files are generated statically without runtime cost.

提交回复
热议问题