Doctrine 2.0

4,224 views
4,145 views

Published on

Published in: Technology
0 Comments
8 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
4,224
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
119
Comments
0
Likes
8
Embeds 0
No embeds

No notes for slide

Doctrine 2.0

  1. 1. Juozas Kaziukėnas www.juokaz.com / juozas@juokaz.com / @juokaz
  2. 2.  Juozas Kaziukėnas, Lithuanian  You can call me Joe  2 years in Edinburgh, UK  Studying in University of Edinburgh  Software developer, consultant and evangelist  Open source developer for Zend Framework, Doctrine…  More info in www.juokaz.com and twitter @juokaz
  3. 3.  Doctrine users?  Propel users? (you will be converted!)  Interested in DB’s and PHP?  Interested in PHP news?
  4. 4. Inspired by Hibernate, ActiveRecord etc.
  5. 5.  Slow  High memory usage (cyclic references)  Magic! (eg. Behaviors)  Hard to execute raw SQL  Still the best ORM for PHP available today
  6. 6. Root of all problems!
  7. 7.  Stable  Works  Makes development fast, clean and consistent  Used in production
  8. 8.  Rewritten from scratch (almost)  PHP 5.3  Decoupled components  Simplified API ◦ “Complexified” internals?..  Performance ◦ New hydartion ◦ Less magic ◦ Overall cleanup
  9. 9.  Caching  Events  Annotations  Class loaders  … more
  10. 10.  Can be used without ORM  Abstraction for MySQL, PgSQL, Oracle, Microsoft SQL, DB2 etc.  PHP types mapping to DB types  Extendable  … more
  11. 11.  Actual ORM component  Uses Common and DBAL  No more ActiveRecord  Entities ◦ Metadata mapping  Entity manager  Query language ◦ Faster, cleaner, clever, extendable ◦ No forcing
  12. 12. MongoDB, CauchDB
  13. 13.  Abstracts NoSQL databases  Similar Metadata configuration  A lot of functionality from ORM also available in ODM ◦ Querying ◦ EntityManager -> DocumentManager
  14. 14.  Doctrine 2 will be released soon  Most of the functionality is there  Used in production  “The library” for PHP 5.3  Symfony, Zend Framework etc.
  15. 15.  Juozas Kaziukėnas  www.juokaz.com  juozas@juokaz.com  twitter: @juokaz * Illustrations from http://images.google.com

×