Doctrine ORM Good Practices and Tricks - Marco "Ocramius" Pivetta @ PHP Antwerp

Поделиться
HTML-код
  • Опубликовано: 22 дек 2024

Комментарии • 4

  • @anonymouse740
    @anonymouse740 8 лет назад +1

    Wow mind blown... But I did follow some of Marco's previous tutorials/snippets that lead me to some of these bad practices actually. Always glad to learn why I'm doing things wrong though.

  • @SeyferX
    @SeyferX 9 лет назад +1

    Cool, I have saw this slides already, but with comments they are even better.

  • @matheusdallrosa4698
    @matheusdallrosa4698 5 лет назад

    Even if you have validated your entity in memory, even if the entity is following every advice that he said we can't be sure that our Entity is 100% valid until we talk to our database. Supose an entity A instance has a reference to an entity B instance, while we are using it in memory, another request can just delete entity B instance on the database and then when we try to save A we got an exception. Nice talk btw.