• Email
  • Like
  • Save
  • Private Content
  • Embed
 

Doctrine 2: Enterprise Persistence Layer for PHP

by

  • 20,117 views

Doctrine 2 is an object relational mapper (ORM) for PHP 5.3+ that sits on top of a powerful database abstraction layer (DBAL). One of its key features is the option to write database queries in a ...

Doctrine 2 is an object relational mapper (ORM) for PHP 5.3+ that sits on top of a powerful database abstraction layer (DBAL). One of its key features is the option to write database queries in a proprietary object oriented SQL dialect called Doctrine Query Language (DQL), inspired by Hibernates HQL. This provides developers with a powerful alternative to SQL that maintains flexibility without requiring unnecessary code duplication.

Accessibility

Categories

Upload Details

Uploaded via SlideShare as Adobe PDF

Usage Rights

© All Rights Reserved

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel

15 Embeds 4,302

http://zend.bolsadeideas.com 1888
http://zend.bolsadeideas.cl 1327
http://bolsadeideas.cl 714
http://www.slideshare.net 191
http://www.jwage.com 73
http://www.techgig.com 46
http://www.odino.org 15
http://coderwall.com 10
http://www.sfexception.com 9
http://feeds.feedburner.com 8
http://jujo00obo2o234ungd3t8qjfcjrs3o6k-a-sites-opensocial.googleusercontent.com 8
http://jwage.com 5
http://translate.googleusercontent.com 4
http://10.150.200.57 3
http://health.medicbd.com 1

More...

Statistics

Likes
35
Downloads
397
Comments
3
Embed Views
4,302
Views on SlideShare
15,815
Total Views
20,117

13 of 3 previous next Post a comment

  • prayagupd Prayag Upd, Web and Mobile Core Programmer at Zazzercode Inc nice slide 1 year ago
    Are you sure you want to
  • guilhermeblanco Guilherme Blanco, Team Leader at InstaClick Inc. @Pete The slide 31 was simplified. Mutators and accessors are hand-written, so you need to create your own. 3 years ago
    Are you sure you want to
  • guestfa6da42 Pete Hatton Very impressed with the work on Doctrine 1, and Doctrine 2 looks very good.

    Now I'm little puzzled with one thing. On slide 31 you have your User class, and then on slide 35 you create an instance of the User class and then call the setUsername method.

    Now what totally gets me, is how that could work. The user class isn't extended and there is no PHP magic methods to handle a call to setUsername.

    Am I missing something here, or is there some very clever coding in Doctrine 2.0 to handle the setUsername?
    3 years ago
    Are you sure you want to
Post Comment
Edit your comment

Doctrine 2: Enterprise Persistence Layer for PHP Doctrine 2: Enterprise Persistence Layer for PHP Presentation Transcript