Annotations in PHP

A presentation at Cape Town PHP in October 2013 in Cape Town, South Africa by Christopher Pitt

Slide 1

Slide 1

/**

  • @annotations */ Monday 28 October 13

Slide 2

Slide 2

/**

  • @disclaimers */ Monday 28 October 13

Slide 3

Slide 3

annotations are an acquired taste Monday 28 October 13

Slide 4

Slide 4

i am a laravel 4 fanboy ( http://bit.ly/php-laravel-4 ) Monday 28 October 13

Slide 5

Slide 5

/**

  • @definition */ Monday 28 October 13

Slide 6

Slide 6

Monday 28 October 13

Slide 7

Slide 7

configuration close to configurable thing Monday 28 October 13

Slide 8

Slide 8

/**

  • @implementation */ Monday 28 October 13

Slide 9

Slide 9

Monday 28 October 13

Slide 10

Slide 10

Monday 28 October 13

Slide 11

Slide 11

/**

  • @code */ Monday 28 October 13

Slide 12

Slide 12

Monday 28 October 13

Slide 13

Slide 13

Monday 28 October 13

Slide 14

Slide 14

Monday 28 October 13

Slide 15

Slide 15

Monday 28 October 13

Slide 16

Slide 16

Monday 28 October 13

Slide 17

Slide 17

Monday 28 October 13

Slide 18

Slide 18

Monday 28 October 13

Slide 19

Slide 19

/**

  • @purpose */ Monday 28 October 13

Slide 20

Slide 20

Monday 28 October 13

Slide 21

Slide 21

Monday 28 October 13

Slide 22

Slide 22

Monday 28 October 13

Slide 23

Slide 23

Monday 28 October 13

Slide 24

Slide 24

/**

  • @benefits */ Monday 28 October 13

Slide 25

Slide 25

comprehensive documentation* Monday 28 October 13

Slide 26

Slide 26

configuration + contextualization where it matters Monday 28 October 13

Slide 27

Slide 27

massive untapped potential Monday 28 October 13

Slide 28

Slide 28

/**

  • @costs */ Monday 28 October 13

Slide 29

Slide 29

near-code documentation is a laborious Monday 28 October 13

Slide 30

Slide 30

no standards ( http://bit.ly/php-psr-5 ) Monday 28 October 13

Slide 31

Slide 31

wayne doesn’t dig it Monday 28 October 13

Slide 32

Slide 32

/**

  • @use configuration */ Monday 28 October 13

Slide 33

Slide 33

Monday 28 October 13

Slide 34

Slide 34

Monday 28 October 13

Slide 35

Slide 35

Monday 28 October 13

Slide 36

Slide 36

Monday 28 October 13

Slide 37

Slide 37

Monday 28 October 13

Slide 38

Slide 38

Monday 28 October 13

Slide 39

Slide 39

Monday 28 October 13

Slide 40

Slide 40

Monday 28 October 13

Slide 41

Slide 41

Monday 28 October 13

Slide 42

Slide 42

Monday 28 October 13

Slide 43

Slide 43

Monday 28 October 13

Slide 44

Slide 44

Monday 28 October 13

Slide 45

Slide 45

/**

  • @use generation */ Monday 28 October 13

Slide 46

Slide 46

Monday 28 October 13

Slide 47

Slide 47

Monday 28 October 13

Slide 48

Slide 48

Monday 28 October 13

Slide 49

Slide 49

/**

  • @use utility */ Monday 28 October 13

Slide 50

Slide 50

Monday 28 October 13

Slide 51

Slide 51

Monday 28 October 13

Slide 52

Slide 52

Monday 28 October 13

Slide 53

Slide 53

/**

  • @twitter followchrisp
  • @email
    cgpitt@gmail.com
  • @thanks */ Monday 28 October 13