Upgrade to Pro — share decks privately, control downloads, hide ads and more …

WebApp development with Doctrine

WebApp development with Doctrine

WebApp development with Doctrine

Avatar for Radosław Zagórski

Radosław Zagórski

April 26, 2018

More Decks by Radosław Zagórski

Other Decks in Programming

Transcript

  1. Doctrine Project • Common • Annotations • Cache • Collections

    • Lexer • Migrations • MongoDB Abstraction Layer • MongoDB Object Document Mapper • PHPCR ODM • Inflector • Object Relational Mapper • Database Abstraction Layer (DBAL)
  2. What is Doctrine ORM for? • OLTP - Online Transaction

    Processing • DDD • Fast prototyping • Object Oriented at first
  3. Avoid auto-generated identifiers your db operations will block each other

    you are denying bulk inserts you cannot make multi-request transactions your object is invalid until saved your object does not work without the DB
  4. Immutable data is simple Immutable data is cacheable (forever) Immutable

    data is predictable Immutable data enables historical analysis