All video tutorials
- Data retrieval
- Data storage
- Model definition (M from MVC)
Doctrine 2 versus NotORM
Part 1: Data retrieval
These tutorials show the same demo application created in Doctrine 2 and in NotORM. You can play one whole video and then the other or you can switch playing both videos (watch for checkpoints).
Doctrine 2 video tutorial
Download source codes (versioned in Git)
NotORM video tutorial
Download source codes (versioned in Git)
Tools used to create videos
Doctrine 2 WTFs
- Depends on Symfony (only the
doctrine.php
script)
- Requires specifying proxy even if not used
- Typo in annotation causes no error
- First character is missing in M:N table and column names
- New column is added at the end of the table
- One query for each loop iteration (can be solved by Paginate extension)
- Must use DQL for order and limit
- No LIMIT clause in DQL
- One piece of data is transferred repetitively with DQL joins
- No way to specify another column in M:N relation
Doctrine Lead Developer response
Author: Jakub Vrána. It is allowed to re-publish only both videos together.