Doctrine2 In 10 Minutes
Upcoming SlideShare
Loading in...5
×
 

Doctrine2 In 10 Minutes

on

  • 8,072 views

 

Statistics

Views

Total Views
8,072
Views on SlideShare
8,046
Embed Views
26

Actions

Likes
7
Downloads
101
Comments
0

5 Embeds 26

http://coderwall.com 10
http://www.sfexception.com 9
http://www.linkedin.com 4
http://dev.symfony2developer.com 2
https://www.linkedin.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Doctrine2 In 10 Minutes Doctrine2 In 10 Minutes Presentation Transcript

    • Iostudio Developer Lunch Doctrine2 in 10 Minutes Sep 8th, 2010 Ryan Weaver @weaverryan www.iostudio.com
    • Iostudio Developer Lunch What is Doctrine2? Doctrine2 consists of two distinct libraries: 1) DBAL (Database Abstraction Layer) 2) ORM (Object Relational Mapper) You can use just the DBAL or both the DBAL & ORM
    • Iostudio Developer Lunch Database Abstraction Layer (DBAL) “A lightweight runtime layer around a PDO-like API with a lot of additional, horizontal features like database schema introspection and manipulation through an OO API.” Like PDO, but driver independent and with more extra features
    • Iostudio Developer Lunch Executing Queries
    • Iostudio Developer Lunch Schema Information
    • Iostudio Developer Lunch Altering schemas
    • Iostudio Developer Lunch Object Relational Mapper (ORM) ● Takes a normal PHP object and persists its properties as a row in a table ● Takes a row in a table and maps the values to the properties of an object
    • Iostudio Developer Lunch Start with a normal PHP Object
    • Iostudio Developer Lunch Tell Doctrine how to persist via annotations
    • Iostudio Developer Lunch Persist the object
    • Iostudio Developer Lunch Retrieve the object
    • Iostudio Developer Lunch Questions? Ryan Weaver @weaverryan www.iostudio.com