Slide 1

Slide 1 text

Propel2

Slide 2

Slide 2 text

Propel Geocoder Symfony2

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

Propel2

Slide 5

Slide 5 text

+ Propel 1.6

Slide 6

Slide 6 text

Propel 1.6

Slide 7

Slide 7 text

No content

Slide 8

Slide 8 text

ActiveRecord?

Slide 9

Slide 9 text

NO!

Slide 10

Slide 10 text

Data Table Gateway + Data Row Gateway

Slide 11

Slide 11 text

between table operation objects, and row instances. Clean division

Slide 12

Slide 12 text

ActiveRecord setFirstname('Andrew'); $author->setLastname('Hunt'); $book = new Book(); $book->setTitle('The Pragmatic Programmer'); $book->setAuthors(array($author)); $book->save();

Slide 13

Slide 13 text

ActiveQuery (1/2) filterByTitle('The Pragmatic%') ->find(); SELECT * FROM book WHERE title LIKE 'The Pragmatic%'

Slide 14

Slide 14 text

ActiveQuery (2/2) _if(preg_match('/^[A-Z]{2}$/', $location)) ->filterByCanton($location) ->_else() ->filterByCity($location) ->_endif() ->find(); Smart API for conditions

Slide 15

Slide 15 text

ActiveQuery (2/2) _if(preg_match('/^[A-Z]{2}$/', $location)) ->filterByCanton($location) ->_else() ->filterByCity($location) ->_endif() ->find(); Smart API for conditions

Slide 16

Slide 16 text

ActiveQuery (2/2) _if(preg_match('/^[A-Z]{2}$/', $location)) ->filterByCanton($location) ->_else() ->filterByCity($location) ->_endif() ->find(); Smart API for conditions

Slide 17

Slide 17 text

ActiveQuery (2/2) _if(preg_match('/^[A-Z]{2}$/', $location)) ->filterByCanton($location) ->_else() ->filterByCity($location) ->_endif() ->find(); Smart API for conditions

Slide 18

Slide 18 text

Code generation

Slide 19

Slide 19 text

Behaviors

Slide 20

Slide 20 text

Aggregate Column

Slide 21

Slide 21 text

Aggregate Column Archivable

Slide 22

Slide 22 text

Aggregate Column Archivable Delegate

Slide 23

Slide 23 text

Aggregate Column Archivable Delegate i18n

Slide 24

Slide 24 text

Aggregate Column Archivable Delegate i18n Nested Set

Slide 25

Slide 25 text

Aggregate Column Archivable Delegate i18n Nested Set Sluggable

Slide 26

Slide 26 text

Aggregate Column Archivable Delegate i18n Nested Set Sluggable Soft Delete

Slide 27

Slide 27 text

Aggregate Column Archivable Delegate i18n Nested Set Sluggable Soft Delete Timestampable

Slide 28

Slide 28 text

Aggregate Column Archivable Delegate i18n Nested Set Sluggable Soft Delete Timestampable Sortable

Slide 29

Slide 29 text

Aggregate Column Archivable Delegate i18n Nested Set Sluggable Soft Delete Timestampable Sortable Versionable

Slide 30

Slide 30 text

Aggregate Column Archivable Delegate i18n Nested Set Sluggable Soft Delete Timestampable Sortable Versionable Array Access Auditable Auto Add PK Extra Properties Geocodable Publishable Query Cache State Machine ...

Slide 31

Slide 31 text

Anything else?

Slide 32

Slide 32 text

Blazing Fast ! Fast

Slide 33

Slide 33 text

If your ORM provides a caching layer, you should probably reconsider it!

Slide 34

Slide 34 text

No content

Slide 35

Slide 35 text

PHP 5.3

Slide 36

Slide 36 text

Coding Standards

Slide 37

Slide 37 text

No content

Slide 38

Slide 38 text

Namespaces

Slide 39

Slide 39 text

PSR-0

Slide 40

Slide 40 text

Symfony2 Components Console Filesystem Finder Validator Yaml

Slide 41

Slide 41 text

No content

Slide 42

Slide 42 text

No content

Slide 43

Slide 43 text

Monolog

Slide 44

Slide 44 text

pushHandler( new StreamHandler( '/var/log/propel.log', Logger::WARNING ) ); Propel::getServiceContainer()->setLogger( 'defaultLogger', $defaultLogger );

Slide 45

Slide 45 text

Service Container

Slide 46

Slide 46 text

setAdapterClass( 'bookstore', 'mysql' ); $manager = new ConnectionManagerSingle(); $manager->setConfiguration(array ( 'dsn' => 'mysql:host=localhost;dbname=my_db', 'user' => 'my_db_user', 'password' => 's3cr3t', )); $serviceContainer->setConnectionManager( 'bookstore', $manager );

Slide 47

Slide 47 text

New Adapters

Slide 48

Slide 48 text

Traits support

Slide 49

Slide 49 text

What’s next?

Slide 50

Slide 50 text

Twig?

Slide 51

Slide 51 text

Documentation

Slide 52

Slide 52 text

Alpha release soon

Slide 53

Slide 53 text

One more thing

Slide 54

Slide 54 text

Thanks to all contributors

Slide 55

Slide 55 text

Thank you! http://github.com/propelorm/Propel2 @couac